summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore10
-rw-r--r--PKGBUILD6
3 files changed, 16 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 28214e876d7c..134ea3e673fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by makepkg 6.0.2
+# Thu Nov 16 09:03:19 UTC 2023
pkgbase = engauge
pkgver = 12.1
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = http://markummitchell.github.io/engauge-digitizer/
install = engauge.install
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..962eb0dd956d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+~
+engauge-*.tar.gz
+
+pkg/*
+src/*
+
+engauge-*.log
+engauge-*.log.*
+engauge-*.src.tar.gz
+engauge-*.pkg.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index cdb02c1c1713..1eded2cfe6b0 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
epoch=1
url="http://markummitchell.github.io/engauge-digitizer/"
arch=('i686' 'x86_64')
@@ -24,8 +24,8 @@ options=('!makeflags')
build() {
cd ${_pkgbase}-$pkgver
- export OPENJPEG_INCLUDE=/usr/include/openjpeg-2.4 OPENJPEG_LIB=/usr/lib
- export POPPLER_INCLUDE=/usr/include/poppler/qt5 POPPLER_LIB=/usr/lib
+ export OPENJPEG_INCLUDE=$(pkg-config --variable includedir libopenjp2) OPENJPEG_LIB=/usr/lib
+ export POPPLER_INCLUDE=$(pkg-config --cflags-only-I poppler-qt5 | cut -d ' ' -f 1 | sed 's/^-I//') POPPLER_LIB=/usr/lib
qmake-qt5 engauge.pro "CONFIG+=pdf jpeg2000"
make
lrelease engauge.pro