summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-09 07:13:07 +0200
committerMichał Górny <mgorny@gentoo.org>2017-08-11 15:20:36 +0200
commit4aa7924438c00522755826b8ebe9292b9d7be27d (patch)
tree867b020076624306be4f0c14e2938da0f27ba60e /media-libs/libkate
parentmedia-libs/libkate: Kill .la files unconditionally (diff)
downloadgentoo-4aa7924438c00522755826b8ebe9292b9d7be27d.tar.gz
gentoo-4aa7924438c00522755826b8ebe9292b9d7be27d.tar.bz2
gentoo-4aa7924438c00522755826b8ebe9292b9d7be27d.zip
media-libs/libkate: Enable multilib build
Diffstat (limited to 'media-libs/libkate')
-rw-r--r--media-libs/libkate/libkate-0.4.1-r3.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/media-libs/libkate/libkate-0.4.1-r3.ebuild b/media-libs/libkate/libkate-0.4.1-r3.ebuild
index b9892bb4c9f4..a2653bad4c34 100644
--- a/media-libs/libkate/libkate-0.4.1-r3.ebuild
+++ b/media-libs/libkate/libkate-0.4.1-r3.ebuild
@@ -4,7 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit python-single-r1
+inherit multilib-minimal python-single-r1
DESCRIPTION="Codec for karaoke and text encapsulation for Ogg"
HOMEPAGE="https://code.google.com/p/libkate/"
@@ -18,12 +18,12 @@ IUSE="debug doc wxwidgets"
REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )"
COMMON_DEPEND="
- media-libs/libogg:=
- media-libs/libpng:0=
+ media-libs/libogg:=[${MULTILIB_USEDEP}]
+ media-libs/libpng:0=[${MULTILIB_USEDEP}]
"
DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig
- sys-devel/flex
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ sys-devel/flex[${MULTILIB_USEDEP}]
sys-devel/bison
doc? ( app-doc/doxygen )
"
@@ -38,16 +38,17 @@ pkg_setup() {
use wxwidgets && python-single-r1_pkg_setup
}
-src_configure() {
+multilib_src_configure() {
+ local ECONF_SOURCE=${S}
econf \
--disable-static \
$(use_enable debug) \
- $(use_enable doc) \
- $(usex wxwidgets '' 'PYTHON=:')
+ $(multilib_native_use_enable doc) \
+ $(multilib_native_usex wxwidgets '' 'PYTHON=:')
}
-src_install() {
- default
+multilib_src_install_all() {
+ einstalldocs
find "${D}" -name '*.la' -delete || die
use wxwidgets && python_fix_shebang "${D}"
}