talimat 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [paket]
  2. tanim = GObject tabanlı çok platformlu GUI araç seti
  3. paketci = Cihan_Alkan
  4. grup = sistem
  5. url = http://www.gtk.org/
  6. [gerek]
  7. derleme =
  8. calisma =
  9. [kaynak]
  10. 1 = https://download.gnome.org/sources/gtk/${surum%.*}/gtk-${surum}.tar.xz
  11. 2 = https://aur.archlinux.org/cgit/aur.git/plain/fix-incompatible-vulkan-error.patch?h=gtk4
  12. 3 = https://aur.archlinux.org/cgit/aur.git/plain/gtk4-query-immodules.hook?h=gtk4
  13. 4 = https://aur.archlinux.org/cgit/aur.git/plain/gtk4-update-icon-cache.hook?h=gtk4
  14. 5 = https://aur.archlinux.org/cgit/aur.git/plain/gtk4-update-icon-cache.script?h=gtk4
  15. 5 = https://aur.archlinux.org/cgit/aur.git/plain/settings.ini?h=gtk4
  16. [sha1]
  17. 1 =
  18. [derle]
  19. betik = cd gtk-${surum}
  20. betik = patch -p1 -i /sources/fix-incompatible-vulkan-error.patch?h=gtk4
  21. betik = meson --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib -Dbroadway-backend=true -Dvulkan=enabled -Dgtk_doc=false _build .
  22. betik = cd _build
  23. betik = ninja
  24. [pakur]
  25. betik = cd gtk-${surum}/_build
  26. betik = DESTDIR="$PKG" ninja install
  27. betik = install -Dm 644 "/sources/settings.ini?h=gtk4" "$PKG"/usr/share/gtk-4.0/settings.ini
  28. betik = install -D "gtk/tools/gtk4-update-icon-cache?h=gtk4" "$PKG"/usr/bin/gtk4-update-icon-cache
  29. betik = install -Dm 644 "/sources/gtk4-update-icon-cache.hook?h=gtk4" "$PKG"/usr/share/libalpm/hooks/gtk4-update-icon-cache.hook
  30. betik = install -Dm 755 "/sources/gtk4-update-icon-cache.script?h=gtk4" "$PKG"/usr/share/libalpm/scripts/gtk4-update-icon-cache
  31. # Remove conflicts with gtk3
  32. betik = rm -f "$PKG/usr/share/gettext/its/gtkbuilder.its"
  33. betik = rm -f "$PKG/usr/share/gettext/its/gtkbuilder.loc"
  34. betik = rm -f "$PKG/usr/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml"
  35. betik = rm -f "$PKG/usr/share/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml"
  36. betik = rm -f "$PKG/usr/share/glib-2.0/schemas/org.gtk.Settings.Debug.gschema.xml"
  37. betik = rm -f "$PKG/usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml"
  38. betik = rm -f "$PKG/usr/share/glib-2.0/schemas/org.gtk.Settings.EmojiChooser.gschema.xml"
  39. betik = rm -f "$PKG/usr/share/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml"
  40. # Remove conflicts with gtk-doc
  41. betik = rm -f "$PKG/usr/bin/gtkdoc-check"
  42. betik = rm -f "$PKG/usr/bin/gtkdoc-depscan"
  43. betik = rm -f "$PKG/usr/bin/gtkdoc-fixxref"
  44. betik = rm -f "$PKG/usr/bin/gtkdoc-mkdb"
  45. betik = rm -f "$PKG/usr/bin/gtkdoc-mkhtml"
  46. betik = rm -f "$PKG/usr/bin/gtkdoc-mkhtml2"
  47. betik = rm -f "$PKG/usr/bin/gtkdoc-mkman"
  48. betik = rm -f "$PKG/usr/bin/gtkdoc-mkpdf"
  49. betik = rm -f "$PKG/usr/bin/gtkdoc-rebase"
  50. betik = rm -f "$PKG/usr/bin/gtkdoc-scan"
  51. betik = rm -f "$PKG/usr/bin/gtkdoc-scangobj"
  52. betik = rm -f "$pkgdir/usr/bin/gtkdocize"
  53. betik = rm -f "$PKG/usr/share/aclocal/gtk-doc.m4"
  54. betik = rm -rf "$PKG/usr/share/cmake/GtkDoc"
  55. betik = rm -rf "$PKG/usr/share/gtk-doc"
  56. betik = rm -f "$PKG/usr/share/pkgconfig/gtk-doc.pc"