diff options
author | Robin Hallabro-Kokko <robin@hallabro.nu> | 2020-01-07 13:10:13 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-01-22 12:52:53 +0200 |
commit | 8fcf6dad10cd78d673bef727554ea7f2e24e3db7 (patch) | |
tree | 184163f3f298b0f9d9658948bc0b111bf1405c8f /app-arch/unar | |
parent | Delete scapy-python3 (diff) | |
download | gentoo-8fcf6dad10cd78d673bef727554ea7f2e24e3db7.tar.gz gentoo-8fcf6dad10cd78d673bef727554ea7f2e24e3db7.tar.bz2 gentoo-8fcf6dad10cd78d673bef727554ea7f2e24e3db7.zip |
app-arch/unar: bump to 1.10.6
Bug: https://bugs.gentoo.org/702024
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Robin Hallabro-Kokko <robin@hallabro.nu>
Closes: https://github.com/gentoo/gentoo/pull/14274
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-arch/unar')
-rw-r--r-- | app-arch/unar/Manifest | 2 | ||||
-rw-r--r-- | app-arch/unar/metadata.xml | 15 | ||||
-rw-r--r-- | app-arch/unar/unar-1.10.6.ebuild | 60 |
3 files changed, 73 insertions, 4 deletions
diff --git a/app-arch/unar/Manifest b/app-arch/unar/Manifest index 49f94b1bf2a1..e680c9907253 100644 --- a/app-arch/unar/Manifest +++ b/app-arch/unar/Manifest @@ -1 +1,3 @@ +DIST XADMaster-1.10.6.tar.gz 2064628 BLAKE2B 34203e5280a8e450db616849a953eb9f5147c8fe2922fabdcfce8585fd4bbe2c3aad76921368818e546d60d64b9c59de942cb63008edec83efa29ce4f5caae7f SHA512 f6e51943fd3ced9d0a0a2189db0a7a45d7f59e8109e78406b8c434f568fb53d791613e51437996cb1debae7d4490cdfabc9fa1fdfcc621ad97a43770af6b13e8 DIST unar1.10.1_src.zip 2552535 BLAKE2B 678c90dae6572cf9de6f90d044de650d82293df3918eb298de27fe5a557efdda1c1da284c6829c667bb2812033627fcb1a31bf22318d277e9467ca965435f6b2 SHA512 2755f1e2dcca68912f748587f195887d785d5c30933ca0d7a7de1dd35c6c1c115571e49f462fe15722e1b34560f02503382727e1df19a1f23d4a3cc75750434e +DIST universal-detector-1.1.tar.gz 196274 BLAKE2B d84dc1f850031213d88c288341edcbb588197f23ae0d10632ed129e73e4cc2b7670c8c862bba2165fcc7421c265e4dc3e791ea188e3d2b647bd1ab9b428bb866 SHA512 e514670b3d37b2472ed3e9cb0fdc3298a8479772264b7573411f104be554222bec2e01f73e1f35db95620fe785bee2dcf9ddc9c2b1f4ff6b522fa64d14d020f5 diff --git a/app-arch/unar/metadata.xml b/app-arch/unar/metadata.xml index a7710862b88e..3d219340e5cb 100644 --- a/app-arch/unar/metadata.xml +++ b/app-arch/unar/metadata.xml @@ -1,8 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">MacPaw/XADMaster</remote-id> - </upstream> + <maintainer type="person"> + <email>robin@hallabro.nu</email> + <name>Robin Hallabro-Kokko</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">MacPaw/XADMaster</remote-id> + </upstream> </pkgmetadata> diff --git a/app-arch/unar/unar-1.10.6.ebuild b/app-arch/unar/unar-1.10.6.ebuild new file mode 100644 index 000000000000..dfaa376110b8 --- /dev/null +++ b/app-arch/unar/unar-1.10.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 toolchain-funcs + +DESCRIPTION="Unpacker for various archiving formats, e.g. rar v3" +HOMEPAGE="https://unarchiver.c3.cx/" +SRC_URI=" + https://github.com/MacPaw/XADMaster/archive/v${PV}/XADMaster-${PV}.tar.gz + https://github.com/MacPaw/universal-detector/archive/1.1/universal-detector-1.1.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + sys-devel/gcc[objc] +" +RDEPEND=" + app-arch/bzip2:= + dev-libs/icu:= + gnustep-base/gnustep-base + media-sound/wavpack + sys-libs/zlib +" +DEPEND="${RDEPEND} + ${BDEPEND} + gnustep-base/gnustep-make[native-exceptions] +" + +S="${WORKDIR}/XADMaster-${PV}" + +src_prepare() { + default + # avoid jobserver warning "make[1]: warning: jobserver unavailable: using -j1" + sed -i -e 's:make:$(MAKE):g' Makefile.linux || die + mv "${WORKDIR}/universal-detector-1.1" "${WORKDIR}/UniversalDetector" || die +} + +src_compile() { + emake -f Makefile.linux \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + OBJCC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + OBJCFLAGS="${CFLAGS}" \ + LD="$(tc-getCXX)" \ + LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}" +} + +src_install() { + dobin {ls,un}ar + doman Extra/{ls,un}ar.1 + dobashcomp Extra/{ls,un}ar.bash_completion +} |