summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-10-17 02:10:53 +0000
committerNaohiro Aota <naota@gentoo.org>2012-10-17 02:10:53 +0000
commit87522cb0f261e312ae71b803f172dd0d35414355 (patch)
tree0633b724a620cf820ee5a3c62ba328624d6b4d40 /app-i18n
parentstable ppc ppc64, bug #438146 (diff)
downloadhistorical-87522cb0f261e312ae71b803f172dd0d35414355.tar.gz
historical-87522cb0f261e312ae71b803f172dd0d35414355.tar.bz2
historical-87522cb0f261e312ae71b803f172dd0d35414355.zip
Revbump to fix pkgconfig file.
Package-Manager: portage-2.2.0_alpha137/cvs/Linux x86_64
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/opencc/Manifest28
-rw-r--r--app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch17
-rw-r--r--app-i18n/opencc/opencc-0.3.0_pre20120819-r1.ebuild42
3 files changed, 74 insertions, 13 deletions
diff --git a/app-i18n/opencc/Manifest b/app-i18n/opencc/Manifest
index 874a592eda8c..1c0ea7a7860a 100644
--- a/app-i18n/opencc/Manifest
+++ b/app-i18n/opencc/Manifest
@@ -1,26 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX opencc-0.3.0_pre20120819-cmake-libdir.patch 619 SHA256 72beab447b850e83a115ca37d6f0893b749d742f5a887a360a435b72c5316929 SHA512 eb900e6a7009031ceac0a23549ae8f232ec4cefcdf6547385c99e93fde410804a280744021d3850cd2c5c97e5927e511ca87fc59a760fd0a3a2dbbb85d3100c1 WHIRLPOOL eee2b999ca989065868cf85c8f7296ef99a9ba837d708ab21e01fc0602606c538de07b7bcd762f3540e3bf0877ce6c90a059f36c629c7d334b24e241e677bc8f
DIST opencc-0.2.0.tar.gz 496313 SHA256 fc4b3203482c7e5ad5c887dc08f83cd1d0e0c1fd1bdd9ec48672ca89bfe2a424 SHA512 46c03a1605b8c464d8836bfa6e69fef1d1978102aa6a75ab75c9546635da91223bb26412639869a1f7fc3f8db1f4ebd12645c53d07cb1375605dbb42c7e4524a WHIRLPOOL 98675c15579e573633f68e9c73a83164a3bd0ebb82b7b92dd31dfddda4a6cd3c81dd4cbd5fd775021b29e7c543952bf2206c2c00257fdc11f91754f56a969e9b
DIST opencc-0.3.0_pre20120819.tar.xz 363528 SHA256 3ed46594547b86f1326b07c3ea910148b1c58b74c9d21c8d4e11ec30e2254fae SHA512 0ca231b5fd7b314111a76bfaa8e288fc2d43e02dbbb2a7c7e9312c1f1f0aed1a0d3b67b04b0cc3634d1b48b8fe6983e6219db053f3a2114abadec1af00b9f8d5 WHIRLPOOL 268d331479bffefdc6e1f58600422a36a32abb7d4dd873eeb216977daca05f4a4775ca547bb301bc16ea8fc702ef04cfd5d8f88c90d10e224a585575129e67c6
EBUILD opencc-0.2.0.ebuild 1009 SHA256 e02ff9b6dd2c26cfd8d4e665d059765bbb0c3593503179e587924ccd541832c9 SHA512 b862d5a1ddc735e81997d3a2d193d5f427cd15895c3df0fec9a6342eda4894313e03e15f4f5214cd1b5f21c4d804a983cb0ebd5f25847c1f89999b38863041fa WHIRLPOOL 88f5203e765923dfd064cb2eaeda35b3d328223760a1f3184d78958be6e76fb6f39918b2c6402f7200a35c797e52db2f09f3778992e118c6d05ce6bd6b9928ec
+EBUILD opencc-0.3.0_pre20120819-r1.ebuild 1065 SHA256 0437abea3946e0fe9bc4ddc3d89bcfb0479578a50f791a0a41714ec5544b827d SHA512 a7cfbf6b589cc3849b8d758f538e89bba7ab02be90bdb3a41b72eef4b76d50bb1347ae2a5ca24c294b6ac982e355e6c3cf13cd9faf55bb73b217708aab447126 WHIRLPOOL a1bc6fa452500af02972884bf4be21001c255a5eb397a53b6f2af0ed97e7e490d3a4e42f0c12b189b91520a8982e162dc28b83144e1efd2657b981cd1a30e98d
EBUILD opencc-0.3.0_pre20120819.ebuild 1010 SHA256 fca1df01c8b52d996f14ca8ccacc7935c100aca6fbe920f7a66494d02d25cb23 SHA512 45661ccd33781da88b6f36debd8061509d5c4519112663fa7533a8e5be22962b435f4e0c3158a584a3fe766f143702e8bb6de34197fa057c7bc3709510d1d8e7 WHIRLPOOL b594747f1f57f70291643634883ed817bce3be0377ce2611eb7833ad894b231398a51b4af31de666a8f4cc8a3f53b64351a01f263f3c3c7fa7b95d968fffb258
MISC ChangeLog 1271 SHA256 efe8fe434addd0f8cbb3ae96e3bd7951bac2ea07ec571911f251a404a36cf11a SHA512 0d39fef08fbd6d20602fe7f9852a64c612786875db528faeaa4326f8b415d04e3563cab304957c7b3ebb905085d388d0cde948667d51674f5e61ae34ac333ced WHIRLPOOL 3253586474aed2a15bfc037f8b73cb62e82d527cc50db99cc243cae50d3fc0993ef61a9b3977c77829f4b657ef14f5cc5149688dd0c97c91b5f453bb6c3f7892
MISC metadata.xml 403 SHA256 6d4162cc06b73e91f946ddcaae8a007e2ad98d91116ac89474757419258d6ab4 SHA512 083b88943e89084cfb8e1f573eef9be16322eb5b0d07108dd1f5d6e17069d7214e692c70c0bfa59c90859a0610abfa0de9b3d03ff196960105bc9e5bc38b6dfa WHIRLPOOL 6474e07c3fdefac790e62b97ce375ac0cdb22dc381a55bdc4a7c56e206143671cb1b228b53390a72880d455d8b0723de07362f7a1ba7b1ecc5634c414e778707
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJQMKf1AAoJEOSiRoyO7jvoauYQALAGnPL72k+Sa7UkzdAnik5C
-C6UQ/PNGwkUy2r8dgBp9XanOj897e3jeNWsqnamngP+e0z944RzSp92xCy2aFy14
-1j9meXFQU4jkCDHhJ+bK2jqsWekIL9Gnx37GNWmtPIHDI9gt7MLw0ZwVtmKDC8DO
-K6lASvkcsEOlxjYvI0QbMcVDeu/LTpzgcaDwh/slAx0JDUCmLJAplNKzC+7d+T4Z
-UtlNrAQuYQNAm7r9g1nQfniZkZCV1SsfrdMOqcDeSaTADvMd7Z3yOqayi+cZu0qC
-K4B3tPwDV5dUkO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uVle
+kU7yEWo1kyhfu3yqvqX0ZLvbm/2bcedm5jfbhYNTcGpxTpD9f7lkoJR261qtvGbM
+BKkCv9evdALWsmiVIKga
+=4aHd
-----END PGP SIGNATURE-----
diff --git a/app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch b/app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch
new file mode 100644
index 000000000000..76dc4330c440
--- /dev/null
+++ b/app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch
@@ -0,0 +1,17 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -70,11 +70,11 @@ set (DIR_SHARE ${DIR_PREFIX}/share)
+ set (DIR_BIN ${DIR_PREFIX}/bin)
+ set (DIR_ETC ${DIR_PREFIX}/etc)
+
+ if (DEFINED CMAKE_INSTALL_LIBDIR)
+- set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR})
+- set (DIR_LIBRARY_STATIC ${CMAKE_INSTALL_LIBDIR})
++ set (DIR_LIBRARY ${DIR_PREFIX}/${CMAKE_INSTALL_LIBDIR})
++ set (DIR_LIBRARY_STATIC ${DIR_PREFIX}/${CMAKE_INSTALL_LIBDIR})
+ endif (DEFINED CMAKE_INSTALL_LIBDIR)
+
+ if (DEFINED SHARE_INSTALL_PREFIX)
+ set (DIR_SHARE ${SHARE_INSTALL_PREFIX})
+ endif (DEFINED SHARE_INSTALL_PREFIX)
diff --git a/app-i18n/opencc/opencc-0.3.0_pre20120819-r1.ebuild b/app-i18n/opencc/opencc-0.3.0_pre20120819-r1.ebuild
new file mode 100644
index 000000000000..338b3d2ae6f9
--- /dev/null
+++ b/app-i18n/opencc/opencc-0.3.0_pre20120819-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/opencc/opencc-0.3.0_pre20120819-r1.ebuild,v 1.1 2012/10/17 02:10:11 naota Exp $
+
+EAPI=4
+
+inherit cmake-utils multilib eutils
+
+DESCRIPTION="Libraries for Simplified-Traditional Chinese Conversion"
+HOMEPAGE="http://code.google.com/p/open-chinese-convert/"
+SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+nls static-libs"
+
+DEPEND="nls? ( sys-devel/gettext )"
+RDEPEND="nls? ( virtual/libintl )"
+
+DOCS="AUTHORS README"
+
+src_prepare() {
+ sed -i \
+ -e "s:\${CMAKE_\(SHARED\|STATIC\)_LIBRARY_PREFIX}:\"$(get_libdir)\":" \
+ CMakeLists.txt || die
+ epatch "${FILESDIR}"/${P}-cmake-libdir.patch
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "$(cmake-utils_use_enable nls GETTEXT)"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} +
+}