[arch-commits] Commit in lib32-gtk3/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Mar 17 07:48:22 UTC 2021
Date: Wednesday, March 17, 2021 @ 07:48:22
Author: alucryd
Revision: 893116
lib32-gtk3 3.24.27-1: disable-introspection
Modified:
lib32-gtk3/trunk/PKGBUILD
----------+
PKGBUILD | 46 +++++++++++++++-------------------------------
1 file changed, 15 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-17 07:48:07 UTC (rev 893115)
+++ PKGBUILD 2021-03-17 07:48:22 UTC (rev 893116)
@@ -4,7 +4,7 @@
# Contributor: GordonGR <ntheo1979 at gmail.com>
pkgname=lib32-gtk3
-pkgver=3.24.26
+pkgver=3.24.27
pkgrel=1
pkgdesc='GObject-based multi-platform GUI toolkit'
arch=(x86_64)
@@ -33,14 +33,15 @@
lib32-libxdamage
)
makedepends=(
- gobject-introspection
gtk-doc
git
glib2-docs
+ meson
+ ninja
sassc
)
install=lib32-gtk3.install
-_tag=8e9c6171b6efea2880e0bc1bc16ac3208f7a616e
+_tag=c7df3b9e9790012e6c5fbad6a4f4519bcf75561f
source=(
git+https://gitlab.gnome.org/GNOME/gtk.git#tag=${_tag}
gtk-query-immodules-3.0-32.hook
@@ -52,46 +53,29 @@
pkgver() {
cd gtk
-
git describe --tags
}
-prepare() {
- cd gtk
-
- NOCONFIGURE=1 ./autogen.sh
-}
-
build() {
- cd gtk
-
export CC='gcc -m32'
export CXX=/bin/false
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libdir=/usr/lib32 \
- --localstatedir=/var \
- --disable-schemas-compile \
- --enable-{broadway,wayland,x11}-backend \
- --disable-gtk-doc
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
- make
+ arch-meson gtk build \
+ -Dbroadway_backend=true \
+ -Dcloudproviders=false \
+ -Dcolord=yes \
+ -Dgtk_doc=false \
+ -Dintrospection=false \
+ -Dman=false
+ meson compile -C build
}
package() {
- cd gtk
-
- make DESTDIR="${pkgdir}" install
-
+ DESTDIR="${pkgdir}" meson install -C build
rm -r "${pkgdir}"/{etc,usr/{include,share}}
find "${pkgdir}"/usr/bin -type f -not -name gtk-query-immodules-3.0 -delete
mv "${pkgdir}"/usr/bin/gtk-query-immodules-3.0{,-32}
-
- install -Dm 644 ../gtk-query-immodules-3.0-32.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
+ install -Dm 644 gtk-query-immodules-3.0-32.hook -t "${pkgdir}"/usr/share/libalpm/hooks/
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list