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/wmSpaceWeather | |
parent | 590c04803f88a968b4a750c0f420eb314e1fe968 (diff) |
gentoo auto-resync : 19:09:2023 - 23:10:29
Diffstat (limited to 'x11-plugins/wmSpaceWeather')
-rw-r--r-- | x11-plugins/wmSpaceWeather/Manifest | 1 | ||||
-rw-r--r-- | x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/x11-plugins/wmSpaceWeather/Manifest b/x11-plugins/wmSpaceWeather/Manifest index f1c634e67e78..8a482f9f63d6 100644 --- a/x11-plugins/wmSpaceWeather/Manifest +++ b/x11-plugins/wmSpaceWeather/Manifest @@ -4,4 +4,5 @@ AUX wmSpaceWeather-1.04_p19-getkp.patch 1213 BLAKE2B fee1aed8eec9ed13317a0ab43b8 DIST wmspaceweather_1.04-19.diff.gz 9429 BLAKE2B c32b02d123783789962ef56f54b79b7afacc69573526cd5254b7083673a5ae0d70abaa82d84421c86d95139f9033a35de6511d131f73ff1360d43d1d0e320979 SHA512 f8228c15642b88b355f977a8ce73b474bf8874b4b64bce3f519e6ec6c5de1db7bbd1e5f40e57e367dc0a1dec47e5c32b87d4ce61e35043d71cee0005b06a5a78 DIST wmspaceweather_1.04.orig.tar.gz 36295 BLAKE2B 8f12a4ba7dc55d06ab1b3c86f387c0f4dc930d89b8ccf151096d736adb80deaf647e47bb4592f309042e2273936996b215cb2fffe83dbbe20bd10d94b1b7c109 SHA512 d422806d44a2929cfdb3e36c7075a4e02b64416db7c528d08411944f574dc34bb5e5ee48c55a3b9e796b15529857bcb480dc650ebdfe23cf1079ba09e2749154 EBUILD wmSpaceWeather-1.04_p19-r1.ebuild 1533 BLAKE2B 212707fa911e22e74203d6a0013bcf2f4144f4970675700a834de2b098214a2e58cf9ee744ea90eb7ce6bc87480f594b4de1a84eb526dc06383e37a6da4a02f6 SHA512 d807b4560e43c1f64530e65322d2e26729fd9634c240bc18c6f0f6dde804a842529cfbb25957ffa109b9eb81527045f4eb79dddbbdacb791af19b102b54f82b3 +EBUILD wmSpaceWeather-1.04_p19-r2.ebuild 1536 BLAKE2B ea2a68c96f2768ce5681dcf6efaa50b6a91e03b7399c9ae339e73a4beda93f2264de16fe5f83593ccd230f2647e28a93c23e17d9b0868f7d2e9c42936a28e129 SHA512 6348aea3eac33d4abef07aee98bb80a51cf6a4e655b331eceda500aef5d96d9f3d3119e8ba8f48c3eb338fa5cf09fa2e40a8546ff58f39c24ab483a376cda99e MISC metadata.xml 253 BLAKE2B 8557c513beef73e834b0a000c523a3241da961c6307b6e98ac857dad0888c4bbd028c98f8499f01086c24e8f2f57c64bc75db20154dab232adefc2510fccac03 SHA512 67dd372ef7b684101d9198c6199a6403f8750132d80aab4f4daa4b31ebaea3d82eb9a18e904734e2ac10c77b237d67210055949ff1c6d5aad4f75951a096884a diff --git a/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r2.ebuild b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r2.ebuild new file mode 100644 index 000000000000..79419409b173 --- /dev/null +++ b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04_p19-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN="wmspaceweather" +MY_PV_ORIG="${PV/_p*}" +MY_PV_PATCH="${PV/_p/-}" +MY_P_ORIG="${MY_PN}_${MY_PV_ORIG}.orig" +MY_P_PATCH="${MY_PN}_${MY_PV_PATCH}.diff" + +DESCRIPTION="Dockapp showing weather at geosynchronous orbit" +HOMEPAGE="https://www.dockapps.net/wmspaceweather" +SRC_URI="mirror://debian/pool/main/w/${MY_PN}/${MY_P_ORIG}.tar.gz + mirror://debian/pool/main/w/${MY_PN}/${MY_P_PATCH}.gz" +S="${WORKDIR}/${MY_P_ORIG/_/-}/${PN}" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" + +DOCS=( ../{BUGS,CHANGES,HINTS,README} ) + +CDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${CDEPEND} + x11-base/xorg-proto" +RDEPEND="${CDEPEND} + net-misc/curl + dev-lang/perl" + +src_prepare() { + default + + cd .. || die + + eapply "${WORKDIR}"/${MY_P_PATCH} + eapply "${FILESDIR}"/${P}-gcc-10.patch + + # need to apply patches from Debian first, do NOT change the order + cd "${S}" || die + eapply -p2 ../debian/patches/*.dpatch + eapply "${FILESDIR}"/${P}-gentoo.patch + eapply "${FILESDIR}"/${P}-getkp.patch +} + +src_compile() { + emake clean + emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" +} + +pkg_postinst() { + elog "You need to emerge www-client/firefox or www-client/firefox-bin" + elog "to use the -url functionality - see man ${PN} for more info." + elog + elog "This version uses curl instead of wget. You may edit /usr/share/wmspaceweather/GetKp" + elog "if you don't like it." +} |