x11-plugins/asclock: drop 2.0.12-r4

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2025-10-14 16:49:50 +02:00
parent 0d7d6d579c
commit 9995a8a8f6
2 changed files with 0 additions and 75 deletions

View File

@@ -1,2 +1 @@
DIST asclock-2.0.12.tar.gz 111858 BLAKE2B acc5e25c268f013c30e7c35e5f162246839b6ffdd049e041e47bd9eee5a9fd6f62b27bb5f8eec157a2b19f6a930f9084531d3c1a7e9cd19cdfdd4ba33005f952 SHA512 408c0cbd7d8c19e8cda450ed1e3e0857dd908768557221b5707bda4eaa56170899bb3ecbe1d9f487ad7cbe7ebe36019cfe7a19f58dae2b918fb1179d67a8bb0e
DIST asclock_2.0.12.orig.tar.gz 111864 BLAKE2B 154cf78f905744342d9a2b822072642794e0de1f40fffa511e6bc105b71b13327632b1253698a262505219a5398e0aecddcd0be3edf87a0a377f137a58899f0d SHA512 33c0fc61b0438905c335fa14ace6e2c0e7e7cc1315ef55e248ae3bcaa404be143d0c0b79e0e35326977fcc85db9c26b2717003a12702ab4b16f429cc674127f9

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo toolchain-funcs
DESCRIPTION="Clock applet for AfterStep"
HOMEPAGE="http://tigr.net/afterstep/applets/"
SRC_URI="http://www.tigr.net/afterstep/download/asclock/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~mips ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
DEPEND="x11-libs/libXpm"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-gcc41.patch
"${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-fix-implicit-func-decl.patch
)
src_prepare() {
default
ln -s themes/classic default_theme || die
}
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
edo $(tc-getCC) \
${CPPFLAGS} ${CFLAGS} ${ASFLAGS} \
-I"${EPREFIX}"/usr/include \
-D_BSD_SOURCE \
-D_SVID_SOURCE \
-DFUNCPROTO=15 \
-DNARROWPROTO \
-c -o ${x}.o ${x}.c
done
edo $(tc-getCC) \
${LDFLAGS} \
-o asclock \
asclock.o parser.o symbols.o config.o \
-L"${ESYSROOT}/usr/$(get_libdir)" \
-L"${ESYSROOT}"/usr/lib/X11 \
-lXpm -lXext -lX11
}
src_install() {
dobin asclock
local themesdir="/usr/share/${PN}/themes"
insinto ${themesdir}
doins -r themes/*
dodoc README README.THEMES TODO
cd "${ED}"/${themesdir} || die
rm Freeamp/Makefile{,.*} || die
ln -s classic default_theme || die
}