2007-05-13 20:36:56 +10:00
|
|
|
# Description: C++ interface to GTK+.
|
2017-02-11 12:36:33 +11:00
|
|
|
# URL: https://gtkmm.sourceforge.net/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2011-10-18 18:44:08 +11:00
|
|
|
# Depends on: pangomm atkmm xorg-libxdamage
|
2007-05-13 20:36:56 +10:00
|
|
|
|
|
|
|
name=gtkmm
|
2017-02-11 12:36:33 +11:00
|
|
|
version=2.24.5
|
|
|
|
release=1
|
|
|
|
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
|
2007-05-13 20:36:56 +10:00
|
|
|
|
|
|
|
build() {
|
2008-12-25 00:28:02 +11:00
|
|
|
cd $name-$version
|
2011-10-18 18:44:08 +11:00
|
|
|
|
2015-11-17 12:54:22 +11:00
|
|
|
CXXFLAGS+=' -std=c++11'
|
|
|
|
|
2011-10-18 18:44:08 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-documentation
|
|
|
|
|
2016-05-18 22:16:33 +10:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
2007-05-13 20:36:56 +10:00
|
|
|
make
|
2007-06-04 12:42:48 +10:00
|
|
|
make DESTDIR=$PKG install
|
2007-05-13 20:36:56 +10:00
|
|
|
}
|