audio/sonata: Fix REQUIRES for python2. Add -fcommon.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-06 18:30:48 +01:00 committed by Willy Sudiarto Raharjo
parent cc4dad41f2
commit 1943ce3a5a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 2 deletions

View file

@ -71,7 +71,8 @@ find -L . \
# http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-November/006637.html # http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-November/006637.html
sed -i "s#lyricwiki.org#lyrics.wikia.org#g" sonata/info.py sed -i "s#lyricwiki.org#lyrics.wikia.org#g" sonata/info.py
python setup.py install --root=$PKG CFLAGS="-fcommon" \
python2 setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr/man mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man?/* gzip -9 $PKG/usr/man/man?/*

View file

@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/sonata.berlios/files/sonata-1.6.2.1.t
MD5SUM="0b912325e7175abad3bf6c0edc071e05" MD5SUM="0b912325e7175abad3bf6c0edc071e05"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="python-mpd" REQUIRES="python2-mpd"
MAINTAINER="Andrew Brouwers" MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com" EMAIL="abrouwers@gmail.com"