grafx2: update to 2.6.

This commit is contained in:
Christian Buschau 2019-01-12 20:25:45 +01:00 committed by maxice8
parent 51a653167f
commit 1527c38121

View file

@ -1,13 +1,14 @@
# Template file for 'grafx2' # Template file for 'grafx2'
pkgname=grafx2 pkgname=grafx2
version=2.5 version=2.6
revision=1 revision=1
_recoil_version=4.2.0 _recoil_version=4.3.1
wrksrc="grafX2-v${version}" wrksrc="grafX2-v${version}"
build_wrksrc="src" build_wrksrc="src"
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="API=sdl2"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="SDL_image-devel SDL_ttf-devel fontconfig-devel lua-devel" makedepends="SDL2_image-devel SDL2_ttf-devel fontconfig-devel lua-devel"
depends="desktop-file-utils" depends="desktop-file-utils"
short_desc="Bitmap/pixel drawing program like Deluxe Paint" short_desc="Bitmap/pixel drawing program like Deluxe Paint"
maintainer="allan <mail@may.mooo.com>" maintainer="allan <mail@may.mooo.com>"
@ -15,9 +16,9 @@ license="GPL-2.0-only"
homepage="http://grafx2.chez.com/" homepage="http://grafx2.chez.com/"
#changelog="http://grafx2.chez.com/index.php?article9/2010s" #changelog="http://grafx2.chez.com/index.php?article9/2010s"
distfiles="https://gitlab.com/GrafX2/grafX2/-/archive/v${version}/grafX2-v${version}.tar.gz distfiles="https://gitlab.com/GrafX2/grafX2/-/archive/v${version}/grafX2-v${version}.tar.gz
https://sourceforge.net/projects/recoil/files/recoil/${_recoil_version}/recoil-${_recoil_version}.tar.gz" ${SOURCEFORGE_SITE}/recoil/${_recoil_version}/recoil-${_recoil_version}.tar.gz"
checksum="5ae1ee5ff34eab3955d140ca02a00808c730cd0848ed39b2f0c5592df0a23684 checksum="1d679216e481b0c22d1d160eb1f66ed6ef2c1ec4eda6f5c0f2ec406d16045534
4e8c8e3048b143654da49cc1187a0b26679c9f97f841edc0ba9e0b2e2e7f18e5" 8f64fd21bafa180e6cbac5853ef65453f080385b3c53600af8360e938668e574"
post_extract() { post_extract() {
mv ../recoil-${_recoil_version} 3rdparty/ mv ../recoil-${_recoil_version} 3rdparty/
@ -30,7 +31,7 @@ pre_build() {
} }
do_install() { do_install() {
vbin ../bin/grafx2 vbin ../bin/grafx2-sdl2 grafx2
vman ../misc/unix/grafx2.1 vman ../misc/unix/grafx2.1
vinstall ../misc/unix/grafx2.desktop 644 usr/share/applications vinstall ../misc/unix/grafx2.desktop 644 usr/share/applications
vinstall ../misc/unix/grafx2.xpm 644 usr/share/pixmaps vinstall ../misc/unix/grafx2.xpm 644 usr/share/pixmaps