New package: azpainter-2.0.1

Closes: #5749 [via git-merge-pr]
This commit is contained in:
Alexander Mamay 2017-02-14 12:47:50 +06:00 committed by Duncaen
parent f0a6cc6e02
commit 0119bf7576
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- configure.ac.orig
+++ configure.ac
@@ -30,7 +30,7 @@
[AC_DEFINE([HAVE_PTHREAD_H], [1], [pthread.h])],
AC_MSG_ERROR(pthread.h not found))
-AC_CHECK_FILE("$freetype_dir/ft2build.h",,AC_MSG_ERROR([(freetype) ft2build.h not found]))
+
AC_CHECK_HEADER([fontconfig/fontconfig.h],,AC_MSG_ERROR(fontconfig.h not found))
AC_CHECK_HEADER([zlib.h],,AC_MSG_ERROR(zlib.h not found))
AC_CHECK_HEADER([png.h],,AC_MSG_ERROR(png.h not found))

View file

@ -0,0 +1,19 @@
# Template file for 'azpainter'
pkgname=azpainter
version=2.0.1
revision=1
build_style=gnu-configure
hostmakedepends="automake"
makedepends="fontconfig-devel libjpeg-turbo-devel libXi-devel"
short_desc="A full-color painting software for illustration drawing"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-3"
homepage="http://azsky2.html.xdomain.jp/linux/azpainter/"
distfiles="http://osdn.dl.osdn.net/azpainter/67071/azpainter-${version}.tar.bz2"
checksum=8b773f0cf6ca6d39edddc928b09026bc5b1ec6ec4ffcb39edb2e19f2e9629e85
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
pre_configure() {
autoreconf -fi
}

1
srcpkgs/azpainter/update Normal file
View file

@ -0,0 +1 @@
pattern='\-\ ver\ \K[\d.]+'