wok-next view matchbox-window-manager-2/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d457c4e37c1b
children
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="devel@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.yoctoproject.org/software-item/matchbox/"
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 libx11-dev pango-dev gtk2-dev \
16 libpng12-dev libxcomposite-dev libxdamage-dev 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 gtk2 libpng pango libx11 libxcomposite \
45 libxdamage libxext libxfixes libxft libxrender"
46 }