You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
866 B
50 lines
866 B
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
|
inherit desktop gnome2-utils
|
||
13 years ago
|
|
||
6 years ago
|
DESCRIPTION="Graphical implementation of the sliding puzzle game fifteen"
|
||
13 years ago
|
HOMEPAGE="https://frigidcode.com/code/gfifteen/"
|
||
|
SRC_URI="https://frigidcode.com/code/gfifteen/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
|
RDEPEND="x11-libs/gtk+:3"
|
||
|
DEPEND="${RDEPEND}
|
||
6 years ago
|
virtual/pkgconfig
|
||
|
"
|
||
13 years ago
|
|
||
10 years ago
|
src_prepare() {
|
||
6 years ago
|
default
|
||
10 years ago
|
# make it compile against newer gtk+:3 (bug #536994)
|
||
|
sed -i \
|
||
|
-e 's/-DGTK_DISABLE_DEPRECATED=1 //' \
|
||
|
Makefile.in || die
|
||
|
}
|
||
|
|
||
13 years ago
|
src_configure() {
|
||
6 years ago
|
econf --disable-assembly
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
10 years ago
|
default
|
||
|
doicon -s scalable ${PN}.svg
|
||
13 years ago
|
domenu gfifteen.desktop
|
||
|
}
|
||
10 years ago
|
|
||
|
pkg_preinst() {
|
||
|
gnome2_icon_savelist
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
gnome2_icon_cache_update
|
||
|
}
|