diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-12 01:06:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-12 01:06:33 +0000 |
commit | 5c273534e10d0e86a5941f9ba9c4ed87b90f0dd1 (patch) | |
tree | 6fc2a78d8d62da19b832c6506988b3c5bcccf6f4 /app-arch/unar/unar-1.10.8.ebuild | |
parent | 427aed27427f356a75db3288d7b96ce7e2a044b2 (diff) |
gentoo auto-resync : 12:01:2024 - 01:06:32
Diffstat (limited to 'app-arch/unar/unar-1.10.8.ebuild')
-rw-r--r-- | app-arch/unar/unar-1.10.8.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-arch/unar/unar-1.10.8.ebuild b/app-arch/unar/unar-1.10.8.ebuild new file mode 100644 index 000000000000..8192fdaf82b2 --- /dev/null +++ b/app-arch/unar/unar-1.10.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +S="${WORKDIR}/XADMaster-${PV}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-arch/bzip2:= + dev-libs/icu:= + gnustep-base/gnustep-base:= + media-sound/wavpack + sys-libs/zlib" +DEPEND=" + ${RDEPEND} + gnustep-base/gnustep-make[native-exceptions]" + +PATCHES=( "${FILESDIR}"/${P}-Wint-conversion.patch ) + +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 +} |