summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-04-06 20:43:12 +0000
committerZac Medico <zmedico@gentoo.org>2013-04-06 20:43:12 +0000
commit40b1845de1927db769e0bb4f77075291bca366b5 (patch)
treee6e4dc83f20a2f475f62ae0858bc7fa9bc6a6f17 /app-text/podofo
parentVersion bump (diff)
downloadgentoo-2-40b1845de1927db769e0bb4f77075291bca366b5.tar.gz
gentoo-2-40b1845de1927db769e0bb4f77075291bca366b5.tar.bz2
gentoo-2-40b1845de1927db769e0bb4f77075291bca366b5.zip
Add idn USE flag for bug #464884.
(Portage version: 2.2.0_alpha171/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)
Diffstat (limited to 'app-text/podofo')
-rw-r--r--app-text/podofo/ChangeLog5
-rw-r--r--app-text/podofo/podofo-0.9.2.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/app-text/podofo/ChangeLog b/app-text/podofo/ChangeLog
index 7408907d6880..8394fea9d531 100644
--- a/app-text/podofo/ChangeLog
+++ b/app-text/podofo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/podofo
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.38 2013/04/05 18:14:42 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/ChangeLog,v 1.39 2013/04/06 20:43:12 zmedico Exp $
+
+ 06 Apr 2013; Zac Medico <zmedico@gentoo.org> podofo-0.9.2.ebuild:
+ Add idn USE flag for bug #464884.
05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> podofo-0.9.2.ebuild:
Stable for ppc64, wrt bug #464416
diff --git a/app-text/podofo/podofo-0.9.2.ebuild b/app-text/podofo/podofo-0.9.2.ebuild
index d37eb7ae388f..8f28b2de6869 100644
--- a/app-text/podofo/podofo-0.9.2.ebuild
+++ b/app-text/podofo/podofo-0.9.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.9.2.ebuild,v 1.6 2013/04/05 18:14:42 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/podofo/podofo-0.9.2.ebuild,v 1.7 2013/04/06 20:43:12 zmedico Exp $
EAPI=2
inherit cmake-utils flag-o-matic multilib toolchain-funcs
@@ -12,9 +12,10 @@ SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="+boost debug test"
+IUSE="+boost idn debug test"
RDEPEND="dev-lang/lua
+ idn? ( net-dns/libidn )
dev-libs/openssl
media-libs/fontconfig
media-libs/freetype:2
@@ -36,6 +37,9 @@ src_prepare() {
-e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
CMakeLists.txt || die
+ sed -i \
+ -e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" CMakeLists.txt || die
+
# Use pkg-config to find headers for bug #459404.
sed_args=
for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
@@ -106,6 +110,7 @@ src_configure() {
"-DWANT_FONTCONFIG=1"
"-DUSE_STLPORT=0"
$(cmake-utils_use_want boost)
+ $(cmake-utils_use_has idn LIBIDN)
$(cmake-utils_use_has test CPPUNIT)
)