aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:30:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:58 +0700
commit1943ce3a5a02c4af6a431602e0f20e9f07ffe1e7 (patch)
tree03b9008c41b943c67a71fcd47a908a273387c1bf /audio
parentcc4dad41f2537e0413c3b270f0cbc2c97f1a1197 (diff)
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>
Diffstat (limited to 'audio')
-rw-r--r--audio/sonata/sonata.SlackBuild3
-rw-r--r--audio/sonata/sonata.info2
2 files changed, 3 insertions, 2 deletions
diff --git a/audio/sonata/sonata.SlackBuild b/audio/sonata/sonata.SlackBuild
index f410bc9f26ae6..55532573611e5 100644
--- a/audio/sonata/sonata.SlackBuild
+++ b/audio/sonata/sonata.SlackBuild
@@ -71,7 +71,8 @@ find -L . \
# http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-November/006637.html
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
gzip -9 $PKG/usr/man/man?/*
diff --git a/audio/sonata/sonata.info b/audio/sonata/sonata.info
index 11a5228621de0..9d15fb43ac522 100644
--- a/audio/sonata/sonata.info
+++ b/audio/sonata/sonata.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/sonata.berlios/files/sonata-1.6.2.1.t
MD5SUM="0b912325e7175abad3bf6c0edc071e05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-mpd"
+REQUIRES="python2-mpd"
MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com"