summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-03-03 15:53:06 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-03-13 23:05:51 +0100
commit72a572e59268980fb1cce7b1a83d29ace51a081c (patch)
tree0e6689c0e5ecf859c1361915109d151786b4eb4c /x11-misc/xteddy/xteddy-2.2.ebuild
parentmedia-video/cheese: Add missing patch (diff)
downloadgentoo-72a572e59268980fb1cce7b1a83d29ace51a081c.tar.gz
gentoo-72a572e59268980fb1cce7b1a83d29ace51a081c.tar.bz2
gentoo-72a572e59268980fb1cce7b1a83d29ace51a081c.zip
x11-misc/xteddy: EAPI 7
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/19754 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'x11-misc/xteddy/xteddy-2.2.ebuild')
-rw-r--r--x11-misc/xteddy/xteddy-2.2.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/x11-misc/xteddy/xteddy-2.2.ebuild b/x11-misc/xteddy/xteddy-2.2.ebuild
index 5924af617562..32e5717252ec 100644
--- a/x11-misc/xteddy/xteddy-2.2.ebuild
+++ b/x11-misc/xteddy/xteddy-2.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+inherit autotools
DESCRIPTION="A cuddly teddy bear (or other image) for your X desktop"
HOMEPAGE="http://webstaff.itn.liu.se/~stegu/xteddy/"
@@ -16,14 +16,17 @@ IUSE=""
RDEPEND="media-libs/imlib2[X,png]
x11-libs/libX11
x11-libs/libXext"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS README ChangeLog NEWS xteddy.README )
-src_prepare() {
- epatch "${FILESDIR}"/${P}-linking.patch
+PATCHES=(
+ "${FILESDIR}"/${P}-linking.patch
+)
+src_prepare() {
+ default
# Fix paths in xtoys script wrt bug #404899
sed -i -e "s:/usr/games:/usr/bin:" xtoys || die
eautoreconf