summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-02-03 08:03:07 +0100
committerHans de Graaff <graaff@gentoo.org>2019-02-03 11:03:48 +0100
commit0e131ed5dccd5a31b4fea82c3046eaa522667b50 (patch)
treeb225078354d37dd25240afa6f9e6c3f822656b3e /sci-geosciences/viking
parentdev-ruby/color: add ruby26 (diff)
downloadgentoo-0e131ed5dccd5a31b4fea82c3046eaa522667b50.tar.gz
gentoo-0e131ed5dccd5a31b4fea82c3046eaa522667b50.tar.bz2
gentoo-0e131ed5dccd5a31b4fea82c3046eaa522667b50.zip
sci-geosciences/viking: make oauth support optional
Add USE flag for oauth support based on patch by Ed Santiago. Fixes: https://bugs.gentoo.org/676106 Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sci-geosciences/viking')
-rw-r--r--sci-geosciences/viking/metadata.xml3
-rw-r--r--sci-geosciences/viking/viking-1.7.ebuild5
2 files changed, 6 insertions, 2 deletions
diff --git a/sci-geosciences/viking/metadata.xml b/sci-geosciences/viking/metadata.xml
index f615f39e5231..b43ae0fa4280 100644
--- a/sci-geosciences/viking/metadata.xml
+++ b/sci-geosciences/viking/metadata.xml
@@ -21,6 +21,9 @@
<flag name="mapnik">
Enable a layer based on <pkg>sci-geosciences/mapnik</pkg>
</flag>
+ <flag name="oauth">
+ Enable OAuth authentication for OSM
+ </flag>
<flag name="sqlite">
Enable MBTiles support based on <pkg>dev-db/sqlite</pkg>
</flag>
diff --git a/sci-geosciences/viking/viking-1.7.ebuild b/sci-geosciences/viking/viking-1.7.ebuild
index 793d81149985..2669e50c3bae 100644
--- a/sci-geosciences/viking/viking-1.7.ebuild
+++ b/sci-geosciences/viking/viking-1.7.ebuild
@@ -7,7 +7,7 @@ inherit gnome2-utils
DESCRIPTION="GPS data editor and analyzer"
HOMEPAGE="https://sourceforge.net/projects/viking/"
-IUSE="doc +exif libexif geoclue gps +magic mapnik nls sqlite"
+IUSE="doc +exif libexif geoclue gps +magic mapnik nls oauth sqlite"
SRC_URI="
mirror://sourceforge/${PN}/${P}.tar.bz2
doc? ( mirror://sourceforge/${PN}/${PN}.pdf )"
@@ -22,7 +22,6 @@ COMMONDEPEND="
dev-libs/expat
dev-libs/glib:2
dev-libs/nettle
- net-libs/liboauth
net-misc/curl
sys-libs/zlib
x11-libs/gdk-pixbuf:2
@@ -32,6 +31,7 @@ COMMONDEPEND="
exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) )
magic? ( sys-apps/file )
mapnik? ( sci-geosciences/mapnik )
+ oauth? ( net-libs/liboauth )
sqlite? ( dev-db/sqlite:3 )
"
RDEPEND="${COMMONDEPEND}
@@ -68,6 +68,7 @@ src_configure() {
$(use_enable magic) \
$(use_enable mapnik) \
$(use_enable nls) \
+ $(use_enable oauth) \
$(use_enable sqlite mbtiles )
}