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
|
fix names for more packages
Now x11-packages repository will use original names for
packages. For example, libgtk2 now will be provided as
gtk2, libgtk3 will be available as gtk3, libsdl - as sdl.
List of changed packages:
libatk --> atk
libglu --> glu
libgtk2 --> gtk2
libgtk3 --> gtk3
libmesa --> mesa
libsdl --> sdl
libsdl2 --> sdl2
libsdl-net --> sdl-net
riscvemu-sdl --> riscvemu
xorg-xvfb --> xorg-server-xvfb
List of dependent packages (should be rebuilt with new deps):
dosbox, emacs-x, galculator, geany, libepoxy, mtpaint,
qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk,
xarchiver.
Note: depending on which packages are installed, it may be
necessary to upgrade with 'apt dist-upgrade'.
2018-10-03 20:02:25 +02:00
|
|
|
TERMUX_PKG_REVISION=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
|
fix names for more packages
Now x11-packages repository will use original names for
packages. For example, libgtk2 now will be provided as
gtk2, libgtk3 will be available as gtk3, libsdl - as sdl.
List of changed packages:
libatk --> atk
libglu --> glu
libgtk2 --> gtk2
libgtk3 --> gtk3
libmesa --> mesa
libsdl --> sdl
libsdl2 --> sdl2
libsdl-net --> sdl-net
riscvemu-sdl --> riscvemu
xorg-xvfb --> xorg-server-xvfb
List of dependent packages (should be rebuilt with new deps):
dosbox, emacs-x, galculator, geany, libepoxy, mtpaint,
qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk,
xarchiver.
Note: depending on which packages are installed, it may be
necessary to upgrade with 'apt dist-upgrade'.
2018-10-03 20:02:25 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
TERMUX_PKG_DEPENDS="adwaita-icon-theme, atk, coreutils, desktop-file-utils, gdk-pixbuf, glib, glib-bin, gtk-update-icon-cache, libcairo-x, libepoxy, libxcomposite, libxcursor, libxdamage, libxfixes, libxi, libxinerama, libxrandr, pango-x, shared-mime-info"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="xorgproto"
|
|
|
|
TERMUX_PKG_DEVPACKAGE_DEPENDS="xorgproto"
|
fix names for more packages
Now x11-packages repository will use original names for
packages. For example, libgtk2 now will be provided as
gtk2, libgtk3 will be available as gtk3, libsdl - as sdl.
List of changed packages:
libatk --> atk
libglu --> glu
libgtk2 --> gtk2
libgtk3 --> gtk3
libmesa --> mesa
libsdl --> sdl
libsdl2 --> sdl2
libsdl-net --> sdl-net
riscvemu-sdl --> riscvemu
xorg-xvfb --> xorg-server-xvfb
List of dependent packages (should be rebuilt with new deps):
dosbox, emacs-x, galculator, geany, libepoxy, mtpaint,
qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk,
xarchiver.
Note: depending on which packages are installed, it may be
necessary to upgrade with 'apt dist-upgrade'.
2018-10-03 20:02:25 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="libgtk3"
|
|
|
|
TERMUX_PKG_REPLACES="libgtk3"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-introspection
|
|
|
|
--enable-xinerama
|
|
|
|
--enable-xfixes
|
|
|
|
--enable-xcomposite
|
|
|
|
--enable-xdamage
|
|
|
|
"
|
|
|
|
|
2018-09-10 00:42:26 +02:00
|
|
|
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" ./
|
|
|
|
}
|