first commit
This commit is contained in:
3
src/gtk3/.gitignore
vendored
Normal file
3
src/gtk3/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/gtk3/changes.md
Normal file
2
src/gtk3/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 3.24.38
|
||||
First version
|
39
src/gtk3/pkg.sh
Normal file
39
src/gtk3/pkg.sh
Normal file
@ -0,0 +1,39 @@
|
||||
NAME="gtk3"
|
||||
DESC="Libraries used for creating graphical user interfaces for applications"
|
||||
VERSION="3.24.38"
|
||||
FILES=(
|
||||
"https://download.gnome.org/sources/gtk+/3.24/gtk+-$VERSION.tar.xz"
|
||||
"update-icon-cache.sh"
|
||||
)
|
||||
HASHES=(
|
||||
"7ed2f5914683ebd515da22f5784389f4"
|
||||
"565f1889ebca2136e5f10a670571499da25178085682da542b722004811da6d8"
|
||||
)
|
||||
DEPENDS=(
|
||||
"at-spi2-core" "gdk-pixbuf" "libepoxy" "glib"
|
||||
"pango" "gsettings-desktop-schemas"
|
||||
)
|
||||
|
||||
PACKAGE() {
|
||||
tar xf gtk+-$VERSION.tar.xz
|
||||
cd gtk+-$VERSION
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
meson setup --prefix=/usr \
|
||||
--buildtype=release \
|
||||
-Dman=true \
|
||||
-Dbroadway_backend=true \
|
||||
..
|
||||
ninja && DESTDIR="$ROOTDIR" ninja install
|
||||
install -m755 "$ROOTDIR/update-icon-cache.sh" "$ROOTDIR/usr/bin/update-icon-cache"
|
||||
|
||||
cd ../.. && rm -rf gtk+-$VERSION
|
||||
}
|
||||
|
||||
INSTALL(){
|
||||
gtk-query-immodules-3.0 --update-cache
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
exit 0
|
||||
}
|
6
src/gtk3/update-icon-cache.sh
Normal file
6
src/gtk3/update-icon-cache.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
echo "Updating all icons"
|
||||
for d in "/usr/share/icons/"*; do
|
||||
gtk-update-icon-cache -qf $d
|
||||
done
|
||||
exit 0
|
Reference in New Issue
Block a user