wok-next view matchbox-window-manager-2/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 2c409915a36c |
children | e545e47edffa |
line source
1 # SliTaz package receipt.
3 PACKAGE="matchbox-window-manager-2"
4 VERSION="2106"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox Window Manager v2."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://matchbox-project.org/"
11 WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
12 BRANCH="$VERSION"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev subversion libffi autoconf automake libtool \
16 xorg-libXcomposite-dev xorg-libXdamage-dev libpng12-dev expat-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \
22 matchbox/theme-engines/mb-wm-theme-png.c
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
26 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
27 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
29 ./autogen.sh \
30 --enable-png-theme \
31 --enable-composite-managers=xrender \
32 --enable-matchbox-remote \
33 --with-pango \
34 --with-gtk \
35 $CONFIGURE_ARGS &&
36 # Fix Makefile identation.
37 sed -i s'/ / /' Makefile &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share $fs/usr
47 }