From f99268f797c120a24030a573ef22813cd018beb5 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 22 Oct 2022 16:29:29 +0100 Subject: Added unrar --- repo/gtk3/gtk3.xibuild | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) (limited to 'repo/gtk3/gtk3.xibuild') 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 () { -- cgit v1.2.1