aboutsummaryrefslogtreecommitdiff
path: root/audio/HamsiManager
diff options
context:
space:
mode:
authorGiovanne Castro <giovannefc@ig.com.br>2011-05-27 18:53:53 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:30:56 -0400
commitbb64f42db646f022af9cba2705dc07980f753de3 (patch)
treea42ead49b5c338687ac1f426f7897d6ebbb2cea9 /audio/HamsiManager
parent176af43698e9f7e4ee0f7d914f9ea68989497b83 (diff)
audio/HamsiManager: Updated for version 0.9.70 (+ new category)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/HamsiManager')
-rw-r--r--audio/HamsiManager/HamsiManager.SlackBuild83
-rw-r--r--audio/HamsiManager/HamsiManager.desktop11
-rw-r--r--audio/HamsiManager/HamsiManager.info10
-rw-r--r--audio/HamsiManager/README10
-rw-r--r--audio/HamsiManager/doinst.sh10
-rw-r--r--audio/HamsiManager/slack-desc19
6 files changed, 143 insertions, 0 deletions
diff --git a/audio/HamsiManager/HamsiManager.SlackBuild b/audio/HamsiManager/HamsiManager.SlackBuild
new file mode 100644
index 0000000000000..0aaf9c5dc7f7c
--- /dev/null
+++ b/audio/HamsiManager/HamsiManager.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/sh
+
+# Slackware build script for HamsiManager
+
+# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=HamsiManager
+VERSION=${VERSION:-0.9.70}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+# It's all python and all in /usr/share (/usr/bin/hamsi is a script).
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# Copy libraries program
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a \
+ Amarok Core Databases Details InputOutputs Languages MyPlugins \
+ SearchEngines Tables Taggers Themes Tools Viewers \
+ {ConfigureUpdate,HamsiManager,Reconfigure}.py \
+ $PKG/usr/share/$PRGNAM
+
+# Copy desktop menu entry and icon
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+cat $PKG/usr/share/$PRGNAM/Themes/Default/Images/HamsiManager-128x128.png \
+ > $PKG/usr/share/pixmaps/hamsi.png
+
+# Creates executable entry
+mkdir -p $PKG/usr/bin
+echo "#!/bin/bash" > $PKG/usr/bin/hamsi
+echo "/usr/share/$PRGNAM/$PRGNAM.py \"\$@\"" >> $PKG/usr/bin/hamsi
+chmod 0755 $PKG/usr/bin/hamsi
+
+# Copy documentation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ForDevelopers ForPackagers README Thanks $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/HamsiManager/HamsiManager.desktop b/audio/HamsiManager/HamsiManager.desktop
new file mode 100644
index 0000000000000..7810e1ba1df47
--- /dev/null
+++ b/audio/HamsiManager/HamsiManager.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=Hamsi Manager
+GenericName=Hamsi Manager
+Comment=File manager, renamer, id3 tagger, information changer...
+Comment[pt_BR]=Manipulador de arquivos, renomeador, id3 tagger, organizador...
+Icon=hamsi
+Exec=hamsi
+Terminal=false
+Categories=Audio;AudioVideo;AudioVideoEditing;
+StartupNotify=true
diff --git a/audio/HamsiManager/HamsiManager.info b/audio/HamsiManager/HamsiManager.info
new file mode 100644
index 0000000000000..10ec2f53cdf27
--- /dev/null
+++ b/audio/HamsiManager/HamsiManager.info
@@ -0,0 +1,10 @@
+PRGNAM="HamsiManager"
+VERSION="0.9.70"
+HOMEPAGE="http://hamsiapps.com/en/HamsiManager"
+DOWNLOAD="http://downloads.sourceforge.net/project/hamsimanager/HamsiManager-0.9.70.tar.gz"
+MD5SUM="ce4552736e36c89cf9b91adb00243ea5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Giovanne Castro"
+EMAIL="giovannefc@ig.com.br"
+APPROVED="dsomero,Niels Horn"
diff --git a/audio/HamsiManager/README b/audio/HamsiManager/README
new file mode 100644
index 0000000000000..0fdfbf80690eb
--- /dev/null
+++ b/audio/HamsiManager/README
@@ -0,0 +1,10 @@
+HamsiManager basically does the following:
+-Corrects the character/encoding errors in your system as well as change
+file encoding from one to another (UTF-8, ISO-8859-9,CP 1254, etc.)
+-Arranges everything for you to find your mp3s, files and folders easily
+-Deletes the unneeded files (based on your criteria) and folders (such as
+empty folders) so that your system becomes uncluttered.
+
+Requires eyeD3.
+Optional dependencies: python-musicbrainz2 and MySQL-python for more
+features.
diff --git a/audio/HamsiManager/doinst.sh b/audio/HamsiManager/doinst.sh
new file mode 100644
index 0000000000000..36904a5040983
--- /dev/null
+++ b/audio/HamsiManager/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications/kde4 >/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/HamsiManager/slack-desc b/audio/HamsiManager/slack-desc
new file mode 100644
index 0000000000000..1bdb980a91ad6
--- /dev/null
+++ b/audio/HamsiManager/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+HamsiManager: HamsiManager (file manager and information changer)
+HamsiManager:
+HamsiManager: HamsiManager basically does the following:
+HamsiManager: -Corrects the character/encoding errors in your system as well as
+HamsiManager: change file encoding from one to another (UTF-8, ISO-8859-9, etc.)
+HamsiManager: -Arranges everything for you to easily find your files and folders
+HamsiManager: -Deletes the unneeded files (based on your criteria) and folders
+HamsiManager: (such as empty folders) so that your system becomes uncluttered.
+HamsiManager:
+HamsiManager: Homepage: http://hamsiapps.com/en/HamsiManager
+HamsiManager: