summaryrefslogtreecommitdiff
path: root/repo/gtkmm3/gtkmm3.xibuild
blob: 329583090ec89a9c4a4ffbfc3437acacc316c8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

NAME="gtkmm3"
DESC="C++ wrappers for GTK+"

MAKEDEPS="meson ninja atkmm cairomm gdk-pixbuf glib glibmm gtk3 libsigc++ musl pangomm "

MAJ=3
PKG_VER=24.7
SOURCE="https://download.gnome.org/sources/gtkmm/$MAJ.${PKG_VER%.*}/gtkmm-$MAJ.$PKG_VER.tar.xz"

build () {
	#CXXFLAGS="$CXXFLAGS -std=c++11" \
	#./configure \
	#	--prefix=/usr
	#make
    cd build    &&
    meson --prefix=/usr \
            -Dbuild-demos=false \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}