aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mp3fm
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-10 15:08:22 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:20:57 -0600
commit48aa50a26a4ea324fd695f315b2580d863caa1ae (patch)
tree2369a1992350260adc36cd8e449483e942035149 /multimedia/mp3fm
parent4feab123dc5b3048db3ce321a1c29f2990bc7dda (diff)
multimedia/mp3fm: Added icon + desktop shortcut.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/mp3fm')
-rw-r--r--multimedia/mp3fm/README15
-rw-r--r--multimedia/mp3fm/doinst.sh4
-rw-r--r--multimedia/mp3fm/mp3fm.SlackBuild7
-rw-r--r--multimedia/mp3fm/mp3fm.desktop10
-rw-r--r--multimedia/mp3fm/mp3fm.jpgbin0 -> 12016 bytes
5 files changed, 33 insertions, 3 deletions
diff --git a/multimedia/mp3fm/README b/multimedia/mp3fm/README
index b3484a1c6c8d0..ca9b906ab6d63 100644
--- a/multimedia/mp3fm/README
+++ b/multimedia/mp3fm/README
@@ -1,3 +1,12 @@
-MP3fm" stands for "MP3 Folder Making app" which AUTOMATICALLY Pack Songs
-into folders according to user choice.
-It could be from TITLE/ARTIST/ALBUM/YEAR/DURATION/COMMENT.
+"MP3fm" stands for "MP3 Folder Making app" which AUTOMATICALLY Pack Songs
+into folders according to user choice from
+TITLE/ARTIST/ALBUM/YEAR/DURATION/COMMENT.
+
+Features :
+PACK : Move songs into folders based on property choosen by
+ user from Album(Movie)/Artist/Year/Comments/Title/Duration
+UNPACK : Move songs into choosen folder from already existing folders inside it
+UPDATE : Update the Properties of all the songs(ID3 metadata) present in the
+ choosen folder
+GENERATE LOG : LOG file is created after every operation which helps in mapping
+ new song location
diff --git a/multimedia/mp3fm/doinst.sh b/multimedia/mp3fm/doinst.sh
new file mode 100644
index 0000000000000..e5b524c1b3677
--- /dev/null
+++ b/multimedia/mp3fm/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null
+2>&1
+fi
diff --git a/multimedia/mp3fm/mp3fm.SlackBuild b/multimedia/mp3fm/mp3fm.SlackBuild
index 1538249d5aab8..240744133d2c2 100644
--- a/multimedia/mp3fm/mp3fm.SlackBuild
+++ b/multimedia/mp3fm/mp3fm.SlackBuild
@@ -71,6 +71,12 @@ find -L . \
python setup.py install --root=$PKG
+mkdir -p $PKG/usr/share/applications
+install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/share/pixmaps/
+install -D -m644 $CWD/mp3fm.jpg $PKG/usr/share/pixmaps/mp3fm.jpg
+
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
@@ -80,6 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $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/multimedia/mp3fm/mp3fm.desktop b/multimedia/mp3fm/mp3fm.desktop
new file mode 100644
index 0000000000000..ef5db0b39e1b6
--- /dev/null
+++ b/multimedia/mp3fm/mp3fm.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Mp3fm (Pack Song's)
+Name[he]= mp3fm
+Comment= Pack Song's
+Exec=mp3fm
+Icon=mp3fm
+Terminal=false
+Type=Application
+Categories=Multimedia;Music
+GenericName=Music
diff --git a/multimedia/mp3fm/mp3fm.jpg b/multimedia/mp3fm/mp3fm.jpg
new file mode 100644
index 0000000000000..4f9784713e29c
--- /dev/null
+++ b/multimedia/mp3fm/mp3fm.jpg
Binary files differ