azpainter: update to 3.0.6.

This commit is contained in:
hazen2215 2023-05-14 20:18:44 +09:00 committed by classabbyamp
parent b5c14056d1
commit dfc49c9c45
3 changed files with 23 additions and 49 deletions

View File

@ -1,39 +0,0 @@
From 460cd59bcc0735ca4e1f4e14b59f4e3459c2044d Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Mon, 30 Nov 2020 09:44:57 -0600
Subject: [PATCH] fix configure error
---
configure | 3 ---
1 file changed, 3 deletions(-)
diff --git configure configure
index cb9a9f6..06e65e0 100755
--- a/configure
+++ b/configure
@@ -203,9 +203,6 @@ for opt;do
cf_check_lib=no ;;
*=*)
eval "$opt" ;;
- *)
- echo "unknown option: $opt"
- exit 1 ;;
esac
done
--
2.29.2
diff --git configure configure
index 06e65e0..b10aed0 100755
--- a/configure
+++ b/configure
@@ -201,8 +201,6 @@ for opt;do
cf_docdir=$tmp1 ;;
--no-check-lib)
cf_check_lib=no ;;
- *=*)
- eval "$opt" ;;
esac
done

View File

@ -1,15 +1,30 @@
# Template file for 'azpainter'
pkgname=azpainter
version=2.1.6
version=3.0.6
revision=1
build_style=gnu-configure
hostmakedepends="libpng-devel libjpeg-turbo-devel libXi-devel
fontconfig-devel"
makedepends="$hostmakedepends"
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config ninja"
makedepends="fontconfig-devel libXcursor-devel libXi-devel libXrender-devel
libjpeg-turbo-devel libpng-devel libwebp-devel tiff-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Full-color painting software for illustration drawing"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-3.0-or-later"
homepage="https://github.com/Symbian9/azpainter"
distfiles="https://github.com/Symbian9/azpainter/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c
homepage="http://azsky2.html.xdomain.jp/soft/azpainter.html"
distfiles="https://gitlab.com/azelpg/azpainter/-/archive/v${version}/azpainter-v${version}.tar.gz"
checksum=0b724f043246cadacff47885712e5e0cf35ee993c97261b83c4ff1bfd6a80d33
post_patch() {
# attempts to run commands not suited for building process
# (gtk-update-icon-cache, update-desktop-database, update-mime-database)
vsed -i install.sh.in -e '/update_cache$/d'
}
do_build() {
ninja -C build ${makejobs}
}
do_install() {
DESTDIR=${DESTDIR} ninja -C build install
}

View File

@ -1,2 +0,0 @@
site="https://osdn.net/projects/azpainter/"
pattern="azpainter \K[\d\.]+"