2010-04-11 15:05:09 +02:00
|
|
|
# Template build file for 'libcanberra'.
|
|
|
|
pkgname=libcanberra
|
2012-11-01 10:54:54 +01:00
|
|
|
version=0.30
|
2015-07-01 11:02:46 +02:00
|
|
|
revision=8
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-09-01 15:22:12 +02:00
|
|
|
configure_args="--enable-alsa --enable-null --disable-lynx
|
|
|
|
--enable-gstreamer --disable-oss --with-builtin=dso"
|
2014-02-16 09:05:03 +01:00
|
|
|
hostmakedepends="libtool pkg-config intltool"
|
|
|
|
makedepends="
|
|
|
|
gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel
|
2012-11-01 10:54:54 +01:00
|
|
|
gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
libudev-devel vala-devel"
|
2010-11-19 20:42:52 +01:00
|
|
|
short_desc="XDG Sound Theme and Name Specification library implementation"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-07-13 21:20:02 +02:00
|
|
|
homepage="http://0pointer.de/lennart/projects/libcanberra/"
|
|
|
|
license="LGPL-2.1"
|
2014-09-01 15:30:05 +02:00
|
|
|
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-${version}.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/libcanberra-${version}.tar.xz"
|
2012-11-01 10:54:54 +01:00
|
|
|
checksum=c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
|
2010-11-19 20:42:52 +01:00
|
|
|
|
2014-02-16 09:05:03 +01:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-09-01 15:22:12 +02:00
|
|
|
libcanberra-utils_package() {
|
|
|
|
replaces="${sourcepkg}<0.30_6"
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libcanberra-gtk_package() {
|
|
|
|
replaces="${sourcepkg}<0.30_6"
|
|
|
|
short_desc+=" - GTK+ (2.x) support"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/libcanberra-gtk.so.*
|
|
|
|
vmove usr/lib/gtk-2.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libcanberra-gtk3_package() {
|
|
|
|
replaces="${sourcepkg}<0.30_6"
|
|
|
|
short_desc+=" - GTK+ (3.x) support"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/libcanberra-gtk3.so.*
|
|
|
|
vmove usr/lib/gtk-3.0
|
|
|
|
}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
libcanberra-devel_package() {
|
2014-09-01 15:26:06 +02:00
|
|
|
depends="gtk+-devel gtk+3-devel
|
|
|
|
${sourcepkg}-gtk>=${version}_${revision}
|
|
|
|
${sourcepkg}-gtk3>=${version}_${revision}
|
|
|
|
${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-16 09:05:03 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|