mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
app-text/podofo: fix automagic dep on libunistring
Hard-disable it and prefer libidn for unicode support. Closes: https://bugs.gentoo.org/877443 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
+5
-4
@@ -21,12 +21,13 @@ REQUIRED_USE="${LUA_REQUIRED_USE}
|
||||
|
||||
RDEPEND="${LUA_DEPS}
|
||||
idn? ( net-dns/libidn:= )
|
||||
dev-libs/openssl:0=
|
||||
dev-libs/openssl:=
|
||||
dev-libs/libunistring:=
|
||||
media-libs/fontconfig:=
|
||||
media-libs/freetype:2=
|
||||
virtual/jpeg:0=
|
||||
media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:=
|
||||
media-libs/tiff:=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-util/cppunit )"
|
||||
@@ -21,12 +21,12 @@ REQUIRED_USE="${LUA_REQUIRED_USE}
|
||||
|
||||
RDEPEND="${LUA_DEPS}
|
||||
idn? ( net-dns/libidn:= )
|
||||
dev-libs/openssl:0=
|
||||
dev-libs/openssl:=
|
||||
media-libs/fontconfig:=
|
||||
media-libs/freetype:2=
|
||||
virtual/jpeg:0=
|
||||
media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:=
|
||||
media-libs/tiff:=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-util/cppunit )
|
||||
@@ -100,9 +100,11 @@ src_configure() {
|
||||
-DLUA_VERSION="$(lua_get_version)"
|
||||
-DWANT_BOOST=$(usex boost ON OFF)
|
||||
-DHAVE_LIBIDN=$(usex idn ON OFF)
|
||||
# We use libidn for unicode support instead
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_UNISTRING=ON
|
||||
-DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF)
|
||||
-DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON)
|
||||
)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
mkdir -p "${S}/test/TokenizerTest/objects" || die
|
||||
Reference in New Issue
Block a user