Added libwnck2-2.30.6 (GTK+2) build template required by some pkgs.

This commit is contained in:
Juan RP 2011-05-18 11:20:54 +02:00
parent 8e892110a9
commit 991889f75c
5 changed files with 79 additions and 0 deletions

1
srcpkgs/libwnck2-devel Symbolic link
View file

@ -0,0 +1 @@
libwnck2

2
srcpkgs/libwnck2/depends Normal file
View file

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

View file

@ -0,0 +1,23 @@
# Template file for 'libwnck-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run freetype-devel
Add_dependency run gtk+-devel
Add_dependency run startup-notification-devel
Add_dependency run libX11-devel
Add_dependency run libXres-devel
Add_dependency run libwnck
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share
}

52
srcpkgs/libwnck2/template Normal file
View file

@ -0,0 +1,52 @@
# Template build file for 'libwnck2'.
pkgname=libwnck2
version=2.30.6
wrksrc=libwnck-${version}
distfiles="${GNOME_SITE}/libwnck/2.30/libwnck-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var"
short_desc="Library for layout and rendering of text (GTK+2)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4d25984ed5cfe215eb650f960de634300a6cafc9d98bbc7caea8043b7cd96cc5
long_desc="
libwnck is Window Navigator Construction Kit, i.e. a library to use
for writing pagers and taskslists and stuff.
This package is based in the GTK+2 Toolkit."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run glib
Add_dependency run atk
Add_dependency run pango
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run libpng
Add_dependency run gdk-pixbuf
Add_dependency run cairo
Add_dependency run startup-notification
Add_dependency run libX11
Add_dependency run libXres
Add_dependency run gtk+
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gobject-introspection
Add_dependency build glib-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build libpng-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build cairo-devel
Add_dependency build startup-notification-devel
Add_dependency build libXres-devel
Add_dependency build libX11-devel
Add_dependency build gtk+-devel
post_install()
{
rm -rf ${DESTDIR}/usr/bin
}

View file

@ -126,6 +126,7 @@ libXau.so libXau libXau-devel
libexslt.so libxslt libxslt-devel
libxslt.so libxslt libxslt-devel
libstartup-notification-1.so startup-notification startup-notification-devel
libwnck-1.so libwnck2 libwnck2-devel
libwnck-3.so libwnck libwnck-devel
libnl.so libnl libnl-devel
libssl.so libssl openssl-devel