# HG changeset patch # User Rohit Joshi # Date 1240318149 0 # Node ID ab720c05cb5666c588279ab95341389ad9bd27c5 # Parent 7d6849d4f7bcfae9e7dfdcefbf34f9c895a49c84 Add Sonata and python-mpd diff -r 7d6849d4f7bc -r ab720c05cb56 python-mpd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-mpd/receipt Tue Apr 21 12:49:09 2009 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="python-mpd" +VERSION="0.2.1" +CATEGORY="multimedia" +SHORT_DESC="Python MPD client library" +MAINTAINER="jozee@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:python-mpd" +WGET_URL="http://pypi.python.org/packages/source/p/python-mpd/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --prefix=/usr --root="$PWD/_pkg" + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib $fs/usr +} diff -r 7d6849d4f7bc -r ab720c05cb56 sonata/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sonata/receipt Tue Apr 21 12:49:09 2009 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="sonata" +VERSION="1.5.3" +CATEGORY="multimedia" +SHORT_DESC="Elegant GTK+ music client for MPD" +MAINTAINER="jozee@slitaz.org" +DEPENDS="pygtk python-mpd dbus-python mpd" +BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://sonata.berlios.de/" +WGET_URL="http://download.berlios.de/sonata/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --prefix=/usr --root="$PWD/_pkg" + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + cp -a $_pkg/usr/share/sonata $fs/usr/share + cp -a $_pkg/usr/share/pixmaps $fs/usr/share + cp -a stuff/startsonata $fs/usr/bin/ + cp -f sonata.desktop $fs/usr/share/applications + + +} + diff -r 7d6849d4f7bc -r ab720c05cb56 sonata/stuff/sonata.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sonata/stuff/sonata.desktop Tue Apr 21 12:49:09 2009 +0000 @@ -0,0 +1,10 @@ + +[Desktop Entry] +Name=Sonata +Comment=An elegant GTK+ MPD client +Exec=startsonata +Terminal=false +Type=Application +Icon=sonata +Categories=GTK;AudioVideo;Player; +StartupNotify=true diff -r 7d6849d4f7bc -r ab720c05cb56 sonata/stuff/startsonata --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sonata/stuff/startsonata Tue Apr 21 12:49:09 2009 +0000 @@ -0,0 +1,3 @@ +#!/bin/sh +mpd & +sonata