diff options
author | David Seifert <soap@gentoo.org> | 2017-04-23 11:57:30 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-04-23 13:25:50 +0200 |
commit | 10a4bd724617574143626881173f56b26e16c919 (patch) | |
tree | a8a20cf6e43cee2ad9efdef69af564c3a34250c1 /media-gfx/zbar | |
parent | media-gfx/hugin: [QA] Add missing python metadata variables (diff) | |
download | gentoo-10a4bd724617574143626881173f56b26e16c919.tar.gz gentoo-10a4bd724617574143626881173f56b26e16c919.tar.bz2 gentoo-10a4bd724617574143626881173f56b26e16c919.zip |
media-gfx/zbar: [QA] Add missing python metadata variables
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-gfx/zbar')
-rw-r--r-- | media-gfx/zbar/zbar-0.10-r6.ebuild | 15 | ||||
-rw-r--r-- | media-gfx/zbar/zbar-0.10_p20121015-r1.ebuild | 17 |
2 files changed, 19 insertions, 13 deletions
diff --git a/media-gfx/zbar/zbar-0.10-r6.ebuild b/media-gfx/zbar/zbar-0.10-r6.ebuild index 8752a8a27556..618e4f0f1ffe 100644 --- a/media-gfx/zbar/zbar-0.10-r6.ebuild +++ b/media-gfx/zbar/zbar-0.10-r6.ebuild @@ -15,21 +15,24 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm x86" IUSE="gtk imagemagick jpeg python qt4 static-libs +threads v4l X xv" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 ) imagemagick? ( virtual/imagemagick-tools ) jpeg? ( virtual/jpeg:0 ) - python? ( ${PYTHON_DEPS} - gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] ) ) + python? ( + ${PYTHON_DEPS} + gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] ) + ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) - X? ( x11-libs/libXext - xv? ( x11-libs/libXv ) )" + X? ( + x11-libs/libXext + xv? ( x11-libs/libXv ) + )" DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - pkg_setup() { use python && python-single-r1_pkg_setup } diff --git a/media-gfx/zbar/zbar-0.10_p20121015-r1.ebuild b/media-gfx/zbar/zbar-0.10_p20121015-r1.ebuild index 9c78c9436dfe..0a3f63b7e470 100644 --- a/media-gfx/zbar/zbar-0.10_p20121015-r1.ebuild +++ b/media-gfx/zbar/zbar-0.10_p20121015-r1.ebuild @@ -15,24 +15,27 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="gtk imagemagick java jpeg python qt4 static-libs +threads v4l X xv" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" CDEPEND="gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 ) imagemagick? ( virtual/imagemagick-tools ) jpeg? ( virtual/jpeg:0 ) - python? ( ${PYTHON_DEPS} - gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] ) ) + python? ( + ${PYTHON_DEPS} + gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] ) + ) qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) - X? ( x11-libs/libXext - xv? ( x11-libs/libXv ) )" + X? ( + x11-libs/libXext + xv? ( x11-libs/libXv ) + )" REPEND="${CDEPEND} - java? ( >=virtual/jre-1.4 ) " + java? ( >=virtual/jre-1.4 )" DEPEND="${CDEPEND} java? ( >=virtual/jdk-1.4 ) sys-devel/gettext virtual/pkgconfig" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - pkg_setup() { use python && python-single-r1_pkg_setup java-pkg-opt-2_pkg_setup |