wok-current annotate matchbox-window-manager-2/receipt @ rev 20399

Add code2 (speech codec 0.7-3.2 Kb/s)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 16:09:41 2018 +0200 (2018-06-27)
parents 17e313b5b9c1
children 4ce52a0b72fd
rev   line source
pascal@11558 1 # SliTaz package receipt.
pascal@11558 2
pascal@11558 3 PACKAGE="matchbox-window-manager-2"
pascal@11558 4 VERSION="2106"
pascal@11558 5 CATEGORY="x-window"
pascal@11558 6 SHORT_DESC="Matchbox Window Manager v2."
pascal@11558 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pascal@11558 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11558 10 WEB_SITE="http://matchbox-project.org/"
pascal@11558 11 WGET_URL="svn|http://svn.o-hand.com/repos/matchbox/trunk/$PACKAGE"
pascal@11558 12 BRANCH="$VERSION"
pascal@11558 13
pascal@11558 14 DEPENDS="gtk+"
pascal@19812 15 BUILD_DEPENDS="gtk+-dev subversion libffi autoconf automake libtool expat-dev"
pascal@11558 16
pascal@11558 17 # Rules to configure and make the package.
pascal@11558 18 compile_rules()
pascal@11558 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lexpat"
pascal@15731 21
pascal@15731 22 # http://git.yoctoproject.org/cgit/cgit.cgi/libmatchboxwm2/commit/?h=rib//matchbox-next&context=6
pascal@15731 23 sed -i 's|XML_StopParser|// &|' matchbox/theme-engines/mb-wm-theme.c
pascal@15731 24
pascal@11558 25 ./autogen.sh \
pascal@11558 26 --enable-png-theme \
pascal@15632 27 --enable-composite-managers=xrender \
pascal@11558 28 --enable-matchbox-remote \
pascal@11558 29 --with-pango \
pascal@11558 30 --with-gtk \
pascal@11558 31 $CONFIGURE_ARGS &&
pascal@11558 32 # Fix Makefile identation.
pascal@11558 33 sed -i s'/ / /' Makefile &&
pascal@11558 34 make && make install
pascal@11558 35 }
pascal@11558 36
pascal@11558 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11558 38 genpkg_rules()
pascal@11558 39 {
pascal@11558 40 mkdir -p $fs/usr
pascal@11558 41 cp -a $install/usr/bin $fs/usr
pascal@11558 42 cp -a $install/usr/share $fs/usr
pascal@11558 43 }