summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-04-25 16:03:00 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-04-25 16:03:00 +0200
commit5d37597b1933b1b2461aa5e65aa44ac36e9cb309 (patch)
tree08f39f441b6558dd89be544a2d1689926e915124 /dev-ada/gnatcoll
parentgnustep-libs/dbuskit: drop old (diff)
downloadgentoo-5d37597b1933b1b2461aa5e65aa44ac36e9cb309.tar.gz
gentoo-5d37597b1933b1b2461aa5e65aa44ac36e9cb309.tar.bz2
gentoo-5d37597b1933b1b2461aa5e65aa44ac36e9cb309.zip
dev-ada/gnatcoll: add pygobject use flags
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ada/gnatcoll')
-rw-r--r--dev-ada/gnatcoll/gnatcoll-2016.ebuild9
-rw-r--r--dev-ada/gnatcoll/metadata.xml1
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-ada/gnatcoll/gnatcoll-2016.ebuild b/dev-ada/gnatcoll/gnatcoll-2016.ebuild
index 7f00456dddf3..b56e6f61af97 100644
--- a/dev-ada/gnatcoll/gnatcoll-2016.ebuild
+++ b/dev-ada/gnatcoll/gnatcoll-2016.ebuild
@@ -15,7 +15,8 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5739942ac7a447658d00e1e7
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gmp gtk iconv postgresql projects readline +shared sqlite static syslog"
+IUSE="gmp gtk iconv postgresql pygobject projects readline +shared sqlite
+ static syslog"
RDEPEND="dev-lang/gnat-gpl
${PYTHON_DEPS}
@@ -29,6 +30,7 @@ RDEPEND="dev-lang/gnat-gpl
x11-libs/gtk+:3
x11-libs/pango
)
+ pygobject? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )
postgresql? ( dev-db/postgresql:* )
sqlite? ( dev-db/sqlite )
projects? (
@@ -37,7 +39,8 @@ RDEPEND="dev-lang/gnat-gpl
DEPEND="${RDEPEND}
dev-ada/gprbuild"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ pygobject? ( gtk )"
S="${WORKDIR}"/${MYP}-src
@@ -81,13 +84,13 @@ src_configure() {
$(use_with iconv) \
$(use_with postgresql) \
$(use_enable projects) \
+ $(use_enable pygobject) \
$(use_enable readline gpl) \
$(use_enable readline) \
$(use_enable syslog) \
--with-python-exec=${EPYTHON} \
--enable-shared-python \
--disable-pygtk \
- --disable-pygobject \
$myConf
}
diff --git a/dev-ada/gnatcoll/metadata.xml b/dev-ada/gnatcoll/metadata.xml
index cb6433d4e9a8..48cd9149b35f 100644
--- a/dev-ada/gnatcoll/metadata.xml
+++ b/dev-ada/gnatcoll/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="postgresql">Adds support for postgresql</flag>
<flag name="projects">Adds support for projects</flag>
+ <flag name="pygobject">Adds support for pygobject</flag>
<flag name="shared">Build shared library</flag>
<flag name="static">Build static library</flag>
</use>