summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-09 12:31:18 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-09 12:34:33 +0200
commitb310e7a994fc92a66c99604d4b2ee641fa0054ed (patch)
treea15fca6a0af45fbd7f9c86505791d1dc6cc08a9f /media-libs/libkate/libkate-0.4.1-r4.ebuild
parentsci-biology/seqan: Eradicate doc (python2) (diff)
downloadgentoo-b310e7a994fc92a66c99604d4b2ee641fa0054ed.tar.gz
gentoo-b310e7a994fc92a66c99604d4b2ee641fa0054ed.tar.bz2
gentoo-b310e7a994fc92a66c99604d4b2ee641fa0054ed.zip
media-libs/libkate: Eradicate wxwidgets (python2)
Closes: https://bugs.gentoo.org/735386 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/libkate/libkate-0.4.1-r4.ebuild')
-rw-r--r--media-libs/libkate/libkate-0.4.1-r4.ebuild25
1 files changed, 5 insertions, 20 deletions
diff --git a/media-libs/libkate/libkate-0.4.1-r4.ebuild b/media-libs/libkate/libkate-0.4.1-r4.ebuild
index 21c8c8a455aa..18704d8cba5d 100644
--- a/media-libs/libkate/libkate-0.4.1-r4.ebuild
+++ b/media-libs/libkate/libkate-0.4.1-r4.ebuild
@@ -3,8 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 )
-inherit multilib-minimal python-single-r1
+inherit multilib-minimal
DESCRIPTION="Codec for karaoke and text encapsulation for Ogg"
HOMEPAGE="https://code.google.com/p/libkate/"
@@ -14,31 +13,18 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~sparc x86"
-IUSE="debug doc wxwidgets"
-REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )"
+IUSE="debug doc"
-COMMON_DEPEND="
+RDEPEND="
media-libs/libogg:=[${MULTILIB_USEDEP}]
media-libs/libpng:0=[${MULTILIB_USEDEP}]
"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/flex[${MULTILIB_USEDEP}]
sys-devel/bison
doc? ( app-doc/doxygen )
"
-RDEPEND="${COMMON_DEPEND}
- wxwidgets? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}]
- ')
- media-libs/liboggz )
-"
-
-pkg_setup() {
- use wxwidgets && python-single-r1_pkg_setup
-}
multilib_src_configure() {
local ECONF_SOURCE=${S}
@@ -46,11 +32,10 @@ multilib_src_configure() {
--disable-static \
$(use_enable debug) \
$(multilib_native_use_enable doc) \
- $(multilib_native_usex wxwidgets '' 'PYTHON=:')
+ PYTHON=:
}
multilib_src_install_all() {
einstalldocs
find "${D}" -name '*.la' -delete || die
- use wxwidgets && python_fix_shebang "${D}"
}