summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabioLolix2021-03-21 12:55:36 +0100
committerFabioLolix2021-03-21 12:55:36 +0100
commitca2388bb81367f5a52081db56c24cd7d9663d637 (patch)
treeb2fcbcb6fb6a155c1103e52f10e6cefbe37b6520
parent9b9e86650ae4e2b4b933a6d569fc10df6c6c9a5b (diff)
downloadaur-ca2388bb81367f5a52081db56c24cd7d9663d637.tar.gz
fix build
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7c67b27de52..49a7738f684d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = glimpse-editor-git
pkgdesc = Fork of the GNU Image Manipulation Program
- pkgver = r44038.c39feb48d0
- pkgrel = 2
+ pkgver = r44061.b2f1d331f9
+ pkgrel = 1
url = https://glimpse-editor.org/
arch = i686
arch = x86_64
@@ -45,7 +45,9 @@ pkgbase = glimpse-editor-git
conflicts = glimpse-editor
conflicts = gimp
source = git+https://github.com/glimpse-editor/Glimpse#branch=dev-g210
+ source = https://github.com/tastytea/Glimpse/commit/de1f34c9441e90b24ba7dd2a7642d0c67fff1e06.patch
sha512sums = SKIP
+ sha512sums = e5f14fdb45540d85a35b702381849c3ca97b9249f924168dcf2537f0dae40da37d5e9dae49fb3987ffb43a5dbeb88bae90de58ca22fea1df4ce62278fbd3e90a
pkgname = glimpse-editor-git
diff --git a/PKGBUILD b/PKGBUILD
index c420a502d5a2..13b47b91c01c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=glimpse-editor-git
-pkgver=r44038.c39feb48d0
-pkgrel=2
+pkgver=r44061.b2f1d331f9
+pkgrel=1
pkgdesc="Fork of the GNU Image Manipulation Program"
arch=(i686 x86_64)
url="https://glimpse-editor.org/"
@@ -27,8 +27,10 @@ optdepends=('gutenprint: for sophisticated printing only as glimpse has built-in
)
provides=(glimpse-editor gimp)
conflicts=(glimpse-editor gimp)
-source=("git+https://github.com/glimpse-editor/Glimpse#branch=dev-g210")
-sha512sums=('SKIP')
+source=("git+https://github.com/glimpse-editor/Glimpse#branch=dev-g210"
+ "https://github.com/tastytea/Glimpse/commit/de1f34c9441e90b24ba7dd2a7642d0c67fff1e06.patch")
+sha512sums=('SKIP'
+ 'e5f14fdb45540d85a35b702381849c3ca97b9249f924168dcf2537f0dae40da37d5e9dae49fb3987ffb43a5dbeb88bae90de58ca22fea1df4ce62278fbd3e90a')
pkgver() {
cd Glimpse
@@ -39,6 +41,8 @@ pkgver() {
prepare() {
cd Glimpse
+ patch -Np1 < ../de1f34c9441e90b24ba7dd2a7642d0c67fff1e06.patch
+
_mypaintver=$(echo /usr/lib/libmypaint-*.so | grep -o -E '\-[0-9]+(\.[0-9]+)*' | head -1)
sed -i "s|\\(libmypaint\\)\\( >= libmypaint_required_version\\)|\\1${_mypaintver}\\2|g" configure.ac