wok-next view matchbox-window-manager-2/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
parents | 4744ab6d2481 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="matchbox-window-manager-2"
4 VERSION="20171206"
5 HASH="5f44595c66be118b1a74f489de7f8492035cbdf0"
6 CATEGORY="x-window"
7 SHORT_DESC="Matchbox Window Manager v2"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://matchbox-project.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-window-manager-2/snapshot/matchbox-window-manager-2-$HASH.tar.bz2"
15 BUILD_DEPENDS="automake libtool xorg-libX11-dev pango-dev gtk+-dev \
16 libpng12-dev xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXcursor-dev \
17 expat-dev"
19 compile_rules() {
20 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \
21 matchbox/theme-engines/mb-wm-theme-png.c
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
25 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
26 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
28 ./autogen.sh \
29 --enable-png-theme \
30 --enable-composite-managers=xrender \
31 --enable-matchbox-remote \
32 --with-pango \
33 --with-gtk \
34 $CONFIGURE_ARGS &&
35 # Fix Makefile identation.
36 sed -i s'/ / /' Makefile &&
37 fix libtool &&
38 make &&
39 make install
40 }
42 genpkg_rules() {
43 copy @std
44 DEPENDS="expat glib gtk+ libpng16 pango xorg-libX11 xorg-libXcomposite \
45 xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXft xorg-libXrender"
46 }