tuxpaint: update to 0.9.28.

Also: move to SDL2.
This commit is contained in:
ologantr 2022-06-30 16:53:09 +02:00 committed by Piotr Wójcik
parent 8ccbb9c845
commit 12c4b776d3
2 changed files with 8 additions and 6 deletions

View File

@ -1,19 +1,20 @@
# Template file for 'tuxpaint'
pkgname=tuxpaint
version=0.9.27
version=0.9.28
revision=1
wrksrc="${pkgname}-${version}-sdl2"
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
conf_files="/etc/tuxpaint/tuxpaint.conf"
hostmakedepends="gettext gperf pkg-config ImageMagick"
makedepends="SDL-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel cairo-devel
SDL_gfx-devel fribidi-devel libimagequant-devel libpaper-devel librsvg-devel"
makedepends="SDL2-devel SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel cairo-devel
SDL2_gfx-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="http://www.tuxpaint.org/"
distfiles="${SOURCEFORGE_SITE}/tuxpaint/${version}/tuxpaint-${version}.tar.gz"
checksum=ab2b80e89df88228cd0ec0a6c90b49d543cb157aa38fb90cbd3a29f00140557a
homepage="https://www.tuxpaint.org/"
distfiles="${SOURCEFORGE_SITE}/tuxpaint/${version}/tuxpaint-${version}-sdl2.tar.gz"
checksum=4f1ed9330feab324070b93630d79ced50ccc4816ab76750119f012b5d904709d
replaces="tuxpaint-data>=0"
python_version=2

1
srcpkgs/tuxpaint/update Normal file
View File

@ -0,0 +1 @@
pattern='(?<!-)\b\Qtuxpaint\E[-_]?((src|source)[-_])?v?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig|\w+))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'