diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-07-16 17:52:08 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-07-16 17:52:16 -0400 |
commit | 76fbdba5b4f8be84b1acdccdf4303d41093eb222 (patch) | |
tree | fb0d9d6de9840bc3b686bcaea72dda10fa7395da /app-arch/unrar | |
parent | www-apps/sonarr: fix logrotate (diff) | |
download | gentoo-76fbdba5b4f8be84b1acdccdf4303d41093eb222.tar.gz gentoo-76fbdba5b4f8be84b1acdccdf4303d41093eb222.tar.bz2 gentoo-76fbdba5b4f8be84b1acdccdf4303d41093eb222.zip |
app-arch/unrar: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-arch/unrar')
-rw-r--r-- | app-arch/unrar/Manifest | 1 | ||||
-rw-r--r-- | app-arch/unrar/unrar-6.2.6.ebuild | 62 |
2 files changed, 0 insertions, 63 deletions
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index 4b1625ef8058..112330a1b894 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -1,2 +1 @@ -DIST unrar-6.2.6.tar.gz 246212 BLAKE2B f12e8d2f6935feb06321660bffacc11af2fc14f011872b5af35df80cf881f3d21c39f211100351ffe7cf0e2134f3a26d0e9a3b8160a3474866aa433e092c5851 SHA512 c2dc4176426dd73cfcbb3af135f8eb44ad455ea29e0e45b23e6987dd33658530444e35598fd5ffae0e27a466a9e01daf4b167edd69a686b62fd3b5a0f3bf81f6 DIST unrar-6.2.8.tar.gz 246249 BLAKE2B 3766f7ebd0379835cff7cce8bb2deaf86d3de7c4a37d211d8a41effeb13a5a9efc53deabb5f10cd7f49d8e144cd9c1a93cce2ca3ae74e8a2142ab3ae97ab4759 SHA512 9b956d0c4b6a13f9ff4d9e57de7284dc879070746e3792e7640481a5b5b8336142b21c4d0c66c64627630cafbed0ff019a41b8f8536299ac7cbfdb933f92f75a diff --git a/app-arch/unrar/unrar-6.2.6.ebuild b/app-arch/unrar/unrar-6.2.6.ebuild deleted file mode 100644 index fdac85837474..000000000000 --- a/app-arch/unrar/unrar-6.2.6.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 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/6" # subslot = soname version -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -PATCHES=( "${FILESDIR}/${P}-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* - - insinto /usr/include/libunrar${PV%.*.*} - doins *.hpp - dosym libunrar${PV%.*.*} /usr/include/libunrar - - find "${ED}" -type f -name "*.a" -delete || die -} |