diff --git a/srcpkgs/libcanberra-devel b/srcpkgs/libcanberra-devel new file mode 120000 index 0000000000..2c1c8bc0aa --- /dev/null +++ b/srcpkgs/libcanberra-devel @@ -0,0 +1 @@ +libcanberra \ No newline at end of file diff --git a/srcpkgs/libcanberra/depends b/srcpkgs/libcanberra/depends new file mode 100644 index 0000000000..f034ee889b --- /dev/null +++ b/srcpkgs/libcanberra/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.23" +api_depends="${abi_depends}" diff --git a/srcpkgs/libcanberra/libcanberra-devel.template b/srcpkgs/libcanberra/libcanberra-devel.template new file mode 100644 index 0000000000..3cef4cec1c --- /dev/null +++ b/srcpkgs/libcanberra/libcanberra-devel.template @@ -0,0 +1,30 @@ +# Template file for 'libcanberra-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run glib-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run gtk+-devel +Add_dependency run libvorbis-devel +Add_dependency run libogg-devel +Add_dependency run libltdl-devel +Add_dependency run gstreamer-devel +Add_dependency run libxml2-devel +Add_dependency run alsa-lib-devel + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/{gtk-doc,vala} ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template new file mode 100644 index 0000000000..a4dec16623 --- /dev/null +++ b/srcpkgs/libcanberra/template @@ -0,0 +1,51 @@ +# Template build file for 'libcanberra'. +pkgname=libcanberra +version=0.23 +distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--localstatedir=/var --enable-alsa --enable-null +--enable-gstreamer --disable-oss --with-builtin=dso --disable-tdb +--disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas +--disable-lynx --disable-pulse" +short_desc="Library providing high-level API for X Keyboard Extension" +maintainer="Juan RP " +checksum=a7d0cf282a9fc8d1e41c082b72a2bf4cf86a6d599f0262484bac95bab57a0960 +long_desc=" + libcanberra is a library providing high-level API for X Keyboard Extension + known as XKB. This library is intended to support XFree86 and other + commercial X servers. It is useful for creating XKB-related software + (layout indicators etc)." + +gconf_schemas="libcanberra.schemas" +subpackages="$pkgname-devel" + +# XXX add pulseaudio support +Add_dependency run glibc +Add_dependency run glib +Add_dependency run atk +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gtk+ +Add_dependency run libvorbis +Add_dependency run libogg +Add_dependency run libltdl +Add_dependency run gstreamer +Add_dependency run libxml2 +Add_dependency run alsa-lib +Add_dependency build pkg-config +Add_dependency build glib-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gtk+-devel +Add_dependency build libvorbis-devel +Add_dependency build libogg-devel +Add_dependency build libltdl-devel +Add_dependency build gstreamer-devel +Add_dependency build libxml2-devel +Add_dependency build alsa-lib-devel +Add_dependency full GConf diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 15e6d3e4fd..8c9d32a56b 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -518,3 +518,5 @@ libdevkit-power-gobject.so upower upower-devel libpolkit-gtk-1.so polkit-gnome polkit-gnome-devel libgnomekbd.so libgnomekbd libgnomekbd-devel libgnomekbdui.so libgnomekbd libgnomekbd-devel +libcanberra.so libcanberra libcanberra-devel +libcanberra-gtk.so libcanberra libcanberra-devel