summaryrefslogtreecommitdiff
path: root/repo/gtk3/gtk3.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
committerdavidovski <david@davidovski.xyz>2022-10-22 16:29:29 +0100
commitf99268f797c120a24030a573ef22813cd018beb5 (patch)
treeee18857a5eda7bc94286e3924dc2209aea7b92c4 /repo/gtk3/gtk3.xibuild
parent95545d88b997a17ff03bb164af33c33e2a12d693 (diff)
Added unrar
Diffstat (limited to 'repo/gtk3/gtk3.xibuild')
-rw-r--r--repo/gtk3/gtk3.xibuild31
1 files changed, 10 insertions, 21 deletions
diff --git a/repo/gtk3/gtk3.xibuild b/repo/gtk3/gtk3.xibuild
index 145d949..6a88d01 100644
--- a/repo/gtk3/gtk3.xibuild
+++ b/repo/gtk3/gtk3.xibuild
@@ -9,31 +9,20 @@ DEPS="atk at-spi2-atk sbase cairo gobject-introspection fontconfig fribidi gdk-p
PKG_VER=3.24.34
SOURCE="https://download.gnome.org/sources/gtk+/${PKG_VER%.*}/gtk+-$PKG_VER.tar.xz"
-
-prepare () {
- # don't build demos
- sed -e "s/^\(SRC_SUBDIRS =.*\)demos\(.*\)$/\1\2/" -i Makefile.am Makefile.in
- aclocal -I m4
- autoreconf
- automake --add-missing
-}
-
build () {
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-xinput=yes \
- --without-libjasper \
- --with-included-loaders=png \
- --with-gdktarget=x11 \
- --enable-man
-
- make
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ -Db_lto=true \
+ -Dman=true \
+ -Dgtk_doc=false \
+ -Dbroadway_backend=true \
+ .. &&
+ ninja
}
package () {
- make DESTDIR=$PKG_DEST install
+ DESTDIR=$PKG_DEST ninja install
}
postinstall () {