mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
26 lines
931 B
Bash
26 lines
931 B
Bash
# Dead upstream.
|
|
TERMUX_PKG_HOMEPAGE=https://sdl2pango.sourceforge.net/
|
|
TERMUX_PKG_DESCRIPTION="SDL2 library for internationalized text rendering"
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="2.1.5"
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tuxpaint-sdl2/SDL2_Pango/SDL2_Pango-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SRCURL=https://github.com/markuskimius/SDL2_Pango/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=3b3fe6008445feb1fca61b17b9d950d688e49dcca60dbbf8667c0f980ddfc563
|
|
TERMUX_PKG_DEPENDS="glib, pango, sdl2"
|
|
|
|
termux_step_pre_configure() {
|
|
mkdir -p m4
|
|
cp $TERMUX_PREFIX/share/aclocal/sdl2.m4 m4/
|
|
autoreconf -fi -Im4
|
|
|
|
CPPFLAGS+=" -D__FT2_BUILD_UNIX_H__"
|
|
CFLAGS+=" $($PKG_CONFIG sdl2 --cflags)"
|
|
LDFLAGS+=" $($PKG_CONFIG sdl2 --libs)"
|
|
}
|
|
|
|
termux_step_post_configure() {
|
|
# Avoid overlinking
|
|
sed -i 's/ -shared / -Wl,--as-needed\0/g' ./libtool
|
|
}
|