diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /x11-plugins/gkrellmoon | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'x11-plugins/gkrellmoon')
4 files changed, 60 insertions, 0 deletions
diff --git a/x11-plugins/gkrellmoon/Manifest b/x11-plugins/gkrellmoon/Manifest index 550df526920e..8f0cd1e5c1ab 100644 --- a/x11-plugins/gkrellmoon/Manifest +++ b/x11-plugins/gkrellmoon/Manifest @@ -1,4 +1,7 @@ AUX gkrellmoon-0.6-makefile.patch 798 BLAKE2B 2d1925d08e44e7fecab8bbf2c810e47c082d5ad7cbc94dccca88009585e825201bd007a87f7ecadba4b74b6ded2b5238e0a04d0949d2637db758065f04e379a9 SHA512 3e167144eca00fe855a7dd04a90b9a8eae7f3297d980fd838bd3391fa67f5e19af2de791e32669e24748552f33dcae8dd81766d43297d73c11e8ef16b1d74436 +AUX gkrellmoon-0.6-r3-include-stringh.patch 215 BLAKE2B cf7aa48b23f2196828b4e0d23a89c5f6074f5c6468d060e590fb175460ebcfb47c14096d0e1238d99f956092048df472b2a804f0dda56d3a746a77929ca4b56c SHA512 206fc699886bcfeb7c95c78a3cd3a958104c90fc981613af449183c5fa8c0993024063d9a7a43a3f389e7acbb8193403b5e4ea5163672ac5e26b813f8a8f9f61 +AUX gkrellmoon-0.6-r3-pkgconfig.patch 343 BLAKE2B 9dd91d5211957afa35070754e395ffd1efcfda5bb3631eeecb03f0bb6ced9de4f41d6938bedd8a1036502cb9fec38228e1a466e94f35997b39bae13f97cc49d4 SHA512 158a50c8569fbc012e7395b3858905563c258b0009666b4a7abb78d36cc5e4949ce6d97a10a01c4bc74fdaba4c095a819a750a0833350511a033a5b2fd285ea4 DIST gkrellmoon-0.6.tar.gz 55035 BLAKE2B 1b72ffbb3f08bc7264d86cb1ff76ec65d79a5552c4857758ea5caffa8023fc1be4ff9fdfcc812ac48284af66c97fd4e4c6e3c19c0725cb422664621e3bd3a40b SHA512 d0f1008b4501c412817168f751c1d948dc4fdda97572a85c950c7595dfdb0466be964a04ccd8eb31b1bfd83709607fe6cb422ec15d144ef8615dd9700adf127d EBUILD gkrellmoon-0.6-r2.ebuild 680 BLAKE2B 4a897690763097c88a1894c2da2dcf2f5730d3af143cb8440a424662631a23124643e403a88d6c806cc825648b94204643648649502c2aaecf1c812911ec4364 SHA512 61910e0b9d8d4cebdcfdd119f4aef6b2c3e48f0a3b109f255d15c0045efeb3c4ab3179b94e7c5e09256480a4319042249084bca3ff52d0b457692ff35f39d143 +EBUILD gkrellmoon-0.6-r3.ebuild 708 BLAKE2B 85f77b4c7d6b5e168fae335b25a6dd322036c3a687c59c7771f57ec5efebbf6586a6f83a1413a8b2fa54ee9d4ce376266fceeb78fc64301e6869e78cc073ff22 SHA512 b14b50c6ad75963f0732b3b48f7e299614cd1bcfde2935169fb09ccbe269bfe35943fc96c6bfd054dea3d710a869ca643614c3c5a8027eda004c5ef6501428c7 MISC metadata.xml 248 BLAKE2B 8dab82a6d0236055e054f2bc7f36caea9e7b113b0aab998e374681ebd8ad271bdc8588c4ad5bf11eb413e0984cb7cff7633c821bbfd2a6fbf25822f2ed9e5ac7 SHA512 a473fc9e669adb26f81e0223e6849d9afd5fcb0561ed81b6576d7b330184b6d2a1a92e32208155d8c405ae7f8eedf887e007b2fdb010ffe9011665cad26489c2 diff --git a/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch new file mode 100644 index 000000000000..fc07da13f75b --- /dev/null +++ b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-include-stringh.patch @@ -0,0 +1,14 @@ +Include string.h +--- a/CalcEphem.h ++++ b/CalcEphem.h +@@ -13,6 +13,7 @@ + #include <glib.h> + + #include <stdio.h> ++#include <string.h> + #include <math.h> + + #define DegPerRad 57.29577951308232087680 +-- +2.34.1 + diff --git a/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch new file mode 100644 index 000000000000..80f7fa1a9a3e --- /dev/null +++ b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-r3-pkgconfig.patch @@ -0,0 +1,12 @@ +Respect user's pkg-config +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,6 @@ +-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags` +-GTK_LIB = `pkg-config gtk+-2.0 --libs` ++PKG_CONFIG ?= pkg-config ++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags) ++GTK_LIB = $(shel ${PKG_CONFIG} gtk+-2.0 --libs) + + INSTALLDIR = ${DESTDIR}/usr/lib/gkrellm2/plugins + diff --git a/x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild new file mode 100644 index 000000000000..35005ac0c50a --- /dev/null +++ b/x11-plugins/gkrellmoon/gkrellmoon-0.6-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="A GKrellM2 plugin of the famous wmMoonClock dockapp" +HOMEPAGE="http://gkrellmoon.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellmoon/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + app-admin/gkrellm:2[X] + media-libs/imlib2" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-r3-pkgconfig.patch + "${FILESDIR}"/${P}-r3-include-stringh.patch +) + +src_compile() { + tc-export PKG_CONFIG + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} |