From 48aa50a26a4ea324fd695f315b2580d863caa1ae Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 10 Jan 2014 15:08:22 +0700 Subject: multimedia/mp3fm: Added icon + desktop shortcut. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/mp3fm/README | 15 ++++++++++++--- multimedia/mp3fm/doinst.sh | 4 ++++ multimedia/mp3fm/mp3fm.SlackBuild | 7 +++++++ multimedia/mp3fm/mp3fm.desktop | 10 ++++++++++ multimedia/mp3fm/mp3fm.jpg | Bin 0 -> 12016 bytes 5 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 multimedia/mp3fm/doinst.sh create mode 100644 multimedia/mp3fm/mp3fm.desktop create mode 100644 multimedia/mp3fm/mp3fm.jpg (limited to 'multimedia') diff --git a/multimedia/mp3fm/README b/multimedia/mp3fm/README index b3484a1c6c..ca9b906ab6 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 0000000000..e5b524c1b3 --- /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 1538249d5a..240744133d 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 0000000000..ef5db0b39e --- /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 0000000000..4f9784713e Binary files /dev/null and b/multimedia/mp3fm/mp3fm.jpg differ -- cgit v1.2.3