[arch-commits] Commit in gtkmm/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Dec 7 13:19:32 UTC 2015
Date: Monday, December 7, 2015 @ 14:19:32
Author: bpiotrowski
Revision: 253361
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gtkmm/repos/staging-i686/
gtkmm/repos/staging-i686/PKGBUILD
(from rev 253360, gtkmm/trunk/PKGBUILD)
gtkmm/repos/staging-x86_64/
gtkmm/repos/staging-x86_64/PKGBUILD
(from rev 253360, gtkmm/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: gtkmm/repos/staging-i686/PKGBUILD (from rev 253360, gtkmm/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-07 13:19:32 UTC (rev 253361)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gtkmm
+pkgname=('gtkmm' 'gtkmm-docs')
+pkgver=2.24.4
+pkgrel=2
+arch=('i686' 'x86_64')
+makedepends=('gtk2' 'pangomm' 'atkmm' 'glibmm-docs')
+license=('LGPL')
+options=('!emptydirs')
+url="http://www.gtkmm.org/"
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.24/${pkgbase}-${pkgver}.tar.xz)
+sha256sums=('443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee')
+
+build() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ # glibmm 2.46 uses C++11 features
+ CXXFLAGS+=' -std=c++11'
+
+ ./configure --prefix=/usr
+ make
+}
+
+package_gtkmm() {
+ pkgdesc="C++ bindings for gtk2"
+ depends=('gtk2' 'pangomm' 'atkmm')
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+
+ make DESTDIR="${pkgdir}" install
+}
+
+package_gtkmm-docs() {
+ pkgdesc="Developer documentation for gtkmm v2"
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make -C docs DESTDIR="${pkgdir}" install
+}
Copied: gtkmm/repos/staging-x86_64/PKGBUILD (from rev 253360, gtkmm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-07 13:19:32 UTC (rev 253361)
@@ -0,0 +1,42 @@
+# $Id$
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=gtkmm
+pkgname=('gtkmm' 'gtkmm-docs')
+pkgver=2.24.4
+pkgrel=2
+arch=('i686' 'x86_64')
+makedepends=('gtk2' 'pangomm' 'atkmm' 'glibmm-docs')
+license=('LGPL')
+options=('!emptydirs')
+url="http://www.gtkmm.org/"
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.24/${pkgbase}-${pkgver}.tar.xz)
+sha256sums=('443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee')
+
+build() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ # glibmm 2.46 uses C++11 features
+ CXXFLAGS+=' -std=c++11'
+
+ ./configure --prefix=/usr
+ make
+}
+
+package_gtkmm() {
+ pkgdesc="C++ bindings for gtk2"
+ depends=('gtk2' 'pangomm' 'atkmm')
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+
+ make DESTDIR="${pkgdir}" install
+}
+
+package_gtkmm-docs() {
+ pkgdesc="Developer documentation for gtkmm v2"
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make -C docs DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list