gtkmm2: new package provides gtkmm 2.4 support
This commit is contained in:
parent
0089532b23
commit
a180e44881
2 changed files with 89 additions and 0 deletions
28
srcpkgs/gtkmm2/gtkmm2-devel.template
Normal file
28
srcpkgs/gtkmm2/gtkmm2-devel.template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'gtkmm-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 libsigc++-devel
|
||||
Add_dependency run glibmm-devel
|
||||
Add_dependency run atkmm-devel
|
||||
Add_dependency run pangomm-devel
|
||||
Add_dependency run cairomm-devel
|
||||
Add_dependency run gtkmm
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/{g[dt]k*,pkgconfig} ${DESTDIR}/usr/lib
|
||||
}
|
61
srcpkgs/gtkmm2/template
Normal file
61
srcpkgs/gtkmm2/template
Normal file
|
@ -0,0 +1,61 @@
|
|||
# Template build file for 'gtkmm'.
|
||||
pkgname=gtkmm2
|
||||
version=2.24.0
|
||||
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-documentation"
|
||||
short_desc="C++ bindings for The GTK+ toolkit (v2)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
wrksrc=gtkmm-${version}
|
||||
checksum=8cbae7254746bc7df7cce882d9b9a916c4e00dba7bdacd1c50b5d096a484cf56
|
||||
long_desc="
|
||||
gtkmm (previously known as Gtk--) is the official C++ interface for the
|
||||
popular GUI library GTK+. Highlights include typesafe callbacks, widgets
|
||||
extensible via inheritance and a comprehensive set of widget classes that
|
||||
can be freely combined to quickly create complex user interfaces. Here's
|
||||
an overview, with documentation and status. gtkmm is free software
|
||||
distributed under the GNU Library General Public License (LGPL).
|
||||
|
||||
Aside from the C++ interface to Gtk 2.x, this package also provides
|
||||
bindings for the ATK library."
|
||||
|
||||
subpackages="gtkmm2-devel"
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
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 libpng
|
||||
Add_dependency run gdk-pixbuf
|
||||
Add_dependency run gtk+
|
||||
Add_dependency run libsigc++
|
||||
Add_dependency run glibmm
|
||||
Add_dependency run atkmm
|
||||
Add_dependency run pangomm
|
||||
Add_dependency run cairomm
|
||||
Add_dependency build libXcursor
|
||||
|
||||
|
||||
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 libsigc++-devel
|
||||
Add_dependency build glibmm-devel
|
||||
Add_dependency build atkmm-devel
|
||||
Add_dependency build pangomm-devel
|
||||
Add_dependency build cairomm-devel
|
||||
Add_dependency build libXcursor-devel
|
||||
Add_dependency build coreutils
|
||||
|
||||
pre_install() {
|
||||
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
|
||||
}
|
Loading…
Reference in a new issue