54773bbf05
from the 3.4 changelog: * No longer uses webkit (partly due to OpenBSD W^X enforcement)
48 lines
1.6 KiB
Bash
48 lines
1.6 KiB
Bash
# Template file for 'rhythmbox'
|
|
pkgname=rhythmbox
|
|
version=3.4.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-schemas-compile --with-gudev
|
|
--without-hal $(vopt_if gir --enable-vala)"
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils itstool $(vopt_if gir gobject-introspection)"
|
|
makedepends="gtk+3-devel libsoup-gnome-devel totem-pl-parser-devel
|
|
json-glib-devel libgudev-devel GConf-devel libdiscid-devel vala-devel
|
|
libmtp-devel avahi-glib-libs-devel libpeas-devel 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"
|
|
pycompile_version="$py3_ver"
|
|
pycompile_dirs="/usr/lib/rhythmbox/plugins /usr/lib/rhythmbox/sample-plugins"
|
|
short_desc="GNOME integrated music management application"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.rhythmbox.org"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version::3}/${pkgname}-${version}.tar.xz"
|
|
checksum=c27622fb7658d3c8e935937a562ebd8a65f5316a12694d6a06cb17f790b6ec43
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|