termux-packages/x11-packages/libgtk3/build.sh
Leonid Pliushch 57267c9fec
bump revisions for all packages
Since now X11 packages are official, it is necessary to rebuild
them all to make sure that everything is okay.
2022-04-18 14:08:06 +05:30

28 lines
1.2 KiB
Bash

TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=http://www.gtk.org/
TERMUX_PKG_DESCRIPTION="GObject-based multi-platform GUI toolkit"
TERMUX_PKG_VERSION=3.22.30
TERMUX_PKG_REVISION=7
TERMUX_PKG_SRCURL=https://github.com/GNOME/gtk/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=27bc650dc0ed7adbedc211d86262abfafa43586d3c307c500340a67267699190
TERMUX_PKG_DEPENDS="adwaita-icon-theme, coreutils, desktop-file-utils, gdk-pixbuf, glib, glib-bin, gtk-update-icon-cache, libatk, libcairo-x, libepoxy, libxcomposite, libxcursor, libxdamage, libxfixes, libxi, libxinerama, libxrandr, pango-x, shared-mime-info"
TERMUX_PKG_BUILD_DEPENDS="xorgproto"
TERMUX_PKG_DEVPACKAGE_DEPENDS="xorgproto"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-introspection --enable-xinerama --enable-xfixes --enable-xcomposite --enable-xdamage"
TERMUX_PKG_RM_AFTER_INSTALL="share/glib-2.0/schemas/gschemas.compiled"
termux_step_pre_configure()
{
# prevent permission denied on build scripts
find . -type f | xargs chmod u+x
}
termux_step_create_debscripts()
{
cp "${TERMUX_PKG_BUILDER_DIR}/postinst" ./
cp "${TERMUX_PKG_BUILDER_DIR}/postrm" ./
cp "${TERMUX_PKG_BUILDER_DIR}/triggers" ./
}