diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2022-12-03 17:29:53 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-04 23:56:17 +0000 |
commit | ca9bceafa85cbe3ed4580ec8d09df7a8adc72ac9 (patch) | |
tree | b215e0c4ffab1186e2caa14203a1de83d3076c85 /x11-misc | |
parent | net-misc/bsdwhois: drop 1.43.2.1 (diff) | |
download | gentoo-ca9bceafa85cbe3ed4580ec8d09df7a8adc72ac9.tar.gz gentoo-ca9bceafa85cbe3ed4580ec8d09df7a8adc72ac9.tar.bz2 gentoo-ca9bceafa85cbe3ed4580ec8d09df7a8adc72ac9.zip |
x11-misc/trayer-srg: revbump, fix prestripping of files
Closes: https://bugs.gentoo.org/837260
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/trayer-srg/files/trayer-srg-1.1.8-avoid-prestripping-of-files.patch | 35 | ||||
-rw-r--r-- | x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild | 39 |
2 files changed, 74 insertions, 0 deletions
diff --git a/x11-misc/trayer-srg/files/trayer-srg-1.1.8-avoid-prestripping-of-files.patch b/x11-misc/trayer-srg/files/trayer-srg-1.1.8-avoid-prestripping-of-files.patch new file mode 100644 index 000000000000..9b60893e0d08 --- /dev/null +++ b/x11-misc/trayer-srg/files/trayer-srg-1.1.8-avoid-prestripping-of-files.patch @@ -0,0 +1,35 @@ +From 5414b1b6f89238d60e160f580ee36505b0988447 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Pascal=20J=C3=A4ger?= <pascal.jaeger@leimstift.de> +Date: Sat, 3 Dec 2022 17:24:58 +0100 +Subject: [PATCH] avoid prestripping of files +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Bug: https://bugs.gentoo.org/837260 + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> +--- + Makefile | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index d530e25..380b46f 100644 +--- a/Makefile ++++ b/Makefile +@@ -20,9 +20,9 @@ endif + TARGET = trayer + $(TARGET): $(OBJ) + $(CC) $(LDFLAGS) $(OBJ) -o $@ $(LIBS) +-ifeq (,$(DEVEL)) +- strip $@ +-endif ++# ifeq (,$(DEVEL)) ++# strip $@ ++# endif + + all: $(TARGET) + +-- +2.38.1 + diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild new file mode 100644 index 000000000000..66b135e9ea5f --- /dev/null +++ b/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="trayer fork with multi monitor support and cleaned up codebase" +HOMEPAGE="https://github.com/sargon/trayer-srg" +SRC_URI="https://github.com/sargon/${PN}/archive/${P/-srg/}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-trayer-${PV} + +LICENSE="MIT GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-libs/gdk-pixbuf:2 + dev-libs/glib:2 + x11-libs/gtk+:2 + x11-libs/libX11 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-avoid-prestripping-of-files.patch" ) + +src_configure() { + ./configure --prefix="${EPREFIX}" || die +} + +src_compile() { + emake TARGET=${PN} CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + einstalldocs +} |