Added libcanberra-0.23 build template.

--HG--
extra : convert_revision : c072ed46cabc5ad8d3c6bb428d5a53617bb8ba39
This commit is contained in:
Juan RP 2010-04-11 15:05:09 +02:00
parent 7bd921110d
commit 6b0555680c
5 changed files with 86 additions and 0 deletions

1
srcpkgs/libcanberra-devel Symbolic link
View File

@ -0,0 +1 @@
libcanberra

View File

@ -0,0 +1,2 @@
abi_depends=">=0.23"
api_depends="${abi_depends}"

View File

@ -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
}

View File

@ -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 <xtraeme@gmail.com>"
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

View File

@ -518,3 +518,5 @@ libdevkit-power-gobject.so upower upower-devel
libpolkit-gtk-1.so polkit-gnome polkit-gnome-devel libpolkit-gtk-1.so polkit-gnome polkit-gnome-devel
libgnomekbd.so libgnomekbd libgnomekbd-devel libgnomekbd.so libgnomekbd libgnomekbd-devel
libgnomekbdui.so libgnomekbd libgnomekbd-devel libgnomekbdui.so libgnomekbd libgnomekbd-devel
libcanberra.so libcanberra libcanberra-devel
libcanberra-gtk.so libcanberra libcanberra-devel