net-misc/remmina: properly handle new optional cups dep
authorBen Kohler <bkohler@gentoo.org>
Wed, 1 Jan 2020 17:28:28 +0000 (11:28 -0600)
committerBen Kohler <bkohler@gentoo.org>
Wed, 1 Jan 2020 17:29:30 +0000 (11:29 -0600)
Closes: https://bugs.gentoo.org/704484
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
net-misc/remmina/remmina-1.3.9-r1.ebuild [moved from net-misc/remmina/remmina-1.3.9.ebuild with 90% similarity]

similarity index 90%
rename from net-misc/remmina/remmina-1.3.9.ebuild
rename to net-misc/remmina/remmina-1.3.9-r1.ebuild
index cb5f77b485e3fe29d0f1ce1e91e0f75834d2cc49..42a9e58cb1c6ce11c17fdaa9761f3b8ccb9f22ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ SRC_URI="https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/${MY_P}.tar.gz"
 LICENSE="GPL-2+-with-openssl-exception"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="ayatana crypt examples gnome-keyring kwallet libressl nls spice ssh rdp telepathy vnc webkit zeroconf"
+IUSE="ayatana crypt cups examples gnome-keyring kwallet libressl nls spice ssh rdp telepathy vnc webkit zeroconf"
 
 CDEPEND="
        dev-libs/glib:2
@@ -27,7 +27,8 @@ CDEPEND="
        x11-libs/libxkbfile
        ayatana? ( dev-libs/libappindicator:3 )
        crypt? ( dev-libs/libgcrypt:0= )
-       rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129 )
+       rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129
+               cups? ( net-print/cups:= ) )
        gnome-keyring? ( app-crypt/libsecret )
        kwallet? ( kde-frameworks/kwallet )
        !libressl? ( dev-libs/openssl:0= )
@@ -63,6 +64,7 @@ src_configure() {
                -DWITH_GETTEXT=$(usex nls)
                -DWITH_TRANSLATIONS=$(usex nls)
                -DWITH_FREERDP=$(usex rdp)
+               -DWITH_CUPS=$(usex cups)
                -DWITH_SPICE=$(usex spice)
                -DWITH_LIBSSH=$(usex ssh)
                -DWITH_VTE=$(usex ssh)