update: gtk3

This commit is contained in:
ngn 2024-08-15 02:21:33 +03:00
parent f36475732e
commit f6a003ad33
2 changed files with 21 additions and 10 deletions

View File

@ -1,2 +1,8 @@
# 3.24.41
- Updated to a newer upstream release
- Fixed formatting issues with the package script
- Added missing wayland dependency
- Added missing build dependencies
# 3.24.38
First version

View File

@ -1,22 +1,26 @@
NAME="gtk3"
DESC="Libraries used for creating graphical user interfaces for applications"
VERSION="3.24.38"
VERSION="3.24.41"
FILES=(
"https://download.gnome.org/sources/gtk+/3.24/gtk+-$VERSION.tar.xz"
"https://download.gnome.org/sources/gtk+/${VERSION%.*}/gtk+-${VERSION}.tar.xz"
"update-icon-cache.sh"
)
HASHES=(
"7ed2f5914683ebd515da22f5784389f4"
"2321e8158feac093b6ed82aac66dbbfd"
"565f1889ebca2136e5f10a670571499da25178085682da542b722004811da6d8"
)
DEPENDS=(
"at-spi2-core" "gdk-pixbuf" "libepoxy" "glib"
"pango" "gsettings-desktop-schemas"
"at-spi2-core" "gdk-pixbuf" "libepoxy"
"glib" "pango" "gsettings-desktop-schemas"
"wayland"
)
BUILD=("meson" "wayland-protocols")
PACKAGE() {
tar xf gtk+-$VERSION.tar.xz
cd gtk+-$VERSION
tar xf "gtk+-${VERSION}.tar.xz"
cd "gtk+-${VERSION}"
mkdir build
cd build
@ -26,10 +30,11 @@ PACKAGE() {
-Dman=true \
-Dbroadway_backend=true \
..
ninja && DESTDIR="$ROOTDIR" ninja install
install -m755 "$ROOTDIR/update-icon-cache.sh" "$ROOTDIR/usr/bin/update-icon-cache"
ninja
DESTDIR="${ROOTDIR}" ninja install
install -m755 "${ROOTDIR}/update-icon-cache.sh" "${ROOTDIR}/usr/bin/update-icon-cache"
cd ../.. && rm -rf gtk+-$VERSION
cd ../.. && rm -rf "gtk+-${VERSION}"
}
INSTALL(){