aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-12-14 04:01:12 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-12-14 10:25:20 +0000
commit6e4f6bd01a3d68988f54650e5132b15ab6a896b8 (patch)
tree27bbc437275dd1396e2d4bf22debcaa28763be72
parente774bbf783f9ed36deb8287b741ae45ba470205d (diff)
downloadaports-6e4f6bd01a3d68988f54650e5132b15ab6a896b8.tar.gz
aports-6e4f6bd01a3d68988f54650e5132b15ab6a896b8.tar.bz2
aports-6e4f6bd01a3d68988f54650e5132b15ab6a896b8.tar.xz
community/gtkmm3: upgrade to 3.24.3
-rw-r--r--community/gtkmm3/APKBUILD36
1 files changed, 24 insertions, 12 deletions
diff --git a/community/gtkmm3/APKBUILD b/community/gtkmm3/APKBUILD
index 52c0cf3232..19e392791a 100644
--- a/community/gtkmm3/APKBUILD
+++ b/community/gtkmm3/APKBUILD
@@ -1,28 +1,40 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gtkmm3
-pkgver=3.24.2
+pkgver=3.24.3
pkgrel=0
pkgdesc="C++ wrappers for GTK+"
url="https://www.gtkmm.org/"
arch="all"
license="LGPL-2.1-or-later"
-options="!check"
-makedepends="atkmm-dev gtk+3.0-dev glibmm-dev pangomm-dev intltool"
-subpackages="$pkgname-dev $pkgname-doc"
+makedepends="
+ meson
+ gtk+3.0-dev
+ cairomm-dev
+ pangomm-dev
+ gdk-pixbuf-dev
+ atkmm-dev
+ glibmm-dev
+ "
+checkdepends="xvfb-run"
+subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
builddir="$srcdir/gtkmm-$pkgver"
build() {
- CXXFLAGS="$CXXFLAGS -std=c++11" \
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr
- make
+ abuild-meson \
+ -Dbuild-demos=false \
+ -Dbuild-tests=true \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ xvfb-run meson test --no-rebuild -v -C output
}
package() {
- make install DESTDIR="$pkgdir"
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="c8f9f03d54006a729fdad7563d3be37aa180f9153c222314c1b8cfddc5ab417d184422a1d44f780574248ea52e679f1e360eac67e03f67d29ecf847c0ab19689 gtkmm-3.24.2.tar.xz"
+
+sha512sums="e373807ec245057708655fa5dbf18d5391656a55b008fd6aa0fdc5a56e80d288813c3bbb0093f39aa7679df866a176f1e6b0e842d4d1b18b775a5928eed9fef5 gtkmm-3.24.3.tar.xz"