diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-05-14 14:40:04 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-05-14 14:40:04 +0000 |
commit | f5571cc513c435fa2436e97751df8a5b64feafa1 (patch) | |
tree | 07dc3850ff2a6d6985fd3bac189e5480392b17ac /app-arch | |
parent | Stable for sparc, wrt bug #506256 (diff) | |
download | historical-f5571cc513c435fa2436e97751df8a5b64feafa1.tar.gz historical-f5571cc513c435fa2436e97751df8a5b64feafa1.tar.bz2 historical-f5571cc513c435fa2436e97751df8a5b64feafa1.zip |
old
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/unrar/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/unrar/Manifest | 31 | ||||
-rw-r--r-- | app-arch/unrar/files/unrar-4.2.4-build.patch | 37 | ||||
-rw-r--r-- | app-arch/unrar/unrar-4.2.4.ebuild | 56 | ||||
-rw-r--r-- | app-arch/unrar/unrar-5.1.1.ebuild | 56 | ||||
-rw-r--r-- | app-arch/unrar/unrar-5.1.2.ebuild | 56 | ||||
-rw-r--r-- | app-arch/unrar/unrar-5.1.4.ebuild | 59 |
7 files changed, 14 insertions, 288 deletions
diff --git a/app-arch/unrar/ChangeLog b/app-arch/unrar/ChangeLog index 140af6d47688..185c40902882 100644 --- a/app-arch/unrar/ChangeLog +++ b/app-arch/unrar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/unrar # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/ChangeLog,v 1.224 2014/05/14 14:19:13 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/ChangeLog,v 1.225 2014/05/14 14:39:59 ssuominen Exp $ + + 14 May 2014; Samuli Suominen <ssuominen@gentoo.org> + -files/unrar-4.2.4-build.patch, -unrar-4.2.4.ebuild, -unrar-5.1.1.ebuild, + -unrar-5.1.2.ebuild, -unrar-5.1.4.ebuild: + old 14 May 2014; Agostino Sarubbo <ago@gentoo.org> unrar-5.0.14.ebuild: Stable for sparc, wrt bug #505932 diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index 96e1e07e11e6..9d7b1089bea3 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -1,36 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX unrar-4.2.4-build.patch 1154 SHA256 9ef12ee1e1f9529aaa98c02d63f7076048a09c52a6367efad48e1323eb8c826e SHA512 390248fa485c4603b48f0f583ceaaf2c180bf0a8a377b0542dbc7ba97426187f9d0508061f93d1147f472a2f577ee9f1fd01d9d73501bdd811c2a275dd7713ca WHIRLPOOL b19c3fcc0519d2c38c84b470fc858369a747f1bb1577d77e264474d29b4ad028ee1ce5e9d1216e691eea363aa474c547c41709cf106cc469382005998dbee54b AUX unrar-5.0.2-build.patch 1340 SHA256 f30c2362646138be07afafb401315ef2ae205d4de9f2b455f733dc46c07e72ef SHA512 cbb65b03bd5ef89972a7d6f286921f4542861b0c4f27b8d61c48dcb09535a316037303e2e44b749af3903d71fb31bbdb9aa117310a7550c65a4669c161bd6711 WHIRLPOOL a586035f92a669079f7a50262ba90875044e484b44473a57054fda8e514e293823a6f3f45c2a48fbe124e7f686adf95a6e562fb78943a92a6d42e0a4ae208ec6 -DIST unrarsrc-4.2.4.tar.gz 164641 SHA256 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686 SHA512 54bdc16c940deb6e5759ddec9739381f0e1b5e2279548ac367eb32c4ff79cd496712692feaf46f4ce3b2ccfa8d622b7c45fb8070420b16315226627c45fef850 WHIRLPOOL 197310c41725280d6a5c4fa3da9d8411e419f20e41f6c645534b37d206ce67474c8b320811a7c7f2acbc375ef0341ec57adfe82a6be7f6bdabe2871841669739 DIST unrarsrc-5.0.14.tar.gz 209707 SHA256 e276ea30a2dc9b8961a4268772e5b6caccaa984664e2d5255a43fcb0f5d59806 SHA512 91b05bd2974e0a1cb8bd8f01ee90637c9c48da71a4ffa74e161de969f17bedbcda0cfbac128d366ffa5065e8195004fe82763a2a1e8628f0016621b1c2d364f2 WHIRLPOOL 665833a5cac5cfddaa6bf852b6820e8447604019286f7f81dce910ad49b8eccf5a4ceab2c1177837e71492ba0c37d2d288b78eb0a531fd47d34cdd8256fd7f19 -DIST unrarsrc-5.1.1.tar.gz 215442 SHA256 eba573f4c1b73059c78e99f7a0519f0f95fcb345cf8558bdcdb7540091c62a89 SHA512 f7459d3f476dfa06a1115588adc438c091ec50ec76b523a94ce730ee670ae3610679b21945b16f976f020d3e0e352842c7dac987a74745f6afa34fc4676bbbf7 WHIRLPOOL 9de3bc1dafb82b9d4eed3a24933965dd6ecb9c710d9355d7492fb3118587887ea44eb3eca992cc9c6342716ecc3c751f89c99287c8cd003c747780f61c0bf7e2 -DIST unrarsrc-5.1.2.tar.gz 214207 SHA256 98257d7b74a2db18225da2a4bb564cbd591fe10c83bc51430882d3c18965840c SHA512 128f58670d3b04eb8120bd492d5883fd9cbb6b4618505c85790a57ca13346027c868dcd00ea749d204684c6443f59088e352d30ec85089d548fe9282575a801f WHIRLPOOL 1b602078e0a4c0eae89309b00b3b8047662e55469bdf5cf588aecac0148133c14544a7050bc535fd5afdb2a94267e78d29e8d19ef87976bac80ddea882588773 -DIST unrarsrc-5.1.4.tar.gz 215037 SHA256 89c7ef0a6efdd6798ab01775cab005afe4d5be74fc93a70968f4d3914a446fe4 SHA512 d071b8c0ce63283efa04f73415f55e9c300246b4c93d79c34890228a08028c81d8cc841dda4d5d1783ca2286e4966f80a1ee783b1a48c2784bee491460eac204 WHIRLPOOL a28cf013f8af10558677564a26dbc3ff4241f11e32a9439b08410797d51dccad30b9e90a9b1612506822189bd65fa36c9e922a0f1a48567fbb1280d603709913 DIST unrarsrc-5.1.5.tar.gz 215199 SHA256 2224ced8288553392abe94e410e29d2570bfdfea22af51125d3984548a5034cb SHA512 42c68801379c7f7203bb21740e440c6c1128254e99935418fe9d3514e70a82e64b570cd54e5afefae5e44eaea2dd614ab7bd331b3075680677c3bfe266d2ea72 WHIRLPOOL 5073bab3ced55895ea512a0c04ff1482ff453edb682b3f9b6e3af7dc8f11082c068b697424cb9f139ee79f4aedb3981b8259adc6bd6ddef4a67bd9e46483137d -EBUILD unrar-4.2.4.ebuild 1536 SHA256 24a35287af8304115446f7f0dc6955b30fc24ebe1fadda87db09c929b2accdc9 SHA512 bbcfbca3f99252d8af1be291f166c377c3e26408251a7275c6aad0f979fd3ff5f44f225972997675a6fb110acb8d67d014b74dc9fda7cbe076c19bf76300c7ad WHIRLPOOL d2031ed7497bbcf93b57238509b8a8dee688932dce9a9df859ab9eb2c3043e5c5f59f00f021bf9accb75405ba180aeddd14914a46afed3390a2e3dc7701776c9 EBUILD unrar-5.0.14.ebuild 1526 SHA256 b46f569007b53ad3fadcb514e822f9b2d29748ba6f97c3fa3863e080ace0e383 SHA512 f5f9fff0f4766c1014ad50dd22fadeb55dc91f196b0fb3dd770672cfcd98876432c539fcf03d16f7894b1a8b872265fd60dfe8546cc86040be447856dd6e47b6 WHIRLPOOL 37bf2dd96af88d6c8e177b4604d0ab1d6affee9918f400dda33f76249163871ff79248071bce744fd5f9a27a595c09350601e0fef04693a110b86bb2f583ce00 -EBUILD unrar-5.1.1.ebuild 1539 SHA256 87e5a29e35236b19d38d39a7e25548474ae42fdc797f3db37694b06acf60e7dc SHA512 568e66255641182d7e90615268260e3355493b9149e794ef990e4e1c592d4d3b19fad3a28b630d317ae498c7816bf5bb57dc6fad9fe5a04057ac801373c92a8e WHIRLPOOL 7ec0e8522a06975700d368714c2b3faedd2ab4b30e16d91d536ac28bd421e3d521ff4fc26c37413f870be4a1db3f75b1d467ff871681c8b272ea159a2124d800 -EBUILD unrar-5.1.2.ebuild 1539 SHA256 190a99e89dced77769f3c5c6bc07c72c296c5aa5eb60c94e1438d4e90e95d7ef SHA512 2f5a4f0a6f48c6f85d14536871da22a86fda351f57adf8b586d896f268ce9ae78cec6a9df74e34d11d610299632f80623714f4fa778e1567569f97b0f2b610b6 WHIRLPOOL 8c3d0160c5227019dd68f0cb9041647fd9684464a43f14888b889189a59a6d56853d5fdd43fff9b63a5d30ae5d09cfc46443efe980685d8f8a8839c39fb92305 -EBUILD unrar-5.1.4.ebuild 1814 SHA256 111d70fcf1238e07da39d9de3e2b2e358028f401522d25ec7e8724dfa1a2cd29 SHA512 519abb4dc3831c0fd8c7cc4dd6544bb71f5bea776b9f82f5936d156354645f7fb56cf9d504de140dd8aa7ae197babda4991e333faebfcf6c79c659567a883fb9 WHIRLPOOL 74c8d65e459fbf3ad5d6585a62e9b0a7049619044fa29dd73ebe39a9c46059212bbe7148f490a74376f565b81bcb36dd75118f210e2026ca729966c1e7050bfc EBUILD unrar-5.1.5.ebuild 1817 SHA256 e28234c6b66e8e8e95550f75e22ef7778fcb1e82720945bd9a946f4094a15c89 SHA512 770b3e68a4387cbb6f09996fc86e2600f92e153978420fbdedd9c3b56b073cb43354e93b0f14f8071198a4fb8de2fbb25af35f9cf69d52c30b84b61f02b20d45 WHIRLPOOL d25cf6a1a73d21440b11d297f7313abd479e756003d15adb23713a3d34ee148c1608f53d4925585bbfd520923f3100c790c9a61cf3173578e3af9277d6e2639a -MISC ChangeLog 25743 SHA256 ff0ed93976d4e7e3e4fe56f17faf9fc0b263f00228c78b754c9b9321a005ef8e SHA512 663db359bae25f9f3186c9f2b646990deb5597db8cc9d136bcf5013742d027335c12b5ddde8077e7372b437a08d3e90cd9d9e96326667ceb70a06ce72e645246 WHIRLPOOL 20ceb8a28226210d6b738d101ae7e6e524c7f7673d0b5ce5932acd7070c5896cb5af521b444ea8538f58511f454abd1a4e2cda7932bd48a44e75b382cb688e56 +MISC ChangeLog 25930 SHA256 4a3392bb21df841215cf457ae57c486fbee8c6c3c0924478b66a8eeb006b22d3 SHA512 7254dbff1770002213259e842050c9ffd9f4b5f93c9fdaba4453c92bec24eeac486ec6de9447184edeffb1503888691e9beca6132cb6da724f7942322f5632ff WHIRLPOOL 18926018cb8c9ad19f26004988ef24796a40e21aeb50c7bce46453045badd0ab2990f1b84308f5bb283912ce5f8ad87c3836bac781a2fb72ba74fd417f949744 MISC metadata.xml 243 SHA256 0d3b01bee239974acab3b5c25d987a03b929151a254aeefd3cb5bbd0ee6d3c57 SHA512 730e45ced90a8d71ae4613bc3e368baa66cc49c8b74177d23e03461d8785b20fcac940bef5a85044c9bc2f1db2fceee0de441267448174342caa0fe9d08a7034 WHIRLPOOL ab5dd604416cd7afbdee82d410c8eadaaceb8934ccca1a96c5c3f104f8beee50aa19d561a4fc0728c75cbb4683b822dab290c8031920087685fe732b7358bfbb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTc3tiAAoJELp701BxlEWfswYP/Rk1xHqT9ERmr21iSX0TYjDY -5zxEnxrplEBEoHvlc++cknsRUC64a2pivRgQZmMy6rx8udOPYUANUcHWkEoQnlTC -Ij2Pdl+sM6CaRGp+A5VsZ85nOBAYxNryPRODphrEOs0xibO+aP+Mmmkz91R3Qz1x -Ilc84LQi+W5O46rcEp43t38r9mSrE+jo1UIIrBRKKVJxoBmme0i268ZQHZGbfGg7 -cRFwAnCpwk0lnyt8Zqsq+qwaknPfm2Mm0wC8n3DZJKVT19YIY6gqmjNSCgTNDoIZ -jx7SFsiYl59zaD3iXlN/4DtQRmDxF+bqHyHJcFXXysuEMODRNKFx/0vl0BlnelLU -ztgtTX7q7ku5HNqh7W+ZS5Hfu3NL9mqtNp7InfOdH5GEVMIPfkWWZ8xYQpUKERi1 -3EwBiCBEoxTun/gc9cdamZG0wcSDkT7Int9SkX4YCdriGs4trMpGsxMjghLuaLuA -t5FDOZgxhWkdXbg1C3dfMj+ckvv/m0BVshMIcBk9LaflRSRN/ivdIehygVAqDyUr -WZzQ75w9rgCqFLwVDaOPhokIjvuda9dqZWp98urBB8HIQSYIFs2UFjm25UU6/86p -fGc9zVLyxJXPwWHGiEOHi/QKsG27gQDBiJB1/eq6nQwxpohdiuWLg4MUZoPrpmAc -jeY3SVmsOuyglLB68Rw5 -=fvLn +iQEcBAEBCAAGBQJTc4ACAAoJEEdUh39IaPFN3fwH/irr6ZydRzN2PY5Hp3U5ceMM +D4kaKsJ2QFu4kfN10gx7HnkAaenFRowGKRbioNot3MGynGsbyOqDFV04TYmwHlAq +ZVwvLuy0rWE4nl4jVBJaI0KjvxbB6WdyuT1YTQG0o0e/tBz+nzwdq82IUyrij4JU +185bSioiFwVWsflHMwD3AAObEiLpZnxGwltXuC7FCgr0nI3+Z1yvT0BHckdlTNd1 +T/8giWB+Va0+H8l9CGkkFqeUTCisgu1IuqaUD3UtHL6qhy5qyohqRB0o+HZMOlqQ +m4Z4iDWQVhAJTPEb7N56W4E0+1oJ+fHb9dQV1WQwKucRldFtEY7R89rTEpJ99fc= +=0XVb -----END PGP SIGNATURE----- diff --git a/app-arch/unrar/files/unrar-4.2.4-build.patch b/app-arch/unrar/files/unrar-4.2.4-build.patch deleted file mode 100644 index 1377ff1a7896..000000000000 --- a/app-arch/unrar/files/unrar-4.2.4-build.patch +++ /dev/null @@ -1,37 +0,0 @@ -do not let these targets depend on clean, otherwise it could run in -parallel with the object compile which runs into races -https://bugs.gentoo.org/461806 - -While we're in here, fix up a few other things: - - do not bother with `rm` in the output since linking will clober it - - use CXXFLAGS when linking - - append LIBFLAGS to the individual targets instead of the final link - ---- a/makefile.unix -+++ b/makefile.unix -@@ -116,9 +116,8 @@ - clean: - @rm -f *.o *.bak *~ - --unrar: clean $(OBJECTS) $(UNRAR_OBJ) -- @rm -f unrar -- $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) -+unrar: $(OBJECTS) $(UNRAR_OBJ) -+ $(LINK) -o unrar $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS) - $(STRIP) unrar - - sfx: WHAT=SFX_MODULE -@@ -128,10 +127,9 @@ - $(STRIP) default.sfx - - lib: WHAT=RARDLL --lib: CXXFLAGS+=$(LIBFLAGS) --lib: clean $(OBJECTS) $(LIB_OBJ) -- @rm -f libunrar.so -- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) -+$(OBJECTS) $(LIB_OBJ): CXXFLAGS+=$(LIBFLAGS) -+lib: $(OBJECTS) $(LIB_OBJ) -+ $(LINK) -shared -o libunrar.so $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ) - - install-unrar: - install -D unrar $(DESTDIR)/bin/unrar diff --git a/app-arch/unrar/unrar-4.2.4.ebuild b/app-arch/unrar/unrar-4.2.4.ebuild deleted file mode 100644 index 218999929746..000000000000 --- a/app-arch/unrar/unrar-4.2.4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-4.2.4.ebuild,v 1.14 2013/03/16 15:35:08 vapier Exp $ - -EAPI=4 -inherit flag-o-matic multilib toolchain-funcs eutils - -MY_PN=${PN}src - -DESCRIPTION="Uncompress rar files" -HOMEPAGE="http://www.rarlab.com/rar_add.htm" -SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" - -LICENSE="unRAR" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~arm-linux ~x86-linux" -IUSE="" - -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" - -S=${WORKDIR}/unrar - -src_prepare() { - epatch "${FILESDIR}"/${PN}-4.2.4-build.patch - sed -i \ - -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \ - -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \ - makefile.unix || die -} - -src_compile() { - unrar_make() { - emake -f makefile.unix CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" - } - - unrar_make CXXFLAGS+=" -fPIC" lib - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname) - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV}) - - # The stupid code compiles a lot of objects differently if - # they're going into a lib (-DRARDLL) or into the main app. - # So for now, we can't link the main app against the lib. - unrar_make clean - unrar_make -} - -src_install() { - dobin unrar - dodoc readme.txt - - dolib.so libunrar* - - insinto /usr/include/libunrar${PV%.*.*} - doins *.hpp - dosym libunrar${PV%.*.*} /usr/include/libunrar -} diff --git a/app-arch/unrar/unrar-5.1.1.ebuild b/app-arch/unrar/unrar-5.1.1.ebuild deleted file mode 100644 index d7f0fffe1b46..000000000000 --- a/app-arch/unrar/unrar-5.1.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-5.1.1.ebuild,v 1.1 2014/03/27 07:39:52 ssuominen Exp $ - -EAPI=5 -inherit eutils flag-o-matic multilib toolchain-funcs - -MY_PN=${PN}src - -DESCRIPTION="Uncompress rar files" -HOMEPAGE="http://www.rarlab.com/rar_add.htm" -SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" - -LICENSE="unRAR" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" -IUSE="" - -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" - -S=${WORKDIR}/unrar - -src_prepare() { - epatch "${FILESDIR}"/${PN}-5.0.2-build.patch - sed -i \ - -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \ - -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \ - makefile || die -} - -src_compile() { - unrar_make() { - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" - } - - unrar_make CXXFLAGS+=" -fPIC" lib - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname) - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV}) - - # The stupid code compiles a lot of objects differently if - # they're going into a lib (-DRARDLL) or into the main app. - # So for now, we can't link the main app against the lib. - unrar_make clean - unrar_make -} - -src_install() { - dobin unrar - dodoc readme.txt - - dolib.so libunrar* - - insinto /usr/include/libunrar${PV%.*.*} - doins *.hpp - dosym libunrar${PV%.*.*} /usr/include/libunrar -} diff --git a/app-arch/unrar/unrar-5.1.2.ebuild b/app-arch/unrar/unrar-5.1.2.ebuild deleted file mode 100644 index 69b53b1f422e..000000000000 --- a/app-arch/unrar/unrar-5.1.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-5.1.2.ebuild,v 1.1 2014/04/11 21:58:50 ssuominen Exp $ - -EAPI=5 -inherit eutils flag-o-matic multilib toolchain-funcs - -MY_PN=${PN}src - -DESCRIPTION="Uncompress rar files" -HOMEPAGE="http://www.rarlab.com/rar_add.htm" -SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" - -LICENSE="unRAR" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" -IUSE="" - -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" - -S=${WORKDIR}/unrar - -src_prepare() { - epatch "${FILESDIR}"/${PN}-5.0.2-build.patch - sed -i \ - -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \ - -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \ - makefile || die -} - -src_compile() { - unrar_make() { - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" - } - - unrar_make CXXFLAGS+=" -fPIC" lib - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname) - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV}) - - # The stupid code compiles a lot of objects differently if - # they're going into a lib (-DRARDLL) or into the main app. - # So for now, we can't link the main app against the lib. - unrar_make clean - unrar_make -} - -src_install() { - dobin unrar - dodoc readme.txt - - dolib.so libunrar* - - insinto /usr/include/libunrar${PV%.*.*} - doins *.hpp - dosym libunrar${PV%.*.*} /usr/include/libunrar -} diff --git a/app-arch/unrar/unrar-5.1.4.ebuild b/app-arch/unrar/unrar-5.1.4.ebuild deleted file mode 100644 index ae1fd46027c4..000000000000 --- a/app-arch/unrar/unrar-5.1.4.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-5.1.4.ebuild,v 1.2 2014/05/09 00:10:05 ottxor Exp $ - -EAPI=5 -inherit eutils flag-o-matic multilib toolchain-funcs - -MY_PN=${PN}src - -DESCRIPTION="Uncompress rar files" -HOMEPAGE="http://www.rarlab.com/rar_add.htm" -SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" - -LICENSE="unRAR" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="" - -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" - -S=${WORKDIR}/unrar - -src_prepare() { - epatch "${FILESDIR}"/${PN}-5.0.2-build.patch - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" ) - if [[ ${CHOST} == *-darwin* ]] ; then - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" ) - else - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" ) - fi - sed -i "${sed_args[@]}" makefile -} - -src_compile() { - unrar_make() { - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" - } - - unrar_make CXXFLAGS+=" -fPIC" lib - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname) - ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV}) - - # The stupid code compiles a lot of objects differently if - # they're going into a lib (-DRARDLL) or into the main app. - # So for now, we can't link the main app against the lib. - unrar_make clean - unrar_make -} - -src_install() { - dobin unrar - dodoc readme.txt - - dolib.so libunrar* - - insinto /usr/include/libunrar${PV%.*.*} - doins *.hpp - dosym libunrar${PV%.*.*} /usr/include/libunrar -} |