new package: sdl-pango
This commit is contained in:
parent
f9658fafd9
commit
d321fcd2bf
24
x11-packages/sdl-pango/build.sh
Normal file
24
x11-packages/sdl-pango/build.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=http://sdlpango.sourceforge.net/
|
||||||
|
TERMUX_PKG_DESCRIPTION="Connects Pango to SDL"
|
||||||
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=0.1.2
|
||||||
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sdlpango/SDL_Pango-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_SHA256=7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4
|
||||||
|
TERMUX_PKG_DEPENDS="fontconfig, freetype, glib, harfbuzz, pango, sdl"
|
||||||
|
|
||||||
|
termux_step_post_get_source() {
|
||||||
|
termux_download \
|
||||||
|
"https://ftp-osl.osuosl.org/pub/gentoo/distfiles/SDL_Pango-0.1.2-API-adds.patch" \
|
||||||
|
$TERMUX_PKG_CACHEDIR/SDL_Pango-0.1.2-API-adds.patch \
|
||||||
|
5a989c7acb539fce640323d3995cca8913a4b8869f5c690b78501ec6b5c86d5d
|
||||||
|
cat $TERMUX_PKG_CACHEDIR/SDL_Pango-0.1.2-API-adds.patch | patch --silent -p0
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_pre_configure() {
|
||||||
|
mkdir -p m4
|
||||||
|
cp $TERMUX_PREFIX/share/aclocal/sdl.m4 m4/
|
||||||
|
autoreconf -fi -Im4
|
||||||
|
|
||||||
|
CPPFLAGS+=" -I$TERMUX_PREFIX/include/SDL -D__FT2_BUILD_UNIX_H__"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user