mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-15 11:28:13 +02:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
39 lines
729 B
Bash
39 lines
729 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit desktop
|
|
|
|
DESCRIPTION="Classic memory game"
|
|
HOMEPAGE="https://lgames.sourceforge.io/LPairs/"
|
|
SRC_URI="https://downloads.sourceforge.net/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
|
|
}
|