aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qalculate-gtk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/qalculate-gtk/APKBUILD')
-rw-r--r--testing/qalculate-gtk/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/testing/qalculate-gtk/APKBUILD b/testing/qalculate-gtk/APKBUILD
index a4bb4db672..1cb4014e55 100644
--- a/testing/qalculate-gtk/APKBUILD
+++ b/testing/qalculate-gtk/APKBUILD
@@ -3,20 +3,31 @@
pkgname=qalculate-gtk
# the pkgver must be kept in sync with: libqalculate
pkgver=3.22.0
-pkgrel=0
+pkgrel=1
pkgdesc="Multi-purpose desktop calculator - GTK+ version"
url="https://qalculate.github.io/"
license="GPL-2.0-or-later"
arch="all"
makedepends="
+ autoconf
+ automake
glib-dev
gtk+3.0-dev
intltool
libqalculate-dev=~${pkgver%.*}
+ libtool
"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://github.com/Qalculate/qalculate-gtk/releases/download/v$pkgver/qalculate-gtk-$pkgver.tar.gz"
-options="!check" # no test suite
+source="https://github.com/Qalculate/qalculate-gtk/releases/download/v$pkgver/qalculate-gtk-$pkgver.tar.gz
+ dont-rewrite-Os-to-O2.patch
+ "
+options="!check" # no test suite
+
+prepare() {
+ default_prepare
+
+ autoreconf -f
+}
build() {
./configure \
@@ -33,4 +44,5 @@ package() {
sha512sums="
029e0a5db69d04a1bfb796915ded3b4533f3036d99833035ae7e8b214f0b2086f6ecb1c08f463561642bdbbd0fd729250a9bc892bbac5ee0a72a9073d7555a04 qalculate-gtk-3.22.0.tar.gz
+69ae01c2ed88e0ffc54783913412a830b1d60b06e512b0f1510f18174a29699d41001c9e94d81caa74ac62a3b1119c68b8188ea1ad928672a3ad056681204d07 dont-rewrite-Os-to-O2.patch
"