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
1.1 KiB
50 lines
1.1 KiB
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 autotools flag-o-matic
|
||
13 years ago
|
|
||
|
DESCRIPTION="A puzzle game where the player has to arrange balls in triplets"
|
||
8 years ago
|
HOMEPAGE="https://sourceforge.net/projects/zaz/"
|
||
13 years ago
|
SRC_URI="mirror://sourceforge/zaz/${P}.tar.bz2"
|
||
|
|
||
10 years ago
|
LICENSE="GPL-3 GPL-3+ CC-BY-SA-3.0 OFL"
|
||
13 years ago
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE="nls"
|
||
|
|
||
6 years ago
|
RDEPEND="
|
||
|
virtual/opengl
|
||
13 years ago
|
virtual/glu
|
||
11 years ago
|
media-libs/libsdl[X,sound,video]
|
||
13 years ago
|
media-libs/sdl-image[jpeg,png]
|
||
|
media-libs/libvorbis
|
||
|
media-libs/libtheora
|
||
|
media-libs/ftgl
|
||
6 years ago
|
virtual/libintl
|
||
|
"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
13 years ago
|
virtual/pkgconfig
|
||
6 years ago
|
nls? ( sys-devel/gettext )
|
||
|
"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
13 years ago
|
local x=/usr/share/gettext/po/Makefile.in.in
|
||
|
[[ -e $x ]] && cp -f $x po/ #336119
|
||
|
|
||
6 years ago
|
eapply "${FILESDIR}"/${P}-build.patch
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
10 years ago
|
append-libs -lvorbis
|
||
|
append-cflags $(pkg-config sdl --cflags)
|
||
|
append-cxxflags $(pkg-config sdl --cflags)
|
||
6 years ago
|
econf \
|
||
13 years ago
|
--with-applicationdir=/usr/share/applications \
|
||
|
--with-icondir=/usr/share/pixmaps \
|
||
|
--localedir=/usr/share/locale \
|
||
|
$(use_enable nls)
|
||
|
}
|