diff options
author | 2020-03-08 21:07:11 +0100 | |
---|---|---|
committer | 2020-03-09 17:52:30 +0200 | |
commit | 3d4f94ee163677e3d2bb2dcc27be8f1f0e52540e (patch) | |
tree | e4dd421eeafd441c92dfd037bf12937384f8c29b /app-arch/unar/unar-1.10.7.ebuild | |
parent | dev-libs/bemenu: 0.3.0 bump (diff) | |
download | gentoo-3d4f94ee163677e3d2bb2dcc27be8f1f0e52540e.tar.gz gentoo-3d4f94ee163677e3d2bb2dcc27be8f1f0e52540e.tar.bz2 gentoo-3d4f94ee163677e3d2bb2dcc27be8f1f0e52540e.zip |
app-arch/unar: bump to version 1.10.7
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Robin Hallabro-Kokko <robin@hallabro.nu>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-arch/unar/unar-1.10.7.ebuild')
-rw-r--r-- | app-arch/unar/unar-1.10.7.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-arch/unar/unar-1.10.7.ebuild b/app-arch/unar/unar-1.10.7.ebuild new file mode 100644 index 000000000000..dfaa376110b8 --- /dev/null +++ b/app-arch/unar/unar-1.10.7.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 +} |