mpdscribble: fix switch to Meson build by adding boost and libgcrypt dependencies

This commit is contained in:
Butta 2020-09-06 23:47:16 +05:30
parent 9f5773dc0e
commit 8ef908bb2e

View File

@ -5,7 +5,8 @@ TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=0.23 TERMUX_PKG_VERSION=0.23
TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/mpdscribble/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/mpdscribble/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=8b3b79538fa9871ce61d7fb793d442c72b6aadf80af4c5eb664286f613d1feee TERMUX_PKG_SHA256=8b3b79538fa9871ce61d7fb793d442c72b6aadf80af4c5eb664286f613d1feee
TERMUX_PKG_DEPENDS="libcurl, mpd, libmpdclient, glib" TERMUX_PKG_DEPENDS="libcurl, libgcrypt, mpd, libmpdclient, glib"
TERMUX_PKG_BUILD_DEPENDS="boost"
TERMUX_PKG_CONFFILES="etc/mpdscribble.conf" TERMUX_PKG_CONFFILES="etc/mpdscribble.conf"
# mpdscribble already puts timestamps in the info printed to stdout so no need for svlogd -tt, # mpdscribble already puts timestamps in the info printed to stdout so no need for svlogd -tt,
# therefore we override the mpdscribble/log run script # therefore we override the mpdscribble/log run script
@ -15,12 +16,13 @@ TERMUX_PKG_SERVICE_SCRIPT=(
) )
termux_step_pre_configure() { termux_step_pre_configure() {
NOCONFIGURE=1 ./autogen.sh export BOOST_ROOT=$TERMUX_PREFIX
} }
termux_step_post_make_install () { termux_step_post_make_install () {
install $TERMUX_PKG_SRCDIR/doc/mpdscribble.conf $TERMUX_PREFIX/etc/ install $TERMUX_PKG_SRCDIR/doc/mpdscribble.conf $TERMUX_PREFIX/etc/
} }
termux_step_create_debscripts () { termux_step_create_debscripts () {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "mkdir -p ~/.mpdscribble" >> postinst echo "mkdir -p ~/.mpdscribble" >> postinst