aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-10-21 21:57:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-29 10:28:32 +0700
commit846cad68f204cbdbd55e863330dca52036c19163 (patch)
tree22c918854817e55d0fc95e84d293ba1359202277
parent06652f997615033b09c4a8978f922e4738d02182 (diff)
multimedia/exaile: Updated for version 4.1.2. New maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/exaile/README7
-rw-r--r--multimedia/exaile/exaile.SlackBuild26
-rw-r--r--multimedia/exaile/exaile.info12
3 files changed, 27 insertions, 18 deletions
diff --git a/multimedia/exaile/README b/multimedia/exaile/README
index bfedd11c5911..75a40ce440db 100644
--- a/multimedia/exaile/README
+++ b/multimedia/exaile/README
@@ -3,7 +3,6 @@ incorporates automatic fetching of album art, handling of large
libraries, lyrics fetching, artist/album information via Wikipedia,
and Last.fm submission support.
-Optional dependencies are gst0-plugins-ugly (for mp3 support), cddb-py
-(for audio CD playback), gst0-gnome-vfs (for SHOUTcast support),
-pywebkitgtk (for contextual informations about the track) and
-streamripper (to record streams).
+Optional dependencies are pylast (Last.FM integration), lxml
+(Lyrics), musicbrainzngs (Musicbrainz covers), streamripper (to
+record streams), and Sphinx plus sphinx_rtd_theme (Documentation).
diff --git a/multimedia/exaile/exaile.SlackBuild b/multimedia/exaile/exaile.SlackBuild
index bafe2f6d50f3..8aad122a24de 100644
--- a/multimedia/exaile/exaile.SlackBuild
+++ b/multimedia/exaile/exaile.SlackBuild
@@ -3,6 +3,7 @@
# Written by Marco Cecchetti (mrc.ildp@gmail.com)
# Update by Diogo Leal (diogo@diogoleal.com)
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2017 Ekin Akoglu, Erdemli, Mersin, Turkey | ekinakoglu@gmail.com
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
@@ -24,10 +25,12 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
+# 20221021 46and2: Updated version, new maintainer.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=exaile
-VERSION=${VERSION:-3.4.5}
+VERSION=${VERSION:-4.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,12 +56,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -77,22 +84,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-## Fix manpage location.
-sed -i -e 's|share/man|man|g' Makefile
-
+PREFIX=/usr
make
-PREFIX=/usr \
-LIBINSTALLDIR=/lib${LIBDIRSUFFIX} \
-make install DESTDIR=$PKG
+make install \
+ PREFIX=${PREFIX} \
+ LIBINSTALLDIR=${PREFIX}/lib${LIBDIRSUFFIX} \
+ MANPREFIX=${PREFIX}/ \
+ DESTDIR=$PKG
mv $PKG/etc/xdg/exaile/settings.ini $PKG/etc/xdg/exaile/settings.ini.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING DEPS INSTALL README \
+ COPYING DEPS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/exaile/exaile.info b/multimedia/exaile/exaile.info
index 044881d47d08..0f65d0cb9c72 100644
--- a/multimedia/exaile/exaile.info
+++ b/multimedia/exaile/exaile.info
@@ -1,10 +1,10 @@
PRGNAM="exaile"
-VERSION="3.4.5"
+VERSION="4.1.2"
HOMEPAGE="https://www.exaile.org/"
-DOWNLOAD="https://github.com/exaile/exaile/releases/download/3.4.5/exaile-3.4.5.tar.gz"
-MD5SUM="2c72d8dc8dc68fd6a9d129a154a5af3c"
+DOWNLOAD="https://github.com/exaile/exaile/releases/download/4.1.2/exaile-4.1.2.tar.gz"
+MD5SUM="ff59fc1a6fbd3967338479d570ba3f51"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gst0-python mutagen"
-MAINTAINER="Ekin Akoglu"
-EMAIL="ekinakoglu@gmail.com"
+REQUIRES="bsddb3 gst-python mutagen feedparser"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"