upg gtk3
This commit is contained in:
parent
54cecdc2a1
commit
fbe402e038
|
@ -7,42 +7,41 @@
|
|||
|
||||
#pkgbase=gtk3
|
||||
pkgname=gtk3 # gtk3-docs gtk3-demos)
|
||||
pkgver=3.24.36
|
||||
pkgver=3.24.37
|
||||
pkgrel=01
|
||||
epoch=1
|
||||
pkgdesc="GObject-based multi-platform GUI toolkit"
|
||||
url="https://www.gtk.org/"
|
||||
arch=(x86_64)
|
||||
depends=(adwaita-icon-theme atk cairo cantarell-fonts dconf
|
||||
desktop-file-utils fontconfig fribidi
|
||||
gdk-pixbuf2 glib2 harfbuzz
|
||||
iso-codes libcloudproviders libcolord libcups
|
||||
libegl libepoxy libgl
|
||||
librsvg
|
||||
libxcomposite libx11 libxcursor libxdamage libxfixes libxi libxinerama
|
||||
libxkbcommon libxrandr pango shared-mime-info tracker3
|
||||
desktop-file-utils fontconfig fribidi gdk-pixbuf2 glib2 harfbuzz
|
||||
iso-codes libcloudproviders libcolord libcups libegl libepoxy libgl
|
||||
librsvg libxcomposite libx11 libxcursor libxdamage libxfixes libxi
|
||||
libxinerama libxkbcommon libxrandr pango shared-mime-info tracker3
|
||||
wayland)
|
||||
makedepends=(git glib2-docs gobject-introspection gtk-doc meson sassc
|
||||
#makedepends=(git glib2-docs gobject-introspection gtk-doc meson sassc
|
||||
makedepends=( glib2-docs gobject-introspection gtk-doc meson sassc
|
||||
wayland-protocols)
|
||||
#options=(debug) # uncomment to produce the gtk3-debug pkg
|
||||
_commit=35516a5e866cd77390eb71d72d5b67f45dc4302c # tags/3.24.36^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
|
||||
gtk-query-immodules-3.0.hook)
|
||||
_commit=013b629a2e5420cc01647f859226eb1a37ebe661 # tags/3.24.37^0
|
||||
source=(
|
||||
"git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit" ## getting impossible on the day of the release to download the entire gtk git
|
||||
# https://gitlab.gnome.org/GNOME/gtk/-/archive/3.24.37/gtk-3.24.37.tar.gz
|
||||
gtk-query-immodules-3.0.hook)
|
||||
|
||||
pkgver() {
|
||||
cd gtk
|
||||
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
# previous version patch -- see bottom of file for current Arch patch for gnome
|
||||
#prepare() {
|
||||
# cd gtk
|
||||
#
|
||||
|
||||
prepare() {
|
||||
cd gtk
|
||||
|
||||
# # https://bugs.archlinux.org/task/76018
|
||||
# # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4381#note_1465559
|
||||
# git revert -n da4066774b926880631af099469d308714b5606c
|
||||
#
|
||||
#}
|
||||
}
|
||||
|
||||
build() {
|
||||
local meson_options=(
|
||||
|
@ -56,8 +55,8 @@ build() {
|
|||
)
|
||||
|
||||
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
|
||||
arch-meson gtk build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
arch-meson gtk build "${meson_options[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
_pick() {
|
||||
|
@ -72,6 +71,7 @@ _pick() {
|
|||
|
||||
#package_gtk3() {
|
||||
package() {
|
||||
# cd gtk-$pkgver
|
||||
depends+=(gtk-update-icon-cache)
|
||||
optdepends=('evince: Default print preview command')
|
||||
|
||||
|
@ -129,7 +129,9 @@ END
|
|||
license=(LGPL)
|
||||
|
||||
sha256sums=(SKIP
|
||||
# b9978e73629ce15be4b7ef085ee61d2b57d684c9980b8082c6f65059cf8b3445 # gtk-3.24.37.tar.gz
|
||||
a0319b6795410f06d38de1e8695a9bf9636ff2169f40701671580e60a108e229) # gtk-query-immodules-3.0.hook
|
||||
|
||||
## 500104f1cde0b273536b86dd442bab52b02b6995e3bd6aab6eb7f35d6313473f gtk3-1:3.24.37-01-x86_64.pkg.tar.lz
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ pkgname=(
|
|||
gtk3-demos
|
||||
gtk3-docs
|
||||
)
|
||||
pkgver=3.24.36
|
||||
pkgver=3.24.37
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="GObject-based multi-platform GUI toolkit"
|
||||
|
@ -59,8 +59,7 @@ makedepends=(
|
|||
sassc
|
||||
wayland-protocols
|
||||
)
|
||||
options=(debug)
|
||||
_commit=35516a5e866cd77390eb71d72d5b67f45dc4302c # tags/3.24.36^0
|
||||
_commit=013b629a2e5420cc01647f859226eb1a37ebe661 # tags/3.24.37^0
|
||||
source=(
|
||||
"git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
|
||||
gtk-query-immodules-3.0.hook
|
||||
|
|
Loading…
Reference in New Issue