[arch-commits] Commit in gtkmm3/repos (4 files)

Jan Steffens heftig at archlinux.org
Wed Sep 20 20:19:36 UTC 2017


    Date: Wednesday, September 20, 2017 @ 20:19:35
  Author: heftig
Revision: 305986

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gtkmm3/repos/gnome-unstable-i686/
  gtkmm3/repos/gnome-unstable-i686/PKGBUILD
    (from rev 305985, gtkmm3/trunk/PKGBUILD)
  gtkmm3/repos/gnome-unstable-x86_64/
  gtkmm3/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 305985, gtkmm3/trunk/PKGBUILD)

--------------------------------+
 gnome-unstable-i686/PKGBUILD   |   47 +++++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

Copied: gtkmm3/repos/gnome-unstable-i686/PKGBUILD (from rev 305985, gtkmm3/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2017-09-20 20:19:35 UTC (rev 305986)
@@ -0,0 +1,47 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=gtkmm3
+pkgname=(gtkmm3 gtkmm3-docs)
+pkgver=3.22.2+2+g3002ed86
+pkgrel=1
+pkgdesc="C++ bindings for GTK+ 3"
+url="http://www.gtkmm.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(gtk3 pangomm atkmm)
+makedepends=(git mm-common glibmm-docs cairomm-docs pangomm-docs atkmm-docs)
+_commit=3002ed863d2d85d57431e3aa1df9721d5dd3787c  # gtkmm-3-22
+source=("git+https://git.gnome.org/browse/gtkmm#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gtkmm
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gtkmm
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd gtkmm
+  ./configure --prefix=/usr --enable-maintainer-mode
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gtkmm3() {
+  cd gtkmm
+  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+  make DESTDIR="$pkgdir" install
+}
+
+package_gtkmm3-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  cd gtkmm
+  make -C docs DESTDIR="$pkgdir" install
+}

Copied: gtkmm3/repos/gnome-unstable-x86_64/PKGBUILD (from rev 305985, gtkmm3/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2017-09-20 20:19:35 UTC (rev 305986)
@@ -0,0 +1,47 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=gtkmm3
+pkgname=(gtkmm3 gtkmm3-docs)
+pkgver=3.22.2+2+g3002ed86
+pkgrel=1
+pkgdesc="C++ bindings for GTK+ 3"
+url="http://www.gtkmm.org/"
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(gtk3 pangomm atkmm)
+makedepends=(git mm-common glibmm-docs cairomm-docs pangomm-docs atkmm-docs)
+_commit=3002ed863d2d85d57431e3aa1df9721d5dd3787c  # gtkmm-3-22
+source=("git+https://git.gnome.org/browse/gtkmm#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd gtkmm
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gtkmm
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd gtkmm
+  ./configure --prefix=/usr --enable-maintainer-mode
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gtkmm3() {
+  cd gtkmm
+  sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+  make DESTDIR="$pkgdir" install
+}
+
+package_gtkmm3-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  cd gtkmm
+  make -C docs DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list