TuxPain, add RC for new TuxPaint and stamps (#11224)

This commit is contained in:
Schrijvers Luc
2024-10-18 15:15:53 +02:00
committed by GitHub
parent 3e70dd890f
commit 9a65da65cd
2 changed files with 129 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
SUMMARY="Huge set of 'Rubber Stamp' images for Tux Paint"
DESCRIPTION="Tux Paint is a free, award-winning drawing program for children \
ages 3 to 12 (for example, preschool and K-6).
This package contains thousands of images - from animals to clothes, food, \
sports to vehicles - that can be used as rubber stamps with Tux Paint."
HOMEPAGE="http://www.tuxpaint.org/"
COPYRIGHT="2002-2024 Bill Kendrick and others"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/tuxpaint/files/tuxpaint-stamps/2024-10-XX-beta/tuxpaint-stamps-$portVersion.tar.gz"
CHECKSUM_SHA256="533d146862780dff70c9b8efa1988bd0df66ffe7d4b967efc867ed813cfc1000"
SOURCE_DIR="tuxpaint-stamps-$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
tuxpaint_stamps = $portVersion
"
BUILD_PREREQUIRES="
cmd:find
cmd:make
cmd:which
"
INSTALL()
{
mkdir -p $appsDir/TuxPaint/share/tuxpaint/
make install-all DATA_PREFIX=$appsDir/TuxPaint/share/tuxpaint/
}

View File

@@ -0,0 +1,97 @@
SUMMARY="Drawing program designed for young children"
DESCRIPTION="Tux Paint is a free, award-winning drawing program for children \
ages 3 to 12 (for example, preschool and K-6). Tux Paint is used \
in schools and around the world as a computer literacy drawing activity. \
It combines an easy-to-use interface, fun sound effects, and an \
encouraging cartoon mascot who guides children as they use the program."
HOMEPAGE="http://www.tuxpaint.org/"
COPYRIGHT="2002-2024 Bill Kendrick and others"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/tuxpaint/files/tuxpaint/${portVersion/\~rc1/-beta}/tuxpaint-${portVersion/\~/-}.tar.gz"
CHECKSUM_SHA256="f02a67c8934f38a43f23d92d0da2091f5dbb8b979881d60654f88ebb6f12cf65"
SOURCE_DIR="tuxpaint-${portVersion/\~/-}"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
USER_SETTINGS_FILES="
settings/TuxPaint directory
"
PROVIDES="
tuxpaint$secondaryArchSuffix = $portVersion
app:TuxPaint
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcairo$secondaryArchSuffix
lib:libfontconfig$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libfribidi$secondaryArchSuffix
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
lib:libgio_2.0$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgobject_2.0$secondaryArchSuffix
lib:libharfbuzz$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libimagequant$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libpangoft2_1.0$secondaryArchSuffix
lib:libpaper$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:librsvg_2$secondaryArchSuffix
lib:libSDL2_2.0$secondaryArchSuffix
lib:libSDL2_image_2.0$secondaryArchSuffix
lib:libSDL2_gfx_1.0$secondaryArchSuffix
lib:libSDL2_mixer_2.0$secondaryArchSuffix
lib:libSDL2_pango$secondaryArchSuffix
lib:libSDL2_ttf_2.0$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcairo$secondaryArchSuffix
devel:libfribidi$secondaryArchSuffix
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libimagequant$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libpaper$secondaryArchSuffix >= 2
devel:libpangoft2_1.0$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:librsvg_2$secondaryArchSuffix
devel:libSDL2_2.0$secondaryArchSuffix
devel:libSDL2_image_2.0$secondaryArchSuffix
devel:libSDL2_gfx$secondaryArchSuffix
devel:libSDL2_mixer_2.0$secondaryArchSuffix
devel:libSDL2_pango$secondaryArchSuffix
devel:libSDL2_ttf_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:convert
cmd:gcc$secondaryArchSuffix
cmd:gperf
cmd:ld$secondaryArchSuffix
cmd:make
cmd:msgfmt
cmd:msgmerge
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
make PREFIX=$appsDir/TuxPaint
}
INSTALL()
{
mkdir -p $appsDir/TuxPaint
make install PREFIX=$appsDir/TuxPaint
ln -s $appsDir/TuxPaint/bin/tuxpaint $appsDir/TuxPaint/TuxPaint
addAppDeskbarSymlink $appsDir/TuxPaint/bin/tuxpaint TuxPaint
}