Merge pull request #3667 from Grimler91/android-9-ncmpcpp

ncmpcpp: link against libandroid-support
This commit is contained in:
Henrik Grimler 2019-04-13 18:57:06 +02:00 committed by GitHub
commit e959d0d673
2 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://rybczak.net/ncmpcpp/
TERMUX_PKG_DESCRIPTION="NCurses Music Player Client (Plus Plus)"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=0.8.2
TERMUX_PKG_REVISION=6
TERMUX_PKG_REVISION=7
TERMUX_PKG_SHA256=650ba3e8089624b7ad9e4cc19bc1ac6028edb7523cc111fa1686ea44c0921554
TERMUX_PKG_SRCURL=https://rybczak.net/ncmpcpp/stable/ncmpcpp-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="fftw, boost, readline, libcurl, libmpdclient, ncurses"

View File

@ -0,0 +1,11 @@
--- ../configure.ac.orig 2019-04-13 16:42:43.319705874 +0000
+++ ./configure.ac 2019-04-13 16:42:50.146372491 +0000
@@ -78,7 +78,7 @@
AC_SUBST(BOOST_LOCALE_LDFLAGS)
AC_SUBST(BOOST_LOCALE_LIBS)
LDFLAGS="$LDFLAGS $BOOST_LOCALE_LDFLAGS"
-LIBS="$LIBS $BOOST_LOCALE_LIBS"
+LIBS="$LIBS $BOOST_LOCALE_LIBS -landroid-support"
BOOST_PROGRAM_OPTIONS
AC_SUBST(BOOST_PROGRAM_OPTIONS_LDFLAGS)