Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions srcpkgs/tuxpaint-config/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Template file for 'tuxpaint-config'
pkgname=tuxpaint-config
version=0.0.21
revision=1
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
make_install_args="PREFIX=/usr"
hostmakedepends="pkg-config gettext"
makedepends="fltk-devel libpaper-devel libunibreak-devel"
depends="tuxpaint"
short_desc="Configuration tool for Tux Paint"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://www.tuxpaint.org/"
changelog="https://tuxpaint.org/docs/tuxpaint-config-CHANGES.txt"
distfiles="${SOURCEFORGE_SITE}/tuxpaint/tuxpaint-config-${version}.tar.gz"
checksum=5287de38944c302a7eaa069c8f5de635b95d82912e6cdf195c66366bf3431ae8

post_install() {
# Install desktop file if not included
if [ ! -f "${DESTDIR}/usr/share/applications/tuxpaint-config.desktop" ]; then
vmkdir usr/share/applications
cat > "${DESTDIR}/usr/share/applications/tuxpaint-config.desktop" <<-EOF
[Desktop Entry]
Type=Application
Name=Tux Paint Config
Comment=Configure Tux Paint
Exec=tuxpaint-config
Icon=tuxpaint-config
Categories=Settings;
EOF
fi
}
5 changes: 3 additions & 2 deletions srcpkgs/tuxpaint-stamps/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Template file for 'tuxpaint-stamps'
pkgname=tuxpaint-stamps
version=2023.07.20
version=2025.05.26
revision=1
build_style=gnu-makefile
make_install_target="install-all"
short_desc="Stamps set for tuxpaint"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://www.tuxpaint.org/"
changelog="https://tuxpaint.org/docs/tuxpaint-stamps-CHANGES.txt"
distfiles="${SOURCEFORGE_SITE}/tuxpaint/tuxpaint-stamps/${version//./-}/tuxpaint-stamps-${version}.tar.gz"
checksum=0fb420617451759a4ddcd8bfe255e85c2b6c24e453f93da11da2d41698037842
checksum=09f4a29f8036c93a64c28134e3afaefb4b9d95a09a71e68fb7537f3c5f82949f

pre_configure() {
vsed -i Makefile -e 's,DATA_PREFIX=,&$(DESTDIR),'
Expand Down
39 changes: 0 additions & 39 deletions srcpkgs/tuxpaint/patches/0.9.31--cflags.patch

This file was deleted.

11 changes: 7 additions & 4 deletions srcpkgs/tuxpaint/template
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
# Template file for 'tuxpaint'
pkgname=tuxpaint
version=0.9.31
revision=3
version=0.9.35
revision=1
build_style=gnu-makefile
conf_files="/etc/tuxpaint/tuxpaint.conf"
hostmakedepends="gettext gperf pkg-config ImageMagick"
makedepends="SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel
SDL2_gfx-devel SDL2_Pango-devel
SDL2_gfx-devel SDL2_Pango-devel freetype-devel pango-devel
cairo-devel fribidi-devel libimagequant-devel libpaper-devel librsvg-devel"
short_desc="Free, award-winning drawing program for children ages 3 to 12"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://www.tuxpaint.org/"
changelog="https://tuxpaint.org/docs/CHANGES.txt"
distfiles="${SOURCEFORGE_SITE}/tuxpaint/${version}/tuxpaint-${version}.tar.gz"
checksum=1a85c04fa5c9ae6b3ffd2ca8fa86a84c0c8b462b5059fa1fc2c445b5cfa857ee
checksum=c1c18af91be77e94fdaab2c928204c4c39ba39ac5da2f441aaf2ecab6d8bd0ad
replaces="tuxpaint-data>=0"
CFLAGS="-D_GNU_SOURCE -D_POSIX_PRIORITY_SCHEDULING"

pre_build() {
vsed -i Makefile -e s,/etc/bash_completion.d,/usr/share/bash-completion/completions,
# Add freetype2 and pango include paths
export CFLAGS+=" $(pkg-config --cflags freetype2 pango)"
}

post_install() {
Expand Down