commit: 49f4ffe25cf9a1da05d862cd8b477016d7f7f7bc Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Mar 30 11:13:51 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Mar 30 11:13:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f4ffe2
app-arch/unrar: drop 7.1.3, 7.1.4 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> app-arch/unrar/Manifest | 2 - app-arch/unrar/unrar-7.1.3.ebuild | 79 --------------------------------------- app-arch/unrar/unrar-7.1.4.ebuild | 79 --------------------------------------- 3 files changed, 160 deletions(-) diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index de9566b4236e..2025346a683f 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -1,4 +1,2 @@ -DIST unrar-7.1.3.tar.gz 266820 BLAKE2B c18f9ef0208c893a6c4ff1ac0df7abcd54216f2f6341a08083af695729cba6773ee1de74af8b0fc1fce94e90ce1cbbf14fbe34ad0c8f1a3dcd6a3598b978c706 SHA512 210a4c65e5c3f3a3f9561a8fab805b6a6a182ac6274f8671d22020076873952b92cb8cc2523943df20a97ed01415b38e2bb59082f03dd5f7da0d6e85dc9193d4 -DIST unrar-7.1.4.tar.gz 267194 BLAKE2B 926d45f61877878a8a7c998717526e8b10b70c6832b3761a6af6f4897f00c6edfd946b51b9a8e471affbb7e79dc166a952057f08aca9d128a18397446b8b767c SHA512 f1a9485f9d9bb7bb87779cfd442114c22c316423771d644251688e631232b516ee800bbf9bfecde53c429cb1a121b3de57e230f3fc08c27784d60d5587516d38 DIST unrar-7.1.5.tar.gz 267528 BLAKE2B ec3720159f0c4873b839c63d92f062a73073589d130a6caf189c2d958aacd50f5a8b044fffcf87abe44bb5904e1682ce61d6eaa6b259978dc3ad6cc4900afc17 SHA512 378bd29e6c89d7a11891947967f8235db4690155c91af7b6da0ef3dac4ead34fa5818ead997e3068929b2a4f0f26eb29c0febb41ef093a771eea63ab00e0c36d DIST unrar-7.1.6.tar.gz 267638 BLAKE2B 29940a5219b40ef6385c3dfb142c34c08560f42915e2fba91a9a61d0166fbfaf6048672c31755fb5e734b3cc609156e5b06712213334780e3b8a1d4e43dfd42d SHA512 b56213d7df87970da66170d1bae7baffc591169b80db06d2dfd0d07644f467b252d6623aa153684b360ce9a092e93a5560330f7b9c14dd3ff7269741b17bb90c diff --git a/app-arch/unrar/unrar-7.1.3.ebuild b/app-arch/unrar/unrar-7.1.3.ebuild deleted file mode 100644 index 27dca751447a..000000000000 --- a/app-arch/unrar/unrar-7.1.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib toolchain-funcs - -MY_PN="${PN}src" - -DESCRIPTION="Uncompress rar files" -HOMEPAGE="https://www.rarlab.com/rar_add.htm" -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/unrar" - -LICENSE="unRAR" -SLOT="0/7" # subslot = soname version -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -PATCHES=( "${FILESDIR}/${PN}-6.2.6-honor-flags.patch" ) - -src_prepare() { - default - - 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 || die -} - -src_configure() { - mkdir -p build-{lib,bin} || die - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die - cp build-{lib,bin}/Makefile || die -} - -src_compile() { - unrar_make() { - emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" - } - - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die - - unrar_make -C build-bin -} - -src_install() { - dobin build-bin/unrar - dodoc readme.txt - - dolib.so build-lib/libunrar* - - # unrar doesn't officially install headers, but unofficially, software - # depends on it anyway. There is no standard for where to install them, - # but the most common location (shared by nearly all vendors) is "unrar". - # FreeBSD alone uses "libunrar". Gentoo formerly used "libunrar6" and - # had a compat symlink for FreeBSD, then passed the compat location in - # ./configure scripts e.g. for sys-fs/rar2fs. Software in the wild - # seems to expect either "unrar" or "libunrar". - # See: https://bugs.gentoo.org/916036 - # - # We now use the "standard" (hah) location, and keep the compat symlink but - # change the destination. The version-suffixed location lacks utility, but - # we would keep it if we could, just in case -- unfortunately portage is - # buggy: https://bugs.gentoo.org/834600 - # - # Hopefully, no one has ever actually used it and therefore this does not - # matter. The odds are on our side, since it periodically changed location - # arbitrarily. - insinto /usr/include/unrar - doins *.hpp - dosym unrar /usr/include/libunrar - - find "${ED}" -type f -name "*.a" -delete || die -} diff --git a/app-arch/unrar/unrar-7.1.4.ebuild b/app-arch/unrar/unrar-7.1.4.ebuild deleted file mode 100644 index 355f68e21b19..000000000000 --- a/app-arch/unrar/unrar-7.1.4.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib toolchain-funcs - -MY_PN="${PN}src" - -DESCRIPTION="Uncompress rar files" -HOMEPAGE="https://www.rarlab.com/rar_add.htm" -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/unrar" - -LICENSE="unRAR" -SLOT="0/7" # subslot = soname version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -PATCHES=( "${FILESDIR}/${PN}-6.2.6-honor-flags.patch" ) - -src_prepare() { - default - - 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 || die -} - -src_configure() { - mkdir -p build-{lib,bin} || die - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die - cp build-{lib,bin}/Makefile || die -} - -src_compile() { - unrar_make() { - emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" - } - - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die - - unrar_make -C build-bin -} - -src_install() { - dobin build-bin/unrar - dodoc readme.txt - - dolib.so build-lib/libunrar* - - # unrar doesn't officially install headers, but unofficially, software - # depends on it anyway. There is no standard for where to install them, - # but the most common location (shared by nearly all vendors) is "unrar". - # FreeBSD alone uses "libunrar". Gentoo formerly used "libunrar6" and - # had a compat symlink for FreeBSD, then passed the compat location in - # ./configure scripts e.g. for sys-fs/rar2fs. Software in the wild - # seems to expect either "unrar" or "libunrar". - # See: https://bugs.gentoo.org/916036 - # - # We now use the "standard" (hah) location, and keep the compat symlink but - # change the destination. The version-suffixed location lacks utility, but - # we would keep it if we could, just in case -- unfortunately portage is - # buggy: https://bugs.gentoo.org/834600 - # - # Hopefully, no one has ever actually used it and therefore this does not - # matter. The odds are on our side, since it periodically changed location - # arbitrarily. - insinto /usr/include/unrar - doins *.hpp - dosym unrar /usr/include/libunrar - - find "${ED}" -type f -name "*.a" -delete || die -}