diff --git a/srcpkgs/libgnomecanvas-devel b/srcpkgs/libgnomecanvas-devel new file mode 120000 index 0000000000..376345daec --- /dev/null +++ b/srcpkgs/libgnomecanvas-devel @@ -0,0 +1 @@ +libgnomecanvas \ No newline at end of file diff --git a/srcpkgs/libgnomecanvas/depends b/srcpkgs/libgnomecanvas/depends new file mode 100644 index 0000000000..e709dcbad4 --- /dev/null +++ b/srcpkgs/libgnomecanvas/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgnomecanvas/libgnomecanvas-devel.template b/srcpkgs/libgnomecanvas/libgnomecanvas-devel.template new file mode 100644 index 0000000000..a8f6519207 --- /dev/null +++ b/srcpkgs/libgnomecanvas/libgnomecanvas-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libgnomecanvas-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libgnomecanvas/template b/srcpkgs/libgnomecanvas/template new file mode 100644 index 0000000000..c1a48e43d5 --- /dev/null +++ b/srcpkgs/libgnomecanvas/template @@ -0,0 +1,42 @@ +# Template file for 'libgnomecanvas' +pkgname=libgnomecanvas +version=2.30.1 +distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="GNOME Canvas library" +maintainer="Juan RP " +checksum=291a436cba73550fc1cc93a2bc99353daa18c0a9fec4cfcff47d9ec38d643166 +long_desc=" + This is the canvas widget library for GNOME2. Libgnomecanvas was + originally part of the gnome-libs package, but has been split out into + a separate package for GNOME2. + + The GNOME canvas is an engine for structured graphics that offers a rich + imaging model, high performance rendering, and a powerful, high-level API. + It offers a choice of two rendering back-ends, one based on Xlib for + extremely fast display, and another based on Libart, a sophisticated, + antialiased, alpha-compositing engine. Applications have a choice between + the Xlib imaging model or a superset of the PostScript imaging model, + depending on the level of graphic sophistication required." + +subpackages="$pkgname-devel" + +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 libart +Add_dependency build pkg-config +Add_dependency build intltool +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 libart-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index f04b753d74..ad47c13d25 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -532,3 +532,5 @@ libgnomevfs-2.so gnome-vfs gnome-vfs-devel libgnome-2.so libgnome libgnome-devel libgnome-media-profiles.so gnome-media gnome-media-devel libgnome-menu.so gnome-menus gnome-menus-devel +libart_lgpl_2.so libart libart-devel +libgnomecanvas-2.so libgnomecanvas libgnomecanvas-devel