From 0119bf7576f370dc2a7992e42cf7c9030f657a9a Mon Sep 17 00:00:00 2001 From: Alexander Mamay Date: Tue, 14 Feb 2017 12:47:50 +0600 Subject: [PATCH] New package: azpainter-2.0.1 Closes: #5749 [via git-merge-pr] --- srcpkgs/azpainter/patches/cross.patch | 11 +++++++++++ srcpkgs/azpainter/template | 19 +++++++++++++++++++ srcpkgs/azpainter/update | 1 + 3 files changed, 31 insertions(+) create mode 100644 srcpkgs/azpainter/patches/cross.patch create mode 100644 srcpkgs/azpainter/template create mode 100644 srcpkgs/azpainter/update diff --git a/srcpkgs/azpainter/patches/cross.patch b/srcpkgs/azpainter/patches/cross.patch new file mode 100644 index 00000000000..b9066c40797 --- /dev/null +++ b/srcpkgs/azpainter/patches/cross.patch @@ -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)) diff --git a/srcpkgs/azpainter/template b/srcpkgs/azpainter/template new file mode 100644 index 00000000000..068ff01b431 --- /dev/null +++ b/srcpkgs/azpainter/template @@ -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 " +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 +} diff --git a/srcpkgs/azpainter/update b/srcpkgs/azpainter/update new file mode 100644 index 00000000000..3ef55f6de19 --- /dev/null +++ b/srcpkgs/azpainter/update @@ -0,0 +1 @@ +pattern='\-\ ver\ \K[\d.]+'