From e3192dab020d3fdebdde651da547be6adfce2b92 Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 14 Mar 2008 14:24:22 +0000 Subject: import sonata-1.4.2, a GTK2 client for the Music Player Daemon, from Johann Franz via pkgsrc-wip --- audio/sonata/DESCR | 3 +++ audio/sonata/Makefile | 32 ++++++++++++++++++++++++++++ audio/sonata/PLIST | 49 +++++++++++++++++++++++++++++++++++++++++++ audio/sonata/distinfo | 6 ++++++ audio/sonata/patches/patch-aa | 13 ++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 audio/sonata/DESCR create mode 100644 audio/sonata/Makefile create mode 100644 audio/sonata/PLIST create mode 100644 audio/sonata/distinfo create mode 100644 audio/sonata/patches/patch-aa (limited to 'audio/sonata') diff --git a/audio/sonata/DESCR b/audio/sonata/DESCR new file mode 100644 index 00000000000..5e317a47bdf --- /dev/null +++ b/audio/sonata/DESCR @@ -0,0 +1,3 @@ +Sonata is a lightweight GTK+ music client for the Music Player Daemon (MPD). +It aims to be efficient (no toolbar, main menu, or statusbar), user-friendly, +and clean. diff --git a/audio/sonata/Makefile b/audio/sonata/Makefile new file mode 100644 index 00000000000..b23a73ae703 --- /dev/null +++ b/audio/sonata/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/03/14 14:24:22 drochner Exp $ +# + +DISTNAME= sonata-1.4.2 +CATEGORIES= audio +MASTER_SITES= http://download.berlios.de/sonata/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= jfranz@bsdprojects.net +HOMEPAGE= http://sonata.berlios.de/ +COMMENT= Elegant GTK2 client for the Music Player Daemon + +DEPENDS+= musicpd>0:../../audio/musicpd + +PYTHON_VERSIONS_ACCEPTED= 24 +PY_PATCHPLIST= yes +PYDISTUTILSPKG= yes +USE_DIRS+= xdg-1.4 +USE_TOOLS+= pkg-config + +# gtk threading bugfix +BUILDLINK_ABI_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.12.1nb1 + +.include "../../devel/py-gobject/buildlink3.mk" +.include "../../lang/python/extension.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../x11/py-gtk2/buildlink3.mk" +.include "../../net/py-soappy/buildlink3.mk" +.include "../../textproc/py-elementtree/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/sonata/PLIST b/audio/sonata/PLIST new file mode 100644 index 00000000000..cb155d6f929 --- /dev/null +++ b/audio/sonata/PLIST @@ -0,0 +1,49 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/14 14:24:22 drochner Exp $ +bin/sonata +${PYSITELIB}/audioscrobbler.py +${PYSITELIB}/audioscrobbler.pyc +${PYSITELIB}/audioscrobbler.pyo +${PYSITELIB}/mmkeys.so +${PYSITELIB}/mpdclient3.py +${PYSITELIB}/mpdclient3.pyc +${PYSITELIB}/mpdclient3.pyo +${PYSITELIB}/sonata.py +${PYSITELIB}/sonata.pyc +${PYSITELIB}/sonata.pyo +man/man1/sonata.1 +share/applications/sonata.desktop +share/locale/be@latin/LC_MESSAGES/sonata.mo +share/locale/cs/LC_MESSAGES/sonata.mo +share/locale/da/LC_MESSAGES/sonata.mo +share/locale/de/LC_MESSAGES/sonata.mo +share/locale/es/LC_MESSAGES/sonata.mo +share/locale/fi/LC_MESSAGES/sonata.mo +share/locale/fr/LC_MESSAGES/sonata.mo +share/locale/it/LC_MESSAGES/sonata.mo +share/locale/nl/LC_MESSAGES/sonata.mo +share/locale/pl/LC_MESSAGES/sonata.mo +share/locale/pt_BR/LC_MESSAGES/sonata.mo +share/locale/ru/LC_MESSAGES/sonata.mo +share/locale/sv/LC_MESSAGES/sonata.mo +share/locale/uk/LC_MESSAGES/sonata.mo +share/locale/zh_CN/LC_MESSAGES/sonata.mo +share/pixmaps/sonata-album.png +share/pixmaps/sonata-artist.png +share/pixmaps/sonata-stock_volume-max.png +share/pixmaps/sonata-stock_volume-med.png +share/pixmaps/sonata-stock_volume-min.png +share/pixmaps/sonata-stock_volume-mute.png +share/pixmaps/sonata.png +share/pixmaps/sonata_disconnect.png +share/pixmaps/sonata_large.png +share/pixmaps/sonata_pause.png +share/pixmaps/sonata_play.png +share/pixmaps/sonatacd.png +share/pixmaps/sonatacd_large.png +share/sonata/CHANGELOG +share/sonata/README +share/sonata/TODO +share/sonata/TRANSLATORS +@dirrm share/sonata +@comment in xdg-dirs: @dirrm share/pixmaps +@comment in xdg-dirs: @dirrm share/applications diff --git a/audio/sonata/distinfo b/audio/sonata/distinfo new file mode 100644 index 00000000000..fa21133038c --- /dev/null +++ b/audio/sonata/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/03/14 14:24:22 drochner Exp $ + +SHA1 (sonata-1.4.2.tar.bz2) = 82af30dfd4280cd80dc87b982ac2ba0bdb959c9f +RMD160 (sonata-1.4.2.tar.bz2) = a4667d443f5c8256ec125054a94c5f91eac323ef +Size (sonata-1.4.2.tar.bz2) = 334142 bytes +SHA1 (patch-aa) = 141790c7409e954535a12391ccafd7b22b53b11c diff --git a/audio/sonata/patches/patch-aa b/audio/sonata/patches/patch-aa new file mode 100644 index 00000000000..cc5b45d7901 --- /dev/null +++ b/audio/sonata/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/03/14 14:24:22 drochner Exp $ + +--- setup.py.orig 2008-03-14 14:54:33.000000000 +0100 ++++ setup.py +@@ -68,7 +68,7 @@ setup(name='Sonata', + data_files=[('share/sonata', ['README', 'CHANGELOG', 'TODO', 'TRANSLATORS']), + ('share/applications', ['sonata.desktop']), + ('share/pixmaps', ['pixmaps/sonata.png', 'pixmaps/sonata_large.png', 'pixmaps/sonatacd.png', 'pixmaps/sonatacd_large.png', 'pixmaps/sonata-artist.png', 'pixmaps/sonata-album.png', 'pixmaps/sonata-stock_volume-mute.png', 'pixmaps/sonata-stock_volume-min.png', 'pixmaps/sonata-stock_volume-med.png', 'pixmaps/sonata-stock_volume-max.png', 'pixmaps/sonata_pause.png', 'pixmaps/sonata_play.png', 'pixmaps/sonata_disconnect.png']), +- ('share/man/man1', ['sonata.1']), ++ ('man/man1', ['sonata.1']), + ('share/locale/de/LC_MESSAGES', ['mo/de/sonata.mo']), + ('share/locale/pl/LC_MESSAGES', ['mo/pl/sonata.mo']), + ('share/locale/ru/LC_MESSAGES', ['mo/ru/sonata.mo']), -- cgit v1.2.3