From 590b9b7b03bf4651e099949e318755af7cfa81b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Aug 2021 22:03:23 +0100 Subject: gentoo resync : 01.08.2021 --- games-puzzle/lpairs/lpairs-1.0.5.ebuild | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 games-puzzle/lpairs/lpairs-1.0.5.ebuild (limited to 'games-puzzle/lpairs/lpairs-1.0.5.ebuild') diff --git a/games-puzzle/lpairs/lpairs-1.0.5.ebuild b/games-puzzle/lpairs/lpairs-1.0.5.ebuild new file mode 100644 index 000000000000..2b8156772c9e --- /dev/null +++ b/games-puzzle/lpairs/lpairs-1.0.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +DESCRIPTION="Classic memory game" +HOMEPAGE="http://lgames.sourceforge.net/LPairs/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+sound" + +RDEPEND=" + media-libs/libsdl[sound?,video] + virtual/libintl" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/gettext" + +src_prepare() { + default + + sed -i '/^inst_dir=/s|/games||' configure || die +} + +src_configure() { + # --enable-sound doesn't enable it, needs to be unspecified + econf $(usev !sound --disable-sound) +} + +src_install() { + default + + doicon ${PN}.png + make_desktop_entry ${PN} LPairs +} -- cgit v1.2.3