summaryrefslogtreecommitdiff
path: root/gtk3/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-12-14 09:47:04 +0100
committerTim Biermann <tbier@posteo.de>2022-01-10 16:25:27 +0100
commitfd7cbc4d3b80f52df6c4d007ea9bdb415a8cebf8 (patch)
tree937a234dfbb8689067b8abd1d8bf67e90c498e79 /gtk3/Pkgfile
parent542836f5efd5bfe5b9daf19aae066e70847ffaed (diff)
downloadopt-fd7cbc4d3b80f52df6c4d007ea9bdb415a8cebf8.tar.gz
opt-fd7cbc4d3b80f52df6c4d007ea9bdb415a8cebf8.tar.xz
gtk3: syntax
Diffstat (limited to 'gtk3/Pkgfile')
-rw-r--r--gtk3/Pkgfile42
1 files changed, 21 insertions, 21 deletions
diff --git a/gtk3/Pkgfile b/gtk3/Pkgfile
index d7f0361d5..038462669 100644
--- a/gtk3/Pkgfile
+++ b/gtk3/Pkgfile
@@ -8,29 +8,29 @@ name=gtk3
version=3.24.31
release=1
source=(https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-$version.tar.xz
- gtk-register-3.sh gtk.immodules)
+ gtk-register-3.sh gtk.immodules)
build () {
- prt-get isinst colord || PKGMK_GTK3+=' -Dcolord=no'
- prt-get isinst libxkbcommon wayland-protocols && PKGMK_GTK3+=' -D wayland_backend=true' || PKGMK_GTK3+=' -Dwayland_backend=false'
+ prt-get isinst colord || PKGMK_GTK3+=' -Dcolord=no'
+ prt-get isinst libxkbcommon wayland-protocols && PKGMK_GTK3+=' -D wayland_backend=true' || PKGMK_GTK3+=' -Dwayland_backend=false'
- CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
- meson setup gtk+-$version build $PKGMK_GTK3 \
- --prefix=/usr \
- -D buildtype=plain \
- --wrap-mode=nodownload \
- -D b_lto=true \
- -D b_pie=true \
- -D man=false \
- -D gtk_doc=false \
- -D examples=false \
- -D tests=false \
- -D installed_tests=false \
- -D demos=false
- meson compile -C build
- DESTDIR=$PKG meson install -C build
+ CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
+ meson setup gtk+-$version build $PKGMK_GTK3 \
+ --prefix=/usr \
+ -D buildtype=plain \
+ --wrap-mode=nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
+ -D man=false \
+ -D gtk_doc=false \
+ -D examples=false \
+ -D tests=false \
+ -D installed_tests=false \
+ -D demos=false
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
- rm -r $PKG/usr/share/{locale,gtk-3.0,themes/Emacs}
- install -m 0644 -D $SRC/gtk.immodules $PKG/usr/lib/gtk-3.0/3.0.0/immodules.cache
- install -m 0755 $SRC/gtk-register-3.sh $PKG/usr/bin/gtk-register-3
+ rm -r $PKG/usr/share/{locale,gtk-3.0,themes/Emacs}
+ install -m 0644 -D $SRC/gtk.immodules $PKG/usr/lib/gtk-3.0/3.0.0/immodules.cache
+ install -m 0755 $SRC/gtk-register-3.sh $PKG/usr/bin/gtk-register-3
}

Generated by cgit