summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2021-02-17 21:42:28 +0100
committerhaawda2021-02-17 21:42:28 +0100
commitf7483bb83c8e71da104540e1f4d630152b378d4a (patch)
tree62d93cfc54a039c69002d64bc6d53213d7410ca3
parent2ff6fcccef03f3828b7ad8d84ad387cdaeb297f8 (diff)
downloadaur-f7483bb83c8e71da104540e1f4d630152b378d4a.tar.gz
adjust variable to openjpeg includes
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7aec754a10..d064d628f68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = engauge
pkgver = 12.1
- pkgrel = 1
+ pkgrel = 2
url = http://markummitchell.github.io/engauge-digitizer/
install = engauge.install
arch = i686
@@ -13,6 +13,7 @@ pkgbase = engauge
makedepends = libpng
makedepends = openjpeg2
makedepends = poppler-qt5
+ options = !makeflags
source = engauge-12.1.tar.gz::https://github.com/markummitchell/engauge-digitizer/archive/v12.1.tar.gz
source = engauge.sh
source = engauge.desktop
diff --git a/PKGBUILD b/PKGBUILD
index d7c1346359f..623966dae9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _pkgbase='engauge-digitizer'
pkgname=('engauge' 'engauge-samples')
pkgbase='engauge'
pkgver=12.1
-pkgrel=1
+pkgrel=2
url="http://markummitchell.github.io/engauge-digitizer/"
arch=('i686' 'x86_64')
license=('GPL')
@@ -19,13 +19,14 @@ sha256sums=('b553c71ad8b5565a42ae0ba58891d27ac47ca27cc6d7a442c979b56b1fbda282'
'4b36a8aa23c5a95a552d33ce1bd75aa1a0be5fdf9ef06f321a060c753298dd18'
'1b3f2675058693d5653b5aee50fbec1530791de5fcdfbb2f86056a5d748695a4')
install=engauge.install
+options=('!makeflags')
build() {
cd ${_pkgbase}-$pkgver
- export OPENJPEG_INCLUDE=/usr/include/openjpeg-2.3 OPENJPEG_LIB=/usr/lib
+ export OPENJPEG_INCLUDE=/usr/include/openjpeg-2.4 OPENJPEG_LIB=/usr/lib
export POPPLER_INCLUDE=/usr/include/poppler/qt5 POPPLER_LIB=/usr/lib
qmake-qt5 engauge.pro "CONFIG+=pdf jpeg2000"
- make -j2
+ make
lrelease engauge.pro
}