Browse Source

[trunk] -> [staging] 'gtkmm-1:2.24.5-4' add

master
Dudemanguy 2 years ago
parent
commit
f0d749fb95
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 40
      gtkmm/repos/staging-x86_64/PKGBUILD
  2. 2
      gtkmm/trunk/PKGBUILD

40
gtkmm/repos/staging-x86_64/PKGBUILD

@ -0,0 +1,40 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase=gtkmm
pkgname=(gtkmm gtkmm-docs)
pkgver=2.24.5
pkgrel=4
epoch=1
pkgdesc="C++ bindings for GTK+ 2"
url="http://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(gtk2 pangomm atkmm)
source=(https://ftp.gnome.org/pub/GNOME/sources/$pkgbase/2.24/$pkgbase-$pkgver.tar.xz)
sha256sums=('0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72')
build() {
cd $pkgbase-$pkgver
# glibmm 2.46 uses C++11 features
CXXFLAGS+=' -std=c++11'
./configure --prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package_gtkmm() {
cd $pkgbase-$pkgver
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
make DESTDIR="$pkgdir" install
}
package_gtkmm-docs() {
pkgdesc+=" (documentation)"
depends=()
cd $pkgbase-$pkgver
make -C docs DESTDIR="$pkgdir" install
}

2
gtkmm/trunk/PKGBUILD

@ -4,7 +4,7 @@
pkgbase=gtkmm
pkgname=(gtkmm gtkmm-docs)
pkgver=2.24.5
pkgrel=3
pkgrel=4
epoch=1
pkgdesc="C++ bindings for GTK+ 2"
url="http://www.gtkmm.org/"

Loading…
Cancel
Save