games-puzzle/lpairs: drop 1.0.4-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
8e5ef49a91
commit
d6889b3b84
|
@ -1,2 +1 @@
|
|||
DIST lpairs-1.0.4.tar.gz 536625 BLAKE2B f020f50b47290b961d77335d567dd68bc009e0952e7ebd39d39c041fcc5a2d9e97d6827921b862dd3dd59c7bef0f11165356f41eda022d7583ca27f584e4b02b SHA512 637f9782c1c1faee3fe0d02adeeb7ea70704f1b625922e1ba086cd03e9a6cf1d61a082eff4753a2ec8be5fc7041bd029f193adf847a39e773e4eedd9eafb2b97
|
||||
DIST lpairs-1.0.5.tar.gz 557997 BLAKE2B 940482bc0b5cd209366d541fc4b936055741a7d3936b0f218c68a3ecf43ed0189bfe87fc52eefd85896cfe0b2ed592b1362581d93941a0fb73965cf4341cba6f SHA512 381c47969446b778c694f484647ab6a6bd41eb996e741a01a63f1b854c30f78c7e9f1043546a3b8649ec6db940cac3b7ae5ba3c23e6c9df2716a93e6f6d37324
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="A classical 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="nls sound"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl[sound?,video]
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's:$localedir:/usr/share/locale:' \
|
||||
-e 's:$(localedir):/usr/share/locale:' \
|
||||
configure po/Makefile.in.in || die
|
||||
# gcc5 doesn't like the way inline is used. just punt it. (bug #568684)
|
||||
sed -i -e 's/^inline//g' lpairs/{sdl.[ch],pairs.[ch]} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--datadir=/usr \
|
||||
$(use_enable nls) \
|
||||
$(usex sound '' --disable-sound)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doicon lpairs.png
|
||||
make_desktop_entry lpairs LPairs
|
||||
}
|
Loading…
Reference in New Issue