termux-packages/x11-packages/libgtk3/build.sh

25 lines
1.2 KiB
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
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"
2018-09-28 19:16:08 +02:00
TERMUX_PKG_VERSION=3.24.1
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://github.com/GNOME/gtk/archive/${TERMUX_PKG_VERSION}.tar.gz
2018-09-28 19:16:08 +02:00
TERMUX_PKG_SHA256=3dd9a8d52e6832e9294182c3a9d3b3979e9593db181101476323241ae67b4a44
2018-09-10 00:42:26 +02:00
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"
2018-09-28 19:16:08 +02:00
termux_step_pre_configure() {
2018-09-10 00:42:26 +02:00
# prevent permission denied on build scripts
find . -type f | xargs chmod u+x
}
2018-09-28 19:16:08 +02:00
termux_step_create_debscripts() {
2018-09-10 00:42:26 +02:00
cp "${TERMUX_PKG_BUILDER_DIR}/postinst" ./
cp "${TERMUX_PKG_BUILDER_DIR}/postrm" ./
cp "${TERMUX_PKG_BUILDER_DIR}/triggers" ./
}