From 633a86162fdf4181445a93d26fd8eaa6e4399f28 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 27 Nov 2010 16:36:04 +0100 Subject: [PATCH] Added atkmm-2.22.1 build template. --- srcpkgs/atkmm-devel | 1 + srcpkgs/atkmm/atkmm-devel.template | 23 ++++++++++++++ srcpkgs/atkmm/depends | 2 ++ srcpkgs/atkmm/template | 38 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 2 +- 5 files changed, 65 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/atkmm-devel create mode 100644 srcpkgs/atkmm/atkmm-devel.template create mode 100644 srcpkgs/atkmm/depends create mode 100644 srcpkgs/atkmm/template diff --git a/srcpkgs/atkmm-devel b/srcpkgs/atkmm-devel new file mode 120000 index 00000000000..bdc310b0752 --- /dev/null +++ b/srcpkgs/atkmm-devel @@ -0,0 +1 @@ +atkmm \ No newline at end of file diff --git a/srcpkgs/atkmm/atkmm-devel.template b/srcpkgs/atkmm/atkmm-devel.template new file mode 100644 index 00000000000..ee624c61fd6 --- /dev/null +++ b/srcpkgs/atkmm/atkmm-devel.template @@ -0,0 +1,23 @@ +# Template file for 'atkmm-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +replaces="gtkmm-devel<2.22" + +Add_dependency run pkg-config +Add_dependency run atk-devel +Add_dependency run glibmm-devel +Add_dependency run glib-devel +Add_dependency run libsigc++-devel +Add_dependency run atkmm + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/atk-1.6 + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/atk-1.6/include ${DESTDIR}/usr/lib/atk-1.6 +} diff --git a/srcpkgs/atkmm/depends b/srcpkgs/atkmm/depends new file mode 100644 index 00000000000..df4441d74eb --- /dev/null +++ b/srcpkgs/atkmm/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.22.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/atkmm/template b/srcpkgs/atkmm/template new file mode 100644 index 00000000000..198140425e5 --- /dev/null +++ b/srcpkgs/atkmm/template @@ -0,0 +1,38 @@ +# Template build file for 'atkmm'. +pkgname=atkmm +version=2.22.1 +distfiles="${GNOME_SITE}/atkmm/2.22/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Set of interfaces for accessibility (C++ bindings)" +maintainer="Juan RP " +checksum=cc358f9b7bddd4d291395e82f4f062d3dd73a4af212bc77a3c7fb6c7a34b7ac8 +long_desc=" + The ATK library provides a set of interfaces for accessibility. + By supporting the ATK interfaces, an application or toolkit can + be used with such tools as screen readers, magnifiers, + and alternative input devices. + + Atk provides a core set of interfaces which are common to all + widgets and \"additional\" interfaces that are appropriate to certain + classes of widgets and whose existence can be queried at run time. + It also provides interfaces which an application can use to provide + additional accessibility information to assistive technology tools. + + This package provides the C++ bindings for the ATK library." + +subpackages="atkmm-devel" +replaces="gtkmm<2.22" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency run libsigc++ +Add_dependency run glib +Add_dependency run atk +Add_dependency run glibmm + +Add_dependency build pkg-config +Add_dependency build atk-devel +Add_dependency build glibmm-devel +Add_dependency build glib-devel +Add_dependency build libsigc++-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 1e4ca68f600..231c7a955f8 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -625,7 +625,7 @@ libgiomm-2.4.so glibmm glibmm-devel libglibmm_generate_extra_defs-2.4.so glibmm glibmm-devel libcairomm-1.0.so cairomm cairomm-devel libpangomm-1.4.so pangomm pangomm-devel -libatkmm-1.6.so gtkmm gtkmm-devel +libatkmm-1.6.so atkmm atkmm-devel libgtkmm-2.4.so gtkmm gtkmm-devel libgdkmm-2.4.so gtkmm gtkmm-devel libgksu2.so libgksu libgksu-devel