summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-08-09 07:19:37 +0200
committerMichał Górny <mgorny@gentoo.org>2017-08-11 15:20:37 +0200
commit621e6591ec672974d4e02480cbcc7119505d61e2 (patch)
tree7d8d3041d6b183131a14e55e612f86c598077ece /media-libs/libtiger
parentmedia-libs/libtiger: Modernize to EAPI=6 (diff)
downloadgentoo-621e6591ec672974d4e02480cbcc7119505d61e2.tar.gz
gentoo-621e6591ec672974d4e02480cbcc7119505d61e2.tar.bz2
gentoo-621e6591ec672974d4e02480cbcc7119505d61e2.zip
media-libs/libtiger: Enable multilib build
Diffstat (limited to 'media-libs/libtiger')
-rw-r--r--media-libs/libtiger/libtiger-0.3.4-r1.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/media-libs/libtiger/libtiger-0.3.4-r1.ebuild b/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
index 27909edac9e..1d18c7f4373 100644
--- a/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
+++ b/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit libtool
+inherit libtool multilib-minimal
DESCRIPTION="A rendering library for Kate streams using Pango and Cairo"
HOMEPAGE="https://code.google.com/p/libtiger/"
@@ -13,11 +13,11 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="doc"
-RDEPEND="x11-libs/pango
- >=media-libs/libkate-0.2.0
- x11-libs/cairo"
+RDEPEND="x11-libs/pango[${MULTILIB_USEDEP}]
+ >=media-libs/libkate-0.2.0[${MULTILIB_USEDEP}]
+ x11-libs/cairo[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
- virtual/pkgconfig
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
doc? ( app-doc/doxygen )"
src_prepare() {
@@ -25,11 +25,12 @@ src_prepare() {
elibtoolize
}
-src_configure() {
+multilib_src_configure() {
+ local ECONF_SOURCE=${S}
econf $(use_enable doc)
}
-src_install() {
- default
+multilib_src_install_all() {
+ einstalldocs
find "${ED}" -name '*.la' -delete || die
}