2010-04-11 13:05:09 +00:00
|
|
|
# Template build file for 'libcanberra'.
|
|
|
|
pkgname=libcanberra
|
2012-11-01 09:54:54 +00:00
|
|
|
version=0.30
|
2014-02-16 08:05:03 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="--enable-alsa --enable-null
|
2012-11-01 09:54:54 +00:00
|
|
|
--enable-gstreamer --disable-oss --with-builtin=dso --disable-lynx
|
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system"
|
2014-02-16 08:05:03 +00:00
|
|
|
hostmakedepends="libtool pkg-config intltool"
|
|
|
|
makedepends="
|
|
|
|
gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
|
2012-11-01 09:54:54 +00:00
|
|
|
gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel
|
|
|
|
libudev-devel>=183 vala-devel"
|
2010-11-19 19:42:52 +00:00
|
|
|
short_desc="XDG Sound Theme and Name Specification library implementation"
|
2010-04-11 13:05:09 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-13 19:20:02 +00:00
|
|
|
homepage="http://0pointer.de/lennart/projects/libcanberra/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.xz"
|
2012-11-01 09:54:54 +00:00
|
|
|
checksum=c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
|
2010-11-19 19:42:52 +00:00
|
|
|
|
2014-02-16 08:05:03 +00:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libcanberra-devel_package() {
|
2014-02-16 08:05:03 +00:00
|
|
|
depends="gtk+-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-16 08:05:03 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|