mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 06:57:59 +02:00
Bug: https://bugs.gentoo.org/877109 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/39983 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
37 lines
763 B
Bash
37 lines
763 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="a nifty little binary clock dockapp"
|
|
HOMEPAGE="https://www.dockapps.net/wmbinclock"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
|
|
|
RDEPEND="x11-libs/libX11
|
|
x11-libs/libXpm
|
|
x11-libs/libXext"
|
|
DEPEND="${RDEPEND}
|
|
x11-base/xorg-proto"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-0.5-gcc-10.patch
|
|
"${FILESDIR}"/${PN}-0.5-gcc-14.patch
|
|
)
|
|
DOCS=( CHANGELOG README.md )
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
|
|
INCDIR="-I/usr/include/X11" LIBDIR="" \
|
|
SYSTEM="${LDFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin wmBinClock
|
|
einstalldocs
|
|
}
|