Commit 19d81500
3
files
+38
added
-3
deleted
@@ -1,6 +1,6 @@
1 1 pkgname: gtk3
2 2 pkgver: '3.24.52'
3 -pkgrel: '2'
3 +pkgrel: '3'
4 4 pkgdesc: Libraries used for creating graphical user interfaces for applications.
5 5 url: 'https://www.gtk.org/'
6 6 arch: x86_64
@@ -84,5 +84,17 @@ build: |
84 84 rm -f "${PKGDIR}/usr/bin/gtk-update-icon-cache"
85 85 rm -f "${PKGDIR}/usr/share/man/man1/gtk-update-icon-cache.1"
86 86
87 + # Demo-appki GTK nie są częścią systemu użytkownika — bez tego `meson install`
88 + # pakuje gtk3-demo/-widget-factory/-icon-browser (patrz `_trim_demo_apps`
89 + # w build-pagan-v2.sh). Usuwamy już w pakiecie, żeby `pag upgrade` ich nie
90 + # przywracał.
91 + rm -f "${PKGDIR}/usr/bin/gtk3-demo" "${PKGDIR}/usr/bin/gtk3-demo-application" \
92 + "${PKGDIR}/usr/bin/gtk3-widget-factory" "${PKGDIR}/usr/bin/gtk3-icon-browser"
93 + rm -f "${PKGDIR}/usr/share/applications/gtk3-demo.desktop" \
94 + "${PKGDIR}/usr/share/applications/gtk3-widget-factory.desktop" \
95 + "${PKGDIR}/usr/share/applications/gtk3-icon-browser.desktop"
96 + find "${PKGDIR}/usr/share/icons/hicolor" -type f \
97 + \( -iname 'gtk3-demo*' -o -iname 'gtk3-widget-factory*' \) -delete 2>/dev/null || true
98 +
87 99 package: |
88 100 true
@@ -1,6 +1,6 @@
1 1 pkgname: gtk4
2 2 pkgver: '4.22.4'
3 -pkgrel: '6'
3 +pkgrel: '7'
4 4 pkgdesc: GObject-based multi-platform GUI toolkit
5 5 url: 'https://www.gtk.org'
6 6 arch: x86_64
@@ -79,6 +79,22 @@ build: |
79 79
80 80 package: |-
81 81 DESTDIR="${PKGDIR}" meson install -C builddir
82 +
83 + # Demo-appki GTK (gtk4-demo, widget-factory, edytory demo) nie są częścią
84 + # systemu użytkownika. Narzędzia CLI (builder-tool, image-tool, ...) zostają.
85 + rm -f "${PKGDIR}/usr/bin/gtk4-demo" "${PKGDIR}/usr/bin/gtk4-demo-application" \
86 + "${PKGDIR}/usr/bin/gtk4-widget-factory" "${PKGDIR}/usr/bin/gtk4-icon-editor" \
87 + "${PKGDIR}/usr/bin/gtk4-node-editor" "${PKGDIR}/usr/bin/gtk4-print-editor"
88 + find "${PKGDIR}/usr/share/applications" "${PKGDIR}/usr/share/metainfo" \
89 + "${PKGDIR}/usr/share/bash-completion/completions" -maxdepth 1 -type f \
90 + \( -iname 'org.gtk.Demo4*' -o -iname 'org.gtk.WidgetFactory4*' \
91 + -o -iname 'org.gtk.gtk4.NodeEditor*' -o -iname 'org.gtk.PrintEditor4*' \
92 + -o -iname 'org.gtk.Shaper*' -o -iname 'gtk4-demo' -o -iname 'gtk4-widget-factory' \) \
93 + -delete 2>/dev/null || true
94 + find "${PKGDIR}/usr/share/icons/hicolor" -type f \
95 + \( -iname 'org.gtk.Demo4*' -o -iname 'org.gtk.WidgetFactory4*' \
96 + -o -iname 'org.gtk.gtk4.NodeEditor*' -o -iname 'org.gtk.PrintEditor4*' \
97 + -o -iname 'org.gtk.Shaper*' \) -delete 2>/dev/null || true
82 98 install -Dm644 gtk-${pkgver}/COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
83 99
84 100 # GTK4 4.22 nie generuje już vapi – wytwórz z GIR, żeby Vala (np. bazaar)
@@ -1,6 +1,6 @@
1 1 pkgname: libadwaita
2 2 pkgver: '1.9.3'
3 -pkgrel: '4'
3 +pkgrel: '5'
4 4 pkgdesc: 'Building blocks for modern adaptive GNOME applications'
5 5 url: 'https://gnome.pages.gitlab.gnome.org/libadwaita/'
6 6 arch: x86_64
@@ -34,5 +34,12 @@ build: |
34 34 meson compile -C builddir
35 35 DESTDIR=${PKGDIR} meson install -C builddir
36 36
37 + # `adwaita-1-demo` to aplikacja pokazowa, nie część środowiska.
38 + rm -f "${PKGDIR}/usr/bin/adwaita-1-demo"
39 + rm -f "${PKGDIR}/usr/share/applications/org.gnome.Adwaita1.Demo.desktop" \
40 + "${PKGDIR}/usr/share/metainfo/org.gnome.Adwaita1.Demo.metainfo.xml"
41 + find "${PKGDIR}/usr/share/icons/hicolor" -type f \
42 + -iname 'org.gnome.Adwaita1.Demo*' -delete 2>/dev/null || true
43 +
37 44 package: |
38 45 install -Dm644 ${pkgname}-${pkgver}/COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING