From 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2018 19:58:07 +0000 Subject: gentoo resync : 24.02.2018 --- x11-plugins/Manifest.gz | Bin 28833 -> 28833 bytes x11-plugins/asclock/Manifest | 2 +- x11-plugins/asclock/asclock-2.0.12-r1.ebuild | 64 ------------------------- x11-plugins/asclock/asclock-2.0.12-r2.ebuild | 67 +++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 65 deletions(-) delete mode 100644 x11-plugins/asclock/asclock-2.0.12-r1.ebuild create mode 100644 x11-plugins/asclock/asclock-2.0.12-r2.ebuild (limited to 'x11-plugins') diff --git a/x11-plugins/Manifest.gz b/x11-plugins/Manifest.gz index a4a203c77186..8007e0b93964 100644 Binary files a/x11-plugins/Manifest.gz and b/x11-plugins/Manifest.gz differ diff --git a/x11-plugins/asclock/Manifest b/x11-plugins/asclock/Manifest index da7ce9720ad4..35cb23a78dc9 100644 --- a/x11-plugins/asclock/Manifest +++ b/x11-plugins/asclock/Manifest @@ -1,4 +1,4 @@ AUX asclock-gcc41.patch 1528 BLAKE2B ec7f3e2361f06bd995128234fc60ceb9e3998054912f78a954eb05a04f376d231a59eb6e9d583940694f01388f81b0f0c2e33a098a2032d5e3917e629421ab57 SHA512 73d5edb1c3b1a287c9f00ad35491994f5d51bf0d5df2d81c3d428da0ed53eb4a73c0da1fe979d7479df103164e440b8a3472e18306c9fc5f85fd313d29f34b0d DIST asclock-2.0.12.tar.gz 111858 BLAKE2B acc5e25c268f013c30e7c35e5f162246839b6ffdd049e041e47bd9eee5a9fd6f62b27bb5f8eec157a2b19f6a930f9084531d3c1a7e9cd19cdfdd4ba33005f952 SHA512 408c0cbd7d8c19e8cda450ed1e3e0857dd908768557221b5707bda4eaa56170899bb3ecbe1d9f487ad7cbe7ebe36019cfe7a19f58dae2b918fb1179d67a8bb0e -EBUILD asclock-2.0.12-r1.ebuild 1496 BLAKE2B 5f08fd5163487fba9600cb36bb6a2531d9b9d524d5261e39f8d88f902b6935d993f25ab6c700fb524aac4ddc2eb068cca41428b4e00cd36496411ad8995d4fcd SHA512 8cc039e41a5165bde5548923d9ad11ba485a476290e61c095a8bb069357232e0031bebf2d037506fe04beb311ca96e7c875212f0599e18c5813fe4ce92faab7a +EBUILD asclock-2.0.12-r2.ebuild 1532 BLAKE2B 2db9ae879a505a671a09632e600dc3bb7532e45df4a7ff657c0dfc1fa75bccc305de48680bc3b131ce1f1d11869f7f3ed6732a8b5fd3f3571887d799d6d8b55a SHA512 9922077c2696a212c1208aa2e9f10f2b022426b7130f055f15c7f354c5e182208df8584366ce50779939cffca785262418683a46897753b0485079d9eebd23ae MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild b/x11-plugins/asclock/asclock-2.0.12-r1.ebuild deleted file mode 100644 index eb6bcd3414b2..000000000000 --- a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 -inherit eutils toolchain-funcs - -IUSE="" -DESCRIPTION="Clock applet for AfterStep" -SRC_URI="http://www.tigr.net/afterstep/download/asclock/${P}.tar.gz" -HOMEPAGE="http://tigr.net/afterstep/applets/" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" - -DEPEND="x11-libs/libXpm" -RDEPEND="${DEPEND} - x11-proto/xextproto - x11-proto/xproto" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-gcc41.patch - ln -s themes/classic default_theme -} - -src_configure() { :; } - -src_compile() { - local x - # will break Solaris - [[ ${CHOST} == *-linux-gnu ]] && CFLAGS="${CFLAGS} \ - -Dlinux \ - -D_POSIX_C_SOURCE=199309L \ - -D_POSIX_SOURCE \ - -D_XOPEN_SOURCE" - for x in asclock parser symbols config - do - $(tc-getCC) \ - ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \ - -I"${EPREFIX}"/usr/include \ - -D_BSD_SOURCE \ - -D_SVID_SOURCE \ - -DFUNCPROTO=15 \ - -DNARROWPROTO \ - -c -o ${x}.o ${x}.c || die "compile asclock failed" - done - $(tc-getCC) \ - ${LDFLAGS} \ - -o asclock \ - asclock.o parser.o symbols.o config.o \ - -L"${EPREFIX}"/usr/lib \ - -L"${EPREFIX}"/usr/lib/X11 \ - -lXpm -lXext -lX11 || die "link asclock failed" -} - -src_install() { - dobin asclock - local themesdir="/usr/share/${PN}/themes" - insinto ${themesdir} - doins -r themes/* - dodoc README README.THEMES TODO - cd "${D}"/${themesdir} - rm -f Freeamp/Makefile{,.*} - ln -s classic default_theme -} diff --git a/x11-plugins/asclock/asclock-2.0.12-r2.ebuild b/x11-plugins/asclock/asclock-2.0.12-r2.ebuild new file mode 100644 index 000000000000..e7b14ca2e97a --- /dev/null +++ b/x11-plugins/asclock/asclock-2.0.12-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +IUSE="" +DESCRIPTION="Clock applet for AfterStep" +SRC_URI="http://www.tigr.net/afterstep/download/asclock/${P}.tar.gz" +HOMEPAGE="http://tigr.net/afterstep/applets/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" + +DEPEND="x11-libs/libXpm" +RDEPEND="${DEPEND} + x11-proto/xextproto + x11-proto/xproto" + +PATCHES=( "${FILESDIR}"/${PN}-gcc41.patch ) + +src_prepare() { + default + ln -s themes/classic default_theme +} + +src_configure() { :; } + +src_compile() { + local x + # will break Solaris + [[ ${CHOST} == *-linux-gnu ]] && CFLAGS="${CFLAGS} \ + -Dlinux \ + -D_POSIX_C_SOURCE=199309L \ + -D_POSIX_SOURCE \ + -D_XOPEN_SOURCE" + for x in asclock parser symbols config + do + $(tc-getCC) \ + ${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \ + -I"${EPREFIX}"/usr/include \ + -D_BSD_SOURCE \ + -D_SVID_SOURCE \ + -DFUNCPROTO=15 \ + -DNARROWPROTO \ + -c -o ${x}.o ${x}.c || die "compile asclock failed" + done + $(tc-getCC) \ + ${LDFLAGS} \ + -o asclock \ + asclock.o parser.o symbols.o config.o \ + -L"${EPREFIX}"/usr/lib \ + -L"${EPREFIX}"/usr/lib/X11 \ + -lXpm -lXext -lX11 || die "link asclock failed" +} + +src_install() { + dobin asclock + local themesdir="/usr/share/${PN}/themes" + insinto ${themesdir} + doins -r themes/* + dodoc README README.THEMES TODO + cd "${D}"/${themesdir} || die + rm -f Freeamp/Makefile{,.*} || die + ln -s classic default_theme || die +} -- cgit v1.2.3