blob: 05bf2e74e4ddda1e1c69748a1460009ad593316a (
plain)
1 # Description: C++ interface to GTK+.
2 # URL: https://www.gtkmm.org/en/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: pangomm atkmm xorg-libxdamage
5
6 name=gtkmm
7 version=2.24.5
8 release=1
9 source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
10
11 build() {
12 cd $name-$version
13
14 CXXFLAGS+=' -std=c++11'
15
16 ./configure \
17 --prefix=/usr \
18 --disable-dependency-tracking \
19 --disable-documentation
20
21 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22
23 make
24 make DESTDIR=$PKG install
25 }
|