mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
audio/musicmanager: Added to 12.1 repository
This commit is contained in:
parent
5b99dae89e
commit
56ca5daeb8
5 changed files with 142 additions and 0 deletions
32
audio/musicmanager/README
Normal file
32
audio/musicmanager/README
Normal file
|
@ -0,0 +1,32 @@
|
|||
Goggles Music Manager is a music collection manager and player that
|
||||
automatically categorizes your music files based on genre, artist, album,
|
||||
and song. It supports gapless playback and features easy tag editing.
|
||||
|
||||
Features
|
||||
|
||||
* Last-FM audio scrobbler support. (New in v0.9.4)
|
||||
* Fast and light weight. Quick startup, no splash screen needed!
|
||||
* Supports Ogg Vorbis , FLAC, MP3 , MP4 , ASF and Musepack music files.
|
||||
* Support for AlbumArt embedded in tag or as separate file on disk.
|
||||
* Tag editing and file renaming capability (batch). One or more tracks
|
||||
may be edited at the same time.
|
||||
* Smart sorting with user configurable leading word filter to prevent
|
||||
sorting on common words like the, a or an.
|
||||
* Support for play lists. Play lists may be played in a certain
|
||||
configurable order, or browsed through like the main music library.
|
||||
* Export music library and play lists to XSPF,PLS,Extended M3U,M3U and
|
||||
CSV.
|
||||
* Clipboard & DND (drag-and-drop) support to arrange playlists and
|
||||
dragging to and from gnome / kde applications.
|
||||
* Uses xine multimedia library for gapless playback.
|
||||
* Written using FOX, one of the fastest GUI toolkits available. Support
|
||||
for FOX-1.6.x and the latest development version FOX-1.7.x.
|
||||
* Customizable icons. Either use buildin icons or use an existing
|
||||
gnome/kde icon theme.
|
||||
* Configurable user interface from minimalistic to detailed view. Full
|
||||
screen mode available with FOX-1.7.11.
|
||||
* Clean and fast database backend using SQLite 3.
|
||||
|
||||
|
||||
Requires: Sqlite, Fox-toolkit, available at SlackBuilds.org.
|
||||
dbus-glib, gtk2, taglib, xine-lib, included in Slackware.
|
8
audio/musicmanager/doinst.sh
Normal file
8
audio/musicmanager/doinst.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ] \
|
||||
&& [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
75
audio/musicmanager/musicmanager.SlackBuild
Normal file
75
audio/musicmanager/musicmanager.SlackBuild
Normal file
|
@ -0,0 +1,75 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for Goggles Music Manager
|
||||
|
||||
# Modified by disturbed1976@gmail.com
|
||||
#
|
||||
|
||||
PRGNAM=musicmanager
|
||||
VERSION=0.9.15
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
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 {} \;
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
|
||||
# Makefile will attempt to run gtk-update-icon-cache on make install.
|
||||
# This will remove that issue.
|
||||
|
||||
patch Makefile <<EOF
|
||||
194d193
|
||||
< gtk-update-icon-cache \$(INSTALLDIR)/share/icons/hicolor
|
||||
EOF
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
|
||||
|
||||
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.tgz
|
8
audio/musicmanager/musicmanager.info
Normal file
8
audio/musicmanager/musicmanager.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="musicmanager"
|
||||
VERSION="0.9.15"
|
||||
HOMEPAGE="http://code.google.com/p/gogglesmm/"
|
||||
DOWNLOAD="http://gogglesmm.googlecode.com/files/musicmanager-0.9.15.tar.bz2"
|
||||
MD5SUM="8dabda9acc1e45859081d66ab032ed19"
|
||||
MAINTAINER="Keith Richie"
|
||||
EMAIL="disturbed1976@gmail.com"
|
||||
APPROVED="David Somero"
|
19
audio/musicmanager/slack-desc
Normal file
19
audio/musicmanager/slack-desc
Normal file
|
@ -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-------------------------------------------------------|
|
||||
musicmanager: musicmanage (Goggles Music Manager)
|
||||
musicmanager:
|
||||
musicmanager: Goggles Music Manager is a music collection manager and player that
|
||||
musicmanager: automatically categorizes your music files based on genre, artist,
|
||||
musicmanager: album, and song. It supports gapless playback and features easy
|
||||
musicmanager: tag editing.
|
||||
musicmanager:
|
||||
musicmanager:
|
||||
musicmanager:
|
||||
musicmanager: Homepage http://code.google.com/p/gogglesmm/
|
||||
musicmanager:
|
Loading…
Reference in a new issue