aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2022-01-14 15:09:01 +0100
committerLeo <thinkabit.ukim@gmail.com>2022-01-15 00:07:02 +0000
commitcab9faf85aca7d1b960765df49d1927db9ceba8e (patch)
treec7e04049d689d384961370438980960723d8debc
parentc4736f1fadd48b09870918f3d1077e65d81890cc (diff)
downloadaports-cab9faf85aca7d1b960765df49d1927db9ceba8e.tar.gz
aports-cab9faf85aca7d1b960765df49d1927db9ceba8e.tar.bz2
aports-cab9faf85aca7d1b960765df49d1927db9ceba8e.tar.xz
community/clutter-gtk: build with meson
-rw-r--r--community/clutter-gtk/APKBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/community/clutter-gtk/APKBUILD b/community/clutter-gtk/APKBUILD
index 1978b25e1e..1710141c5a 100644
--- a/community/clutter-gtk/APKBUILD
+++ b/community/clutter-gtk/APKBUILD
@@ -1,32 +1,30 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=clutter-gtk
pkgver=1.8.4
-pkgrel=1
+pkgrel=2
pkgdesc="Gtk clutter embed library"
url="https://wiki.gnome.org/Projects/Clutter"
arch="all"
license="LGPL-2.0-or-later"
-makedepends="gtk+3.0-dev clutter-dev libxslt libxml2-utils itstool gobject-introspection-dev"
+makedepends="gtk+3.0-dev gtk-doc clutter-dev libxslt libxml2-utils itstool gobject-introspection-dev meson"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/clutter-gtk/${pkgver%.*}/clutter-gtk-$pkgver.tar.xz"
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
+ abuild-meson \
+ -D enable_docs=true \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- make check
+ meson test --no-rebuild -v -C output
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="810f879a56cd71f1e9c4678ef704a997ee652d052cfea56b3ed9478f7a813a35dd2fdcded028ce17411ae02da52fa31e0fb8d1f4130c7b9f6d25eeb774b51ada clutter-gtk-1.8.4.tar.xz"
+sha512sums="
+810f879a56cd71f1e9c4678ef704a997ee652d052cfea56b3ed9478f7a813a35dd2fdcded028ce17411ae02da52fa31e0fb8d1f4130c7b9f6d25eeb774b51ada clutter-gtk-1.8.4.tar.xz
+"