x11-misc/xscreensaver-app: EAPI=7
authorJeroen Roovers <jer@gentoo.org>
Tue, 31 Mar 2020 13:47:06 +0000 (15:47 +0200)
committerJeroen Roovers <jer@gentoo.org>
Tue, 31 Mar 2020 13:47:14 +0000 (15:47 +0200)
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/xscreensaver-app/xscreensaver-app-2.3-r4.ebuild [new file with mode: 0644]

diff --git a/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r4.ebuild b/x11-misc/xscreensaver-app/xscreensaver-app-2.3-r4.ebuild
new file mode 100644 (file)
index 0000000..02dacca
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs
+
+MY_PN=${PN/-a/.A}
+MY_PN=${MY_PN/xs/XS}
+MY_PN=${MY_PN/s/S}
+
+DESCRIPTION="XScreenSaver dockapp for the Window Maker window manager"
+HOMEPAGE="http://xscreensaverapp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/xscreensaverapp/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+       x11-libs/libdockapp
+       x11-libs/libX11
+"
+DEPEND="
+       ${CDEPEND}
+       virtual/pkgconfig
+       x11-base/xorg-proto
+"
+RDEPEND="
+       ${CDEPEND}
+       x11-misc/xscreensaver
+"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_prepare() {
+       rm configure.in || die
+       cp "${FILESDIR}"/${PN}-2.3-configure.ac configure.ac || die
+
+       default
+
+       eautoreconf
+}
+
+src_install() {
+       dobin ${MY_PN}
+       dodoc README NEWS ChangeLog TODO AUTHORS
+}