55 lines
1.7 KiB
Bash
55 lines
1.7 KiB
Bash
# Template file for 'rhythmbox'
|
|
pkgname=rhythmbox
|
|
version=3.4.4
|
|
revision=3
|
|
build_style=gnu-configure
|
|
build_helper=gir
|
|
configure_args="--disable-static --with-gudev --without-hal
|
|
$(vopt_if gir --enable-vala)
|
|
ac_cv_strftime_supports_E_O=yes"
|
|
hostmakedepends="pkg-config intltool itstool glib-devel
|
|
$(vopt_if gir 'gobject-introspection vala')"
|
|
makedepends="gtk+3-devel libsoup-gnome-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 python-gobject-devel
|
|
libdmapsharing-devel"
|
|
depends="gir-freedesktop 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}/${pkgname}/${version::3}/${pkgname}-${version}.tar.xz"
|
|
checksum=ee0eb0d7d7bdf696ac9471b19ff3bea3240d63b6cb8a134bf632054af8665d90
|
|
|
|
python_version=3
|
|
pycompile_dirs="/usr/lib/rhythmbox/plugins /usr/lib/rhythmbox/sample-plugins"
|
|
|
|
build_options="gir brasero"
|
|
desc_option_brasero="Enable CD burning support"
|
|
build_options_default="gir"
|
|
|
|
pre_build() {
|
|
export GIR_EXTRA_LIBS_PATH="$wrksrc/shell/.libs"
|
|
}
|
|
|
|
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/share/gtk-doc
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|