net-misc/spice-gtk: add libressl support, bug #580670
authorMatthias Maier <tamiko@gentoo.org>
Sun, 1 May 2016 19:54:18 +0000 (14:54 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sun, 1 May 2016 20:09:05 +0000 (15:09 -0500)
Package-Manager: portage-2.2.26

net-misc/spice-gtk/spice-gtk-0.31.ebuild

index 1a34129ec7010ed1aae03175435f5ea92fa1cb38..5ace07be0fb280ec7c7008f1c55bcd1c6aea42ba 100644 (file)
@@ -19,7 +19,7 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="dbus gstreamer gtk3 +introspection lz4 policykit pulseaudio python sasl smartcard static-libs usbredir vala webdav"
+IUSE="dbus gstreamer gtk3 +introspection lz4 policykit pulseaudio python sasl smartcard static-libs usbredir vala webdav libressl"
 
 REQUIRED_USE="
        ${PYTHON_REQUIRED_USE}
@@ -31,6 +31,8 @@ REQUIRED_USE="
 # * use external pnp.ids as soon as that means not pulling in gnome-desktop
 RDEPEND="
        ${PYTHON_DEPS}
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        pulseaudio? ( media-sound/pulseaudio[glib] )
        gstreamer? (
                media-libs/gstreamer:1.0
@@ -39,7 +41,6 @@ RDEPEND="
        >=x11-libs/pixman-0.17.7
        >=media-libs/celt-0.5.1.1:0.5.1
        media-libs/opus
-       dev-libs/openssl:0=
        gtk3? ( x11-libs/gtk+:3[introspection?] )
        x11-libs/gtk+:2[introspection?]
        >=dev-libs/glib-2.28:2