35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Template build file for 'libcanberra'.
|
|
pkgname=libcanberra
|
|
version=0.30
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--enable-alsa --enable-null
|
|
--enable-gstreamer --disable-oss --with-builtin=dso --disable-lynx
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system"
|
|
hostmakedepends="libtool pkg-config intltool"
|
|
makedepends="
|
|
gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
|
|
gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel
|
|
libudev-devel>=183 vala-devel"
|
|
short_desc="XDG Sound Theme and Name Specification library implementation"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://0pointer.de/lennart/projects/libcanberra/"
|
|
license="LGPL-2.1"
|
|
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.xz"
|
|
checksum=c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
|
|
|
|
pre_configure() {
|
|
libtoolize -f
|
|
}
|
|
|
|
libcanberra-devel_package() {
|
|
depends="gtk+-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/vala
|
|
}
|
|
}
|