summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYue Liu2024-01-03 14:39:26 -0800
committerYue Liu2024-01-03 14:39:26 -0800
commit39df4708e45b3a4b66b74fa12431ec06abe5e36d (patch)
tree6e1d45280fd18b92a07df2fe5f36e5d84b800a3b /PKGBUILD
parentc74a05d0945f63bcb852468ec8410cf0f25abfab (diff)
downloadaur-gtk4-customizable.tar.gz
upgpkg: gtk4-customizable 1:4.12.4-1
fix build process
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ece7536b7f68..387a8cf48224 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -113,6 +113,10 @@ build() {
-D colord=enabled
-D documentation=true
-D man-pages=true
+ -D build-tests=false
+ -D build-demos=false
+ -D build-examples=false
+ -D build-testsuite=false
-D tracker=enabled
)
@@ -134,7 +138,7 @@ _pick() {
package() {
depends+=(gtk-update-icon-cache)
optdepends=('evince: Default print preview command')
- provides=(gtk libgtk-4.so)
+ provides=(gtk4 libgtk-4.so)
conflicts=(gtk4)
meson install -C build --destdir "$pkgdir"
@@ -151,14 +155,8 @@ END
cd "$pkgdir"
- _pick demo usr/bin/gtk4-{demo,demo-application,icon-browser,node-editor,print-editor,widget-factory}
- _pick demo usr/share/applications/org.gtk.{Demo4,IconBrowser4,PrintEditor4,WidgetFactory4,gtk4.NodeEditor}.desktop
- _pick demo usr/share/glib-2.0/schemas/org.gtk.Demo4.gschema.xml
- _pick demo usr/share/icons/hicolor/*/apps/org.gtk.{Demo4,IconBrowser4,PrintEditor4,WidgetFactory4,gtk4.NodeEditor}[-.]*
+ # belongs to gtk4-demo
_pick demo usr/share/man/man1/gtk4-{demo,demo-application,icon-browser,node-editor,widget-factory}.1
- _pick demo usr/share/metainfo/org.gtk.{Demo4,IconBrowser4,PrintEditor4,WidgetFactory4,gtk4.NodeEditor}.appdata.xml
-
- _pick docs usr/share/doc
# Built by GTK 4, shared with GTK 3
_pick guic usr/bin/gtk4-update-icon-cache