aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-01-04 11:20:59 -0600
committerErik Hanson <erik@slackbuilds.org>2014-01-04 11:20:59 -0600
commite245e79da68b25b5c3064df8a35c2c0374678e36 (patch)
tree43a33ec20635e93c9ab999ecaef434f1614c9a82 /audio
parent98652cd38d832c1c74ec9f2b21a90f13dc717066 (diff)
audio/easytag: Updated for vesion 2.1.9.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/easytag/doinst.sh13
-rw-r--r--audio/easytag/easytag.SlackBuild24
-rw-r--r--audio/easytag/easytag.info10
3 files changed, 22 insertions, 25 deletions
diff --git a/audio/easytag/doinst.sh b/audio/easytag/doinst.sh
index 3c42a48a14d2c..9424ce43ff572 100644
--- a/audio/easytag/doinst.sh
+++ b/audio/easytag/doinst.sh
@@ -1,4 +1,13 @@
-if [ -x usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/audio/easytag/easytag.SlackBuild b/audio/easytag/easytag.SlackBuild
index 69bebb509ba4b..ea3d7d9f2984b 100644
--- a/audio/easytag/easytag.SlackBuild
+++ b/audio/easytag/easytag.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for easytag
# Copyright 2006 Halim Issa <yallaone@gmail.com>
+# Copyright 2013 LEVAI Daniel <leva@ecentrum.hu>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +23,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated and now maintained by crocket (crockabiscuit@gmail.com)
-
PRGNAM=easytag
-VERSION=2.1.6
-BUILD=${BUILD:-3}
+VERSION=2.1.9
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -42,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-DOCS="COPYING ChangeLog* INSTALL README TODO USERS-GUIDE THANKS \
- doc/EasyTAG_Documentation.html doc/id3 doc/vorbis"
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -65,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,29 +70,23 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Apply the patch downloaded by easytag.info
-patch -p1 < $CWD/patch_easytag_216_cddb_manual_search_fix.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --enable-shared=yes \
- --disable-mp4 \
- --enable-static=no \
- --disable-debug \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
+DOCS="AUTHORS ChangeLog COPYING HACKING INSTALL README NEWS THANKS TODO"
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/$PRGNAM.info > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.info
-# We don't need this twice
-rm $PKG/usr/share/easytag/ChangeLog
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
diff --git a/audio/easytag/easytag.info b/audio/easytag/easytag.info
index e436b6f21da61..eae5a6454fbf0 100644
--- a/audio/easytag/easytag.info
+++ b/audio/easytag/easytag.info
@@ -1,10 +1,8 @@
PRGNAM="easytag"
-VERSION="2.1.6"
-HOMEPAGE="http://easytag.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/easytag/easytag-2.1.6.tar.bz2 \
- http://downloads.sourceforge.net/easytag/patch_easytag_216_cddb_manual_search_fix.diff"
-MD5SUM="6c5b9dc2bf1f3b0a11bd4efc81aaa9ee \
- 3e968c6c990e931c1d6002437c8be5c5"
+VERSION="2.1.9"
+HOMEPAGE="http://projects.gnome.org/easytag/"
+DOWNLOAD="http://download.gnome.org/sources/easytag/2.1/easytag-2.1.9.tar.xz"
+MD5SUM="789c1e6d3f653374a916b7f503ee1977"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""