mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
multimedia/mp3fm: Added icon + desktop shortcut.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4feab123dc
commit
48aa50a26a
5 changed files with 33 additions and 3 deletions
|
@ -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
|
||||
|
|
4
multimedia/mp3fm/doinst.sh
Normal file
4
multimedia/mp3fm/doinst.sh
Normal file
|
@ -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
|
|
@ -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}
|
||||
|
|
10
multimedia/mp3fm/mp3fm.desktop
Normal file
10
multimedia/mp3fm/mp3fm.desktop
Normal file
|
@ -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
|
BIN
multimedia/mp3fm/mp3fm.jpg
Normal file
BIN
multimedia/mp3fm/mp3fm.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
Reference in a new issue