51 lines
1.6 KiB
Bash
51 lines
1.6 KiB
Bash
# Template file for 'rhythmbox'
|
|
pkgname=rhythmbox
|
|
version=3.4.7
|
|
revision=2
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="-Dgudev=enabled $(vopt_feature gir plugins_vala) -Ddaap=enabled"
|
|
hostmakedepends="pkg-config gettext itstool glib-devel
|
|
gtk-update-icon-cache desktop-file-utils
|
|
$(vopt_if gir 'gobject-introspection vala')"
|
|
makedepends="gtk+3-devel libsoup3-devel totem-pl-parser-devel
|
|
json-glib-devel libgudev-devel libdiscid-devel vala-devel
|
|
libmtp-devel avahi-glib-libs-devel libpeas-devel $(vopt_if brasero brasero-devel)
|
|
libnotify-devel tdb-devel libsecret-devel libSM-devel grilo-devel
|
|
gst-plugins-base1-devel clutter-gtk-devel python3-devel python3-gobject-devel
|
|
libdmapsharing-devel libgpod-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
short_desc="GNOME integrated music management application"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://www.rhythmbox.org"
|
|
distfiles="${GNOME_SITE}/rhythmbox/${version::3}/rhythmbox-${version}.tar.xz"
|
|
checksum=2f6d56c13fc1a64c534f500788fb482936ce547b343ed90c67de1f2bce0cfa7e
|
|
|
|
python_version=3
|
|
pycompile_dirs="/usr/lib/rhythmbox/plugins"
|
|
|
|
build_options="gir brasero"
|
|
desc_option_brasero="Enable CD burning support"
|
|
build_options_default="gir"
|
|
|
|
librhythmbox_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
rhythmbox-devel_package() {
|
|
depends="gtk+3-devel librhythmbox-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|