diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-19 23:10:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-19 23:10:29 +0100 |
commit | 318828e81fe6707ce5a64e6a59a76d4c0ca709f8 (patch) | |
tree | cc4b7818f7960cb193ad2bf7f7defe71adb3ee47 /x11-plugins/wmtimer | |
parent | 590c04803f88a968b4a750c0f420eb314e1fe968 (diff) |
gentoo auto-resync : 19:09:2023 - 23:10:29
Diffstat (limited to 'x11-plugins/wmtimer')
-rw-r--r-- | x11-plugins/wmtimer/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmtimer/wmtimer-2.92-r3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/x11-plugins/wmtimer/Manifest b/x11-plugins/wmtimer/Manifest index 6b9aff14d22c..2f47dfd39ddb 100644 --- a/x11-plugins/wmtimer/Manifest +++ b/x11-plugins/wmtimer/Manifest @@ -3,4 +3,5 @@ AUX wmtimer-2.92-gcc-10.patch 819 BLAKE2B 9b8a57e4ba07231a6ec038d84908aa0166ef46 AUX wmtimer-2.92-list.patch 3323 BLAKE2B ac61e7129f7883d3046ff0be7b23c817decc76deafc5eb1de8953afe0a0aa418a11f857f684f185c29cb72760d1f0619d045e2a294b185ce544db72a5d5e49fa SHA512 f7001d64ea1097a79b6b3b7d5b64cfd930d06567f8734b55868a04370480e469e5dffecec38ca421550235f2b0f84217efbd8ab278e0d44cacf37c723c626dd7 DIST wmtimer-2.92.tar.gz 22091 BLAKE2B 7e8f598708a70168233aa4545fc9978fab9ea6891a02f618f1bdafa08bbc3ed077183c19f467c70637b07fa501f40bd2409bdb3e60034888296895b9ff3f35f1 SHA512 d00e2eff92c89b1a848d2319f62b2f060f4ced1299440aa20ca4288b5bdd16f7cff625907f6587514a1618fec74e5be34fb6c923cec51a663cd9efc86c6f0a07 EBUILD wmtimer-2.92-r2.ebuild 1135 BLAKE2B 5b2ac05094859ba9c714566286704a1e2accf5d6f6b450589dd141234730fe37bbb3a2d4e6456f167dee60f335a604049bac5ee59fcef63db6a3029078c9638a SHA512 acca770306b20d869f81a17afd8cbaed50d3f2ca64522600af5312159d310b485c238bd5cca327fb3de1b456798a7bf31e07ed175a35153401b49f61c6bdd677 +EBUILD wmtimer-2.92-r3.ebuild 1134 BLAKE2B 4ef07d06f2a09fa57ad646e3ede74da6e0b72e574bc9c143b944eca8761823b0632ef2063800c987d54e139d501057a1d9ef05ddd8f801077f06c35330715f1b SHA512 3806a6704b262d72cf4c9e7cd2fa68cf0c0b589a32f15ec6bdf067b2e749cf2e9e5006d2059af122ff44aa3cc1a6de9252511c0b8fea9c38af14bef858683149 MISC metadata.xml 590 BLAKE2B 3b6caf4bd7c8a554371a56b4018af8baebc42dc395875972c774dbd9fa3b076e3f83717d6ad704679ecee80f6ce38b137a7953de76ae3bcaffa5b6bb4236508d SHA512 5746b739469ef4b305d1bf50c18f2bba668733e37067bd4409623055fb344de707dc69fc85831fdab648e6a828f9f9cd7977747b9c965bff56bfc35a4790b411 diff --git a/x11-plugins/wmtimer/wmtimer-2.92-r3.ebuild b/x11-plugins/wmtimer/wmtimer-2.92-r3.ebuild new file mode 100644 index 000000000000..104d816e18ee --- /dev/null +++ b/x11-plugins/wmtimer/wmtimer-2.92-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode" +HOMEPAGE="https://github.com/bbidulock/wmtimer" +SRC_URI="https://github.com/bbidulock/wmtimer/releases/download/v${PV}/${P}.tar.gz" +S="${WORKDIR}/${P}/${PN}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=">=dev-libs/glib-2 + x11-libs/gtk+:2 + x11-libs/libXpm + x11-libs/libXext + x11-libs/libX11" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + sed -i -e "s|\$(CFLAGS)||" Makefile || die + sed -i -e "s|-g||g" Makefile || die + sed -i -e "s|-O2|\$(CFLAGS) ${CFLAGS}|" Makefile || die + sed -i -e "s|-o wmtimer|\$(LDFLAGS) -o wmtimer|" Makefile || die + + cd "${WORKDIR}"/${P} || die + eapply "${FILESDIR}"/${P}-counter-fix.patch + eapply "${FILESDIR}"/${P}-list.patch + eapply "${FILESDIR}"/${P}-gcc-10.patch + eapply_user +} + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)" +} + +src_install() { + dobin wmtimer + dodoc ../{Changelog,CREDITS,README} +} |