new package: gtkmm2
This commit is contained in:
parent
b090812ee1
commit
d8d4c60853
23
x11-packages/gtkmm2/build.sh
Normal file
23
x11-packages/gtkmm2/build.sh
Normal file
@ -0,0 +1,23 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://www.gtkmm.org/
|
||||
TERMUX_PKG_DESCRIPTION="The C++ API for GTK"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
_MAJOR_VERSION=2.24
|
||||
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.5
|
||||
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gtkmm/${_MAJOR_VERSION}/gtkmm-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72
|
||||
TERMUX_PKG_DEPENDS="gdk-pixbuf, glib, gtk2, libatkmm-1.6, libc++, libcairomm-1.0, libglibmm-2.4, libpangomm-1.4, libsigc++-2.0"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--disable-documentation
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
LDFLAGS+=" $($CC -print-libgcc-file-name)"
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
local _GUARD_FILE="lib/libgtkmm-2.4.so"
|
||||
if [ ! -e "${_GUARD_FILE}" ]; then
|
||||
termux_error_exit "Error: file ${_GUARD_FILE} not found."
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user