2019-01-26 22:57:02 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.fltk.org/
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Graphical user interface toolkit for X"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2019-05-19 16:32:37 +02:00
|
|
|
TERMUX_PKG_VERSION=1.3.5
|
2019-05-25 16:12:17 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2019-05-19 16:32:37 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.fltk.org/pub/fltk/${TERMUX_PKG_VERSION}/fltk-${TERMUX_PKG_VERSION}-source.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=8729b2a055f38c1636ba20f749de0853384c1d3e9d1a6b8d4d1305143e115702
|
2019-04-20 19:10:50 +02:00
|
|
|
TERMUX_PKG_DEPENDS="fontconfig, glu, libc++, libjpeg-turbo, libpng, libx11, libxcursor, libxext, libxfixes, libxft, libxinerama, libxrender, mesa, zlib"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-shared
|
|
|
|
--enable-threads
|
|
|
|
--enable-xinerama
|
|
|
|
--enable-xft
|
|
|
|
--enable-xfixes
|
|
|
|
--enable-xcursor
|
|
|
|
--enable-xrender
|
|
|
|
"
|
|
|
|
|
2019-01-21 17:50:21 +01:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
sed -i 's/class Fl_XFont_On_Demand/class FL_EXPORT Fl_XFont_On_Demand/' FL/x.H
|
|
|
|
sed -i 's/x-fluid.desktop/fluid.desktop/' -i fluid/Makefile
|
|
|
|
sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' -e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile
|
2018-09-10 00:42:26 +02:00
|
|
|
|
2019-04-13 00:02:10 +02:00
|
|
|
export LIBS="$LDFLAGS"
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|