From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- games-board/xmahjongg/xmahjongg-3.7-r1.ebuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'games-board/xmahjongg/xmahjongg-3.7-r1.ebuild') diff --git a/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild b/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild index e05ea7454d84..15198d767d8a 100644 --- a/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild +++ b/games-board/xmahjongg/xmahjongg-3.7-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils +EAPI=7 + +inherit autotools desktop DESCRIPTION="friendly GUI version of xmahjongg" HOMEPAGE="http://www.lcdf.org/xmahjongg/" @@ -11,21 +12,22 @@ SRC_URI="http://www.lcdf.org/xmahjongg/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="" RDEPEND="x11-libs/libX11" DEPEND="${RDEPEND} x11-libs/libXt" +PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) + src_prepare() { default - sed -i \ - -e '/X_PRE_LIBS/s:-lSM -lICE::' \ - configure || die + mv configure.{in,ac} || die + eautoreconf } src_install() { default + newicon share/tiles/small.gif ${PN}.gif make_desktop_entry xmahjongg "Xmahjongg" /usr/share/pixmaps/${PN}.gif } -- cgit v1.2.3