smlinux/gtk/gtk3/gtk3.SMBuild
PktSurf 4a7a115ed4 Fixed CFLAGS in extra/{feh,v4l-utils} and gtk/libunique
Upgraded net/samba to 4.18.0
Discarded doinst.sh from extra/{mpv,v4l-utils} and gtk/{gcr,goffice,gsettings-desktop-schemas}
Discarded gtk/gtk-sharp
Repositioned nand-utils source extraction code inside a subshell in extra/mtd-utils
Discarded code to remove tests in gtk/{atkmm,cairomm,libsoup}
Disabled tests in build option of gtk/{gdk-pixbuf,gtk3,libdazzle}
Fixed mkdir code in gtk/{gegl,gnome-desktop,gobject-introspection,libdazzle,libglade,libmanette} for aiding in resuming build
Rewrote gtk/gnome-icon-theme pc file in the build file itself
Fixed gtk/gtk2's doinst.sh
Disabled static libraries compile in gtk/openjpeg
Updated buildlist of net
Fixed net/privoxy build file
2023-03-16 23:19:14 +05:30

43 lines
1.1 KiB
Text
Executable file

app=gtk3
version=3.24.13
build=1sml
homepage="https://gtk.org"
download="https://gitlab.gnome.org/GNOME/gtk/-/archive/$version/gtk-$version.tar.bz2"
desc="GObject-based multi-platform GUI toolkit"
requires="fribidi iso-codes wayland libxkbcommon libepoxy shared-mime-info cairo gobject-introspection atk pango gdk-pixbuf librsvg at-spi2-atk"
prepbuilddir() {
mkandenterbuilddir
rm -rf "gtk+-$version"
tar xf $srcdir/gtk+-$version.tar.?z
cd "gtk+-$version"
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix="/" \
-Dgtk_doc=false \
-Dman=false \
-Dbroadway_backend=true \
-Dtests=false
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
# Install basic startup file
echo 'gtk-theme-name="Adwaita"' > $pkg/etc/gtk-3.0/gtkrc.new
# Don't clobber im-multipress.conf
mv $pkg/etc/gtk-3.0/im-multipress.conf $pkg/etc/gtk-3.0/im-multipress.conf.new
mkfinalpkg
}
sha512sums="
739ea8c764d3afc52417cadc9b2f69965441325cd001694fedf63de9a4a80b90e6f2b82ea6a3b6255b6c4f842652cd6090f8896b724bd6d4b4d808870968be93 gtk+-3.24.13.tar.lz
"