diff options
Diffstat (limited to 'x11-misc/trayer-srg')
-rw-r--r-- | x11-misc/trayer-srg/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/trayer-srg/files/trayer-srg-1.1.8-avoid-prestripping-of-files.patch | 24 | ||||
-rw-r--r-- | x11-misc/trayer-srg/metadata.xml | 15 | ||||
-rw-r--r-- | x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild | 39 |
4 files changed, 77 insertions, 5 deletions
diff --git a/x11-misc/trayer-srg/Manifest b/x11-misc/trayer-srg/Manifest index d6927440a156..ac06b04efe1e 100644 --- a/x11-misc/trayer-srg/Manifest +++ b/x11-misc/trayer-srg/Manifest @@ -1,3 +1,5 @@ +AUX trayer-srg-1.1.8-avoid-prestripping-of-files.patch 418 BLAKE2B 184505920237aca82d6f8e12d73df6f80b47a35849339ebb019283f2be348b96448d9c279355761309ee5064c7a637f2e050e7d96b48e952a6735001406f6730 SHA512 e0d8d8a7251e693c44f7974231f391478847582ac9debd42939bcd3eb1c34ab50e6766ac34dde07d02bcb38320329f5a73868a510aca255df867bc8b3ab46a2a DIST trayer-srg-1.1.8.tar.gz 28025 BLAKE2B 3eca8faf7237e1941a611a85a4460310dda1a8d89cb96ae2ac7d77c47a7f8b4fa4bb1a2bcc549fef285ca14a74dce23d9af1b349bb5b0ff9d3bf4abe1ed06351 SHA512 5ae92fdcee64ad1ca59846874dcd4bd4859adeeb80a86f1ed97d62e6306f8ec62d1ee26dba251257242dc25d158a6a550e69f2fcc8739242a2311e37fe1ce310 EBUILD trayer-srg-1.1.8-r1.ebuild 733 BLAKE2B 059bb4b8896fd03bd4dfab5501afd14b12807c313649fb45de429649bb47f5df6935f0125831c7575f3156f874c83ae2b38480f844e936f917eac76e944d66d6 SHA512 e1368c5aa91c982d864f671b4072b84d5a999a191b97e696c744a9220e5a85f3055ba6f4b58ecdf5b062ba6661da5bba1ef1881377d438c5eea433af8c3edda1 -MISC metadata.xml 250 BLAKE2B 183552a2f861b4003230edf6c0eb30cf21c4fcb91ee7ab4df15980e9d75162431aa6e3fee0849aa657ce63c4234b9e453f702e8a6bed3670942290fba9c7cf3b SHA512 a01fbd281bd274d9714e95cf2d59840bdb983b5eebd9ddbfdfea6b2144cb15ef48919a0974c73f28c87d5b4a91f4b5e071665ef3ab0ee827a27414362b674613 +EBUILD trayer-srg-1.1.8-r2.ebuild 800 BLAKE2B 8350f8f6b749f3aa6fed5594401b8aa2065e4dcf9473c8f4be4c67550cd75e439ffcaef8b23aff5f1beb45b3ab633ea246c98f827e800a52d800672161796e3f SHA512 d2471e15a547bd2570d823a4ff358bbc44c575419a4d6375c5fc40c8e621b02bac6008ce6106cb0fea66997e189cb0a7a796bfb9d76a69c5413ed9a471f406fa +MISC metadata.xml 501 BLAKE2B 9251421498077d5a34ae6871270f908d51362cd42971b5c1ea4583c8643f26b7e64eed15cbd8396abc6093024df850aa0814748cd76794ecae8d94514d8adc41 SHA512 78dfec041f277181951f07716211407cf4f36ddf8ee8e6b75d7b865cc10cdbfb14d898ea39ed0f012a704c448be2b22290ebb19d272bf859bf6c14780e30c8ce 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..c0cc5a562da8 --- /dev/null +++ b/x11-misc/trayer-srg/files/trayer-srg-1.1.8-avoid-prestripping-of-files.patch @@ -0,0 +1,24 @@ +Date: Sat, 3 Dec 2022 17:24:58 +0100 +Subject: [PATCH] avoid prestripping of files + +Bug: https://bugs.gentoo.org/837260 + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> +--- 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/metadata.xml b/x11-misc/trayer-srg/metadata.xml index 652c2be274b3..a1757eadc52d 100644 --- a/x11-misc/trayer-srg/metadata.xml +++ b/x11-misc/trayer-srg/metadata.xml @@ -1,8 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">sargon/trayer-srg</remote-id> - </upstream> + <maintainer type="person" proxied="yes"> + <email>pascal.jaeger@leimstift.de</email> + <name>Pascal Jäger</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">sargon/trayer-srg</remote-id> + </upstream> </pkgmetadata> 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 +} |