summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-02-20 22:30:39 +0000
committerMike Gilbert <floppym@gentoo.org>2012-02-20 22:30:39 +0000
commitd5e33dcdd7abea1607f3110a93929a0cdb91e730 (patch)
treef75be04651ca7e15058f954a813d239bbb742337 /net-misc/remmina/remmina-1.0.0-r1.ebuild
parentVersion bump (#363225) (diff)
downloadhistorical-d5e33dcdd7abea1607f3110a93929a0cdb91e730.tar.gz
historical-d5e33dcdd7abea1607f3110a93929a0cdb91e730.tar.bz2
historical-d5e33dcdd7abea1607f3110a93929a0cdb91e730.zip
Add gtk3 use flag, bug 404579. Live ebuild is currently broken with USE=-gtk3.
Package-Manager: portage-2.2.0_alpha87/cvs/Linux x86_64
Diffstat (limited to 'net-misc/remmina/remmina-1.0.0-r1.ebuild')
-rw-r--r--net-misc/remmina/remmina-1.0.0-r1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/remmina/remmina-1.0.0-r1.ebuild b/net-misc/remmina/remmina-1.0.0-r1.ebuild
index 49cdbeca9220..265507ae6ff9 100644
--- a/net-misc/remmina/remmina-1.0.0-r1.ebuild
+++ b/net-misc/remmina/remmina-1.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/remmina/remmina-1.0.0-r1.ebuild,v 1.3 2012/02/20 20:45:32 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/remmina/remmina-1.0.0-r1.ebuild,v 1.4 2012/02/20 22:30:39 floppym Exp $
EAPI="4"
@@ -13,16 +13,18 @@ SRC_URI="https://github.com/downloads/FreeRDP/Remmina/Remmina-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="ayatana avahi crypt debug freerdp gnome-keyring nls ssh telepathy vte"
+IUSE="ayatana avahi crypt debug freerdp gnome-keyring +gtk3 nls ssh telepathy vte"
# net-libs/libvncserver is bundled; add dep for next release
-RDEPEND="x11-libs/gtk+:3
+RDEPEND="
x11-libs/libxkbfile
gnome-keyring? ( gnome-base/libgnome-keyring )
ayatana? ( dev-libs/libappindicator )
avahi? ( net-dns/avahi[gtk3] )
crypt? ( dev-libs/libgcrypt )
freerdp? ( >=net-misc/freerdp-1.0 )
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( x11-libs/gtk+:2 )
ssh? ( net-libs/libssh[sftp] )
telepathy? ( net-libs/telepathy-glib )
!net-misc/remmina-plugins
@@ -56,6 +58,7 @@ src_configure() {
$(cmake-utils_use_with ssh LIBSSH)
$(cmake-utils_use_with telepathy TELEPATHY)
$(cmake-utils_use_with vte VTE)
+ -DGTK_VERSION=$(use gtk3 && echo 3 || echo 2)
-DHAVE_PTHREAD=ON
)
cmake-utils_src_configure