diff options
author | Keith Richie <disturbed1976@gmail.com> | 2010-05-11 22:53:13 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:53:13 +0200 |
commit | 56ca5daeb8ab9e3d30a01a748bf2c7d5c9aa898c (patch) | |
tree | db457648f967cc329d7bf602d151eb57f07aa6cb /audio/musicmanager | |
parent | 5b99dae89ec6db5159bc330fdc256f8d22514d96 (diff) | |
download | slackbuilds-56ca5daeb8ab9e3d30a01a748bf2c7d5c9aa898c.tar.gz |
audio/musicmanager: Added to 12.1 repository
Diffstat (limited to 'audio/musicmanager')
-rw-r--r-- | audio/musicmanager/README | 32 | ||||
-rw-r--r-- | audio/musicmanager/doinst.sh | 8 | ||||
-rw-r--r-- | audio/musicmanager/musicmanager.SlackBuild | 75 | ||||
-rw-r--r-- | audio/musicmanager/musicmanager.info | 8 | ||||
-rw-r--r-- | audio/musicmanager/slack-desc | 19 |
5 files changed, 142 insertions, 0 deletions
diff --git a/audio/musicmanager/README b/audio/musicmanager/README new file mode 100644 index 0000000000..16336bd6de --- /dev/null +++ b/audio/musicmanager/README @@ -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. diff --git a/audio/musicmanager/doinst.sh b/audio/musicmanager/doinst.sh new file mode 100644 index 0000000000..158d743911 --- /dev/null +++ b/audio/musicmanager/doinst.sh @@ -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 diff --git a/audio/musicmanager/musicmanager.SlackBuild b/audio/musicmanager/musicmanager.SlackBuild new file mode 100644 index 0000000000..ad2d63bf99 --- /dev/null +++ b/audio/musicmanager/musicmanager.SlackBuild @@ -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 diff --git a/audio/musicmanager/musicmanager.info b/audio/musicmanager/musicmanager.info new file mode 100644 index 0000000000..53f43d27e1 --- /dev/null +++ b/audio/musicmanager/musicmanager.info @@ -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"
\ No newline at end of file diff --git a/audio/musicmanager/slack-desc b/audio/musicmanager/slack-desc new file mode 100644 index 0000000000..5a6c93327a --- /dev/null +++ b/audio/musicmanager/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-------------------------------------------------------| +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:
\ No newline at end of file |