summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2024-04-12 07:43:17 +0200
committerSven Eden <sven.eden@prydeworx.com>2024-04-12 07:43:17 +0200
commited75c11600402c36dacf23138f6785f52808710c (patch)
tree633adfa99332f812f79fb30ff5d897f5fde27c91
parentwww-client/falkon: treeclean (diff)
downloadseden-ed75c11600402c36dacf23138f6785f52808710c.tar.gz
seden-ed75c11600402c36dacf23138f6785f52808710c.tar.bz2
seden-ed75c11600402c36dacf23138f6785f52808710c.zip
app-arch/7-zip: treeclean
Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
-rw-r--r--app-arch/7-zip/7-zip-23.01.ebuild69
-rw-r--r--app-arch/7-zip/Manifest4
-rw-r--r--app-arch/7-zip/files/7-zip-flags.patch31
-rw-r--r--app-arch/7-zip/metadata.xml15
4 files changed, 0 insertions, 119 deletions
diff --git a/app-arch/7-zip/7-zip-23.01.ebuild b/app-arch/7-zip/7-zip-23.01.ebuild
deleted file mode 100644
index 4ea2095..0000000
--- a/app-arch/7-zip/7-zip-23.01.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="A file archiver with a high compression ratio"
-HOMEPAGE="https://7-zip.org"
-SRC_URI="mirror://sourceforge/project/sevenzip/7-Zip/${PV}/7z$(ver_rs 1 '')-src.tar.xz"
-RESTRICT="mirror"
-S="${WORKDIR}"
-
-LICENSE="LGPL-2.1 BSD rar? ( unRAR )"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+asm rar static"
-
-RDEPEND="!app-arch/p7zip"
-DEPEND="${RDEPEND}"
-BDEPEND="
- asm? ( dev-lang/jwasm )
-"
-
-DOCS=(
- DOC/7zC.txt
- DOC/7zFormat.txt
- DOC/lzma.txt
- DOC/Methods.txt
- DOC/readme.txt
- DOC/src-history.txt
-)
-
-PATCHES=(
- "${FILESDIR}/7-zip-flags.patch"
-)
-
-src_prepare() {
- # Fix line endings so 7-zip-flags.patch
- sed -i \
- -e 's/\r$//' \
- CPP/7zip/7zip_gcc.mak C/7zip_gcc_c.mak \
- || die 'sed failed'
- default
-}
-
-src_compile() {
- local myemakeargs=(
- CFLAGS_BASE2="${CFLAGS}"
- CXXFLAGS_BASE2="${CXXFLAGS}"
- CFLAGS_WARN_WALL='-Wall -Wextra'
- IS_X64=1
- USE_ASM=$(usex asm 1 '')
- USE_JWASM=$(usex asm 1 '')
- COMPL_STATIC=$(usex static 1 '')
- O="${S}"
- DISABLE_RAR=$(usex rar '' 1)
- )
- tc-env_build emake \
- -C CPP/7zip/Bundles/Alone2 \
- -f makefile.gcc \
- "${myemakeargs[@]}"
-}
-
-src_install() {
- dobin 7zz$(usex static 's' '')
- dosym 7zz /usr/bin/7z
- einstalldocs
-}
diff --git a/app-arch/7-zip/Manifest b/app-arch/7-zip/Manifest
deleted file mode 100644
index 2766127..0000000
--- a/app-arch/7-zip/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX 7-zip-flags.patch 847 BLAKE2B 5f4a924072062a4ac02734024f325804b35c55685781405eeaa77d63081926610ad34ef7985a8907d99ca3b9a83232fb1570e1a12a8c87d4fdd83ea94513fabf SHA512 04b84cd06d676a77916e46102dd3023f0c3720a903fb8b4c3d5bfc987a41173690bfe464bd8a0cf77d9de5a94b2c77bebe3453017d5e8dac466b18c632a7840e
-DIST 7z2301-src.tar.xz 1378588 BLAKE2B 348484b24b39db70e513fe50d79954ea0e2dd669f83e3601fa796c8f0ca4734132ca20fac8cda9b8ba550bad9146627fc0ae07056abb99028ef6d825b6a533bd SHA512 e39f660c023aa65e55388be225b5591fe2a5c9138693f3c9107e2eb4ce97fafde118d3375e01ada99d29de9633f56221b5b3d640c982178884670cd84c8aa986
-EBUILD 7-zip-23.01.ebuild 1300 BLAKE2B 0f761040e9e7335705ea0c6a23918bd7fd19a89b3b9c46a13456c783343466befa284fba66b2e81497713a9b68962355f8bbcc7bb83f9ef6ae4bea493ccd3ba5 SHA512 4d474a0764918e72cf2a938eacd08c443f4ace5c6403d728b4b5c19ccfaed6c4dfd6f58ecbf504490b73425a8c5d2cebd48f45ba6b4b1207db47b5dd7096de9d
-MISC metadata.xml 462 BLAKE2B 1ecc051bc04749f4aff391d19eda5665763901d6ee5a5c2bd2874e73e06d9ef67af754fee26444a96026887c257e9c37c9290d7d91b6c27a64ec4f9a7f1d98fe SHA512 b36cbea6364b75a09b1ee28f68953bba8531ca9593ba106586fe4660799b0af57942220edb2d8250088f2db7060bb688895a41dc6836ca33913915a0e360b581
diff --git a/app-arch/7-zip/files/7-zip-flags.patch b/app-arch/7-zip/files/7-zip-flags.patch
deleted file mode 100644
index 0534b39..0000000
--- a/app-arch/7-zip/files/7-zip-flags.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/CPP/7zip/7zip_gcc.mak 2023-07-12 15:09:43.264812100 +0200
-+++ b/CPP/7zip/7zip_gcc.mak 2023-07-12 15:11:34.326817937 +0200
-@@ -142,7 +142,7 @@
-
- # LOCAL_LIBS=-lpthread
- # LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
--LIB2 = -lpthread -ldl
-+LIB2 = -lpthread -ldl -z noexecstack
-
-
- endif
-@@ -208,7 +208,7 @@
- # -Wl,--print-gc-sections
-
- ifneq ($(CC), $(CROSS_COMPILE)clang)
--LFLAGS_STRIP = -s
-+LFLAGS_STRIP =
- endif
-
- LFLAGS_ALL = $(LFLAGS_STRIP) $(MY_ARCH_2) $(LDFLAGS) $(FLAGS_FLTO) $(LD_arch) $(OBJS) $(MY_LIBS) $(LIB2)
---- a/C/7zip_gcc_c.mak 2023-07-12 15:41:03.355910913 +0200
-+++ b/C/7zip_gcc_c.mak 2023-07-12 15:41:35.353912595 +0200
-@@ -121,7 +121,7 @@
-
- # LOCAL_LIBS=-lpthread
- # LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
--LIB2 = -lpthread -ldl
-+LIB2 = -lpthread -ldl -z noexecstack
-
- DEL_OBJ_EXE = -$(RM) $(PROGPATH) $(PROGPATH_STATIC) $(OBJS)
-
diff --git a/app-arch/7-zip/metadata.xml b/app-arch/7-zip/metadata.xml
deleted file mode 100644
index a0d163c..0000000
--- a/app-arch/7-zip/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>sven@eden-worx.com</email>
- <name>Sven Eden</name>
- </maintainer>
- <use>
- <flag name="asm">Enable use of <pkg>dev-lang/jwasm</pkg>.</flag>
- <flag name="rar">Enable RAR unpack capabilities.</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">sevenzip</remote-id>
- </upstream>
-</pkgmetadata>