1 # Maintainer: 3ED <krzysztof1987 _at_ gmail _dot_ com>
5 true && pkgname=(rhythmcat rhythmcat-plugins rhythmcat-plugins-extra)
10 pkgdesc="A Audio Player in GTK3 with plug-in support"
11 arch=('i686' 'x86_64')
12 url="https://code.google.com/p/rhythmcat/"
14 makedepends=('gtk-doc')
15 depends=('gtk3' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'dbus-glib')
16 source=(https://rhythmcat.googlecode.com/files/${_pkgname}-${pkgver}-${_pkgver}_Source.tar.bz2
18 sha256sums=('baac929234d328392ebe2761faea6e9c0efa6bb49c3b77e836771ebd81e515f9'
19 'f55c24ebfce8688c440b28487774c991d7aa85d817baf446cf1f5e2e53be2773')
21 _plugins_base=(desktop-lyric lyric-show music-locator notify)
22 _plugins_extra=(lyric-crawler lyric-editor tageditor)
25 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}"
35 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}/plugins/base/"
37 for i in "${_plugins_base[@]}"; do
38 test -f "$i/Makefile3" || continue
39 (cd "$i" && make --makefile=Makefile3)
44 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}/plugins/extra/"
46 for i in "${_plugins_extra[@]}"; do
47 test -f "$i/Makefile3" || continue
48 (cd "$i" && make --makefile=Makefile3)
53 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}"
59 pkgdesc="A Audio Player in GTK3"
60 optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
61 'gstreamer0.10-bad-plugins: Extra media codecs'
62 'gstreamer0.10-ffmpeg: Extra media codecs'
63 'rhythmcat-plugins: Base plugins'
64 'rhythmcat-plugins-extra: Extra plugins')
66 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}"
68 make DESTDIR="$pkgdir/" install
70 install -dm755 "$pkgdir/usr/share/applications/"
71 install -m 644 "$srcdir/RhythmCat.desktop" "$pkgdir/usr/share/applications/"
74 package_rhythmcat-plugins() {
75 pkgdesc="Base plugins for RhythmCat"
76 depends=(rhythmcat gtksourceview3)
78 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}/plugins/base/"
80 install -dm755 "$pkgdir"/usr/share/RhythmCat/plugins/
81 for i in "${_plugins_base[@]}"; do
82 test -f "$i/Makefile3" || continue
83 (cd "$i" && make INSTALL_DIR="$pkgdir/usr/share/RhythmCat/plugins/$i" install)
86 package_rhythmcat-plugins-extra() {
87 pkgdesc="Extra plugins for RhythmCat"
90 cd "$srcdir/${_pkgname}-${pkgver}-${_pkgver}/plugins/extra/"
92 install -dm755 "$pkgdir"/usr/share/RhythmCat/plugins/
93 for i in "${_plugins_extra[@]}"; do
94 test -f "$i/Makefile3" || continue
95 (cd "$i" && make INSTALL_DIR="$pkgdir/usr/share/RhythmCat/plugins/$i" install)
101 pkgdesc="A Audio Player in GTK3 with plug-in support"
102 depends=('gtk3' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'dbus-glib')
104 # vim:set ts=2 sw=2 et: