summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-10 22:08:07 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-10 22:08:07 +0000
commita2a1ac0114fa65c5c87a0793ce102da8534dd1de (patch)
tree5c1cf7bf2249d3c6bf2988377475bc159ec0b18e /dev-libs/fribidi
parentVersion bump. Add myself as maintainer. Fixes bug #480524. (diff)
downloadgentoo-2-a2a1ac0114fa65c5c87a0793ce102da8534dd1de.tar.gz
gentoo-2-a2a1ac0114fa65c5c87a0793ce102da8534dd1de.tar.bz2
gentoo-2-a2a1ac0114fa65c5c87a0793ce102da8534dd1de.zip
Convert to multilib and stack it for medialibs r11.
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-libs/fribidi')
-rw-r--r--dev-libs/fribidi/ChangeLog7
-rw-r--r--dev-libs/fribidi/fribidi-0.19.5-r2.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-libs/fribidi/ChangeLog b/dev-libs/fribidi/ChangeLog
index 728f407ca92f..5ba7a26c961c 100644
--- a/dev-libs/fribidi/ChangeLog
+++ b/dev-libs/fribidi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/fribidi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/ChangeLog,v 1.80 2013/02/03 12:13:52 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/ChangeLog,v 1.81 2013/08/10 22:08:07 aballier Exp $
+
+*fribidi-0.19.5-r2 (10 Aug 2013)
+
+ 10 Aug 2013; Alexis Ballier <aballier@gentoo.org> +fribidi-0.19.5-r2.ebuild:
+ Convert to multilib and stack it for medialibs r11.
03 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due #22900
diff --git a/dev-libs/fribidi/fribidi-0.19.5-r2.ebuild b/dev-libs/fribidi/fribidi-0.19.5-r2.ebuild
new file mode 100644
index 000000000000..dc9d7445582c
--- /dev/null
+++ b/dev-libs/fribidi/fribidi-0.19.5-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.19.5-r2.ebuild,v 1.1 2013/08/10 22:08:07 aballier Exp $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools eutils autotools-multilib
+
+DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
+HOMEPAGE="http://fribidi.org/"
+SRC_URI="http://fribidi.org/download/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RESTRICT="test" #397347
+
+RDEPEND=">=dev-libs/glib-2:2[${MULTILIB_USEDEP}]
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.19.2-nodoc.patch \
+ "${FILESDIR}"/${P}-signedwarning.patch
+
+ # Fix compability with dev-libs/glib >= 2.31
+ sed -i \
+ -e '/include/s:<glib/gstrfuncs.h>:<glib.h>:' \
+ -e '/include/s:<glib/gmem.h>:<glib.h>:' \
+ charset/fribidi-char-sets.c lib/mem.h || die
+
+ autotools-multilib_src_prepare
+}
+
+src_configure() {
+ # --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is
+ # present in /usr/lib/pkgconfig/fribidi.pc
+ local myeconfargs=( --with-glib=yes )
+ autotools-multilib_src_configure
+}