Lines 1-22
Link Here
|
1 |
# Copyright 1999-2022 Gentoo Authors |
1 |
# Copyright 1999-2023 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=8 |
4 |
EAPI=8 |
5 |
|
5 |
WX_GTK_VER=3.2-gtk3 |
6 |
WX_GTK_VER=3.0-gtk3 |
|
|
7 |
inherit wxwidgets toolchain-funcs |
6 |
inherit wxwidgets toolchain-funcs |
8 |
|
7 |
|
9 |
DESCRIPTION="utilities for the SCUMM game engine" |
8 |
DESCRIPTION="utilities for the SCUMM game engine" |
10 |
HOMEPAGE="http://scummvm.sourceforge.net/" |
9 |
HOMEPAGE="https://www.scummvm.org/ https://github.com/scummvm/scummvm-tools" |
11 |
SRC_URI="http://scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz" |
10 |
if [[ ${PV} == *9999* ]]; then |
|
|
11 |
inherit git-r3 |
12 |
EGIT_REPO_URI="https://github.com/scummvm/scummvm-tools" |
13 |
else |
14 |
SRC_URI="https://downloads.scummvm.org/frs/scummvm-tools/${PV}/${P}.tar.xz" |
15 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
16 |
S=${WORKDIR}/${P/_/} |
17 |
fi |
12 |
|
18 |
|
13 |
LICENSE="GPL-2+" |
19 |
LICENSE="GPL-2+" |
14 |
SLOT="0" |
20 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
|
|
16 |
IUSE="flac iconv mad png vorbis" |
21 |
IUSE="flac iconv mad png vorbis" |
17 |
RESTRICT="test" # some tests require external files |
22 |
RESTRICT="test" # some tests require external files |
18 |
|
23 |
|
19 |
RDEPEND=" |
24 |
DEPEND=" |
20 |
dev-libs/boost:= |
25 |
dev-libs/boost:= |
21 |
sys-libs/zlib |
26 |
sys-libs/zlib |
22 |
x11-libs/wxGTK:${WX_GTK_VER} |
27 |
x11-libs/wxGTK:${WX_GTK_VER} |
Lines 26-33
Link Here
|
26 |
png? ( media-libs/libpng:= ) |
31 |
png? ( media-libs/libpng:= ) |
27 |
vorbis? ( media-libs/libvorbis ) |
32 |
vorbis? ( media-libs/libvorbis ) |
28 |
" |
33 |
" |
29 |
DEPEND=" |
34 |
RDEPEND=" |
30 |
${RDEPEND} |
35 |
${DEPEND} |
31 |
" |
36 |
" |
32 |
BDEPEND=" |
37 |
BDEPEND=" |
33 |
virtual/pkgconfig |
38 |
virtual/pkgconfig |
Lines 35-41
Link Here
|
35 |
|
40 |
|
36 |
PATCHES=( |
41 |
PATCHES=( |
37 |
"${FILESDIR}/${PN}-1.8.0-binprefix.patch" |
42 |
"${FILESDIR}/${PN}-1.8.0-binprefix.patch" |
38 |
"${FILESDIR}/${PN}-2.2.0-strings.patch" |
|
|
39 |
) |
43 |
) |
40 |
|
44 |
|
41 |
src_prepare() { |
45 |
src_prepare() { |