diff --git a/srcpkgs/gir-libwnck b/srcpkgs/gir-libwnck new file mode 120000 index 0000000000..f1e1ba2a20 --- /dev/null +++ b/srcpkgs/gir-libwnck @@ -0,0 +1 @@ +libwnck \ No newline at end of file diff --git a/srcpkgs/libwnck/gir-libwnck.template b/srcpkgs/libwnck/gir-libwnck.template new file mode 100644 index 0000000000..0dc615f213 --- /dev/null +++ b/srcpkgs/libwnck/gir-libwnck.template @@ -0,0 +1,13 @@ +# Template file for 'gir-libwnck'. +# +short_desc="Introspection data for GNOME's libwnck" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the GNOME's + libwnck library." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libwnck/libwnck-devel.template b/srcpkgs/libwnck/libwnck-devel.template index 0dfa829b2c..065c88e1dc 100644 --- a/srcpkgs/libwnck/libwnck-devel.template +++ b/srcpkgs/libwnck/libwnck-devel.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run freetype-devel Add_dependency run gtk+-devel Add_dependency run startup-notification-devel @@ -19,5 +21,5 @@ do_install() 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/gtk-doc ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share } diff --git a/srcpkgs/libwnck/template b/srcpkgs/libwnck/template index 561450610a..a56d9a01b6 100644 --- a/srcpkgs/libwnck/template +++ b/srcpkgs/libwnck/template @@ -1,6 +1,7 @@ # Template build file for 'libwnck'. pkgname=libwnck version=2.30.5 +revision=1 distfiles="${GNOME_SITE}/libwnck/2.30/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--localstatedir=/var" @@ -11,7 +12,8 @@ long_desc=" libwnck is Window Navigator Construction Kit, i.e. a library to use for writing pagers and taskslists and stuff." -subpackages="$pkgname-devel" +subpackages="gir-$pkgname $pkgname-devel" + Add_dependency run glibc Add_dependency run atk Add_dependency run cairo @@ -25,6 +27,7 @@ Add_dependency run gtk+ Add_dependency run startup-notification Add_dependency run libX11 Add_dependency run libXres + Add_dependency build pkg-config Add_dependency build intltool Add_dependency build freetype-devel @@ -34,3 +37,4 @@ Add_dependency build gtk+-devel Add_dependency build startup-notification-devel Add_dependency build libX11-devel Add_dependency build libXres-devel +Add_dependency build gobject-introspection