Diff tuxpaint-0.9.27-r1 with a tuxpaint-0.9.28-r2
/usr/portage/media-gfx/tuxpaint/tuxpaint-0.9.28-r2.ebuild 2023-10-09 14:52:31.652368405 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
6 | 6 |
inherit desktop optfeature toolchain-funcs xdg |
7 | 7 | |
8 | 8 |
DESCRIPTION="Drawing program designed for young children" |
9 |
HOMEPAGE="http://www.tuxpaint.org/" |
|
10 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
|
9 |
HOMEPAGE="https://www.tuxpaint.org/" |
|
10 |
SRC_URI="mirror://sourceforge/${PN}/${P}-sdl1.tar.gz -> ${P}.tar.gz" |
|
11 |
S="${WORKDIR}"/${P}-sdl1 |
|
11 | 12 | |
12 | 13 |
LICENSE="GPL-2" |
13 | 14 |
SLOT="0" |
... | ... | |
19 | 20 |
gnome-base/librsvg:2 |
20 | 21 |
>=media-libs/libpng-1.2:0= |
21 | 22 |
>=media-libs/freetype-2:2 |
22 |
media-libs/libsdl[joystick] |
|
23 |
media-libs/libsdl[X,joystick] |
|
23 | 24 |
media-libs/sdl-image[png] |
24 | 25 |
media-libs/sdl-mixer |
25 | 26 |
media-libs/sdl-pango |
26 | 27 |
media-libs/sdl-ttf |
27 |
media-libs/sdl-gfx |
|
28 |
media-libs/sdl-gfx:= |
|
28 | 29 |
media-gfx/libimagequant |
30 |
sys-libs/zlib |
|
29 | 31 |
x11-libs/cairo |
30 | 32 |
" |
31 | 33 |
DEPEND="${RDEPEND}" |
... | ... | |
36 | 38 |
" |
37 | 39 | |
38 | 40 |
PATCHES=( |
39 |
"${FILESDIR}"/${P}-Makefile.patch |
|
41 |
"${FILESDIR}"/${PF}-Makefile.patch |
|
40 | 42 |
) |
41 | 43 | |
42 | 44 |
src_compile() { |
43 |
# parallel build may break things |
|
44 |
emake -j1 CC="$(tc-getCC)" LIBDIR="$(get_libdir)" |
|
45 |
emake CC="$(tc-getCC)" GENTOO_LIBDIR="$(get_libdir)" |
|
45 | 46 |
} |
46 | 47 | |
47 | 48 |
src_install() { |
48 |
emake -j1 DESTDIR="${D}" install |
|
49 |
emake DESTDIR="${D}" GENTOO_LIBDIR="$(get_libdir)" install |
|
49 | 50 |
local file size |
50 | 51 |
for file in data/images/icon[0-9]*x[0-9]*.png; do |
51 | 52 |
size=${file##*/icon} |
... | ... | |
53 | 54 |
newicon -s "${size}" "${file}" tux4kids-tuxpaint.png |
54 | 55 |
done |
55 | 56 |
newmenu src/tuxpaint.desktop tux4kids-tuxpaint.desktop |
57 |
docinto /usr/share/doc/${PF} |
|
56 | 58 |
dodoc docs/*.txt |
57 | 59 |
dodoc docs/en/*.txt |
58 | 60 |
} |