wok-next view devilspie/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="devilspie"
4 VERSION="0.22"
5 CATEGORY="x-window"
6 SHORT_DESC="Windows matching utility"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.burtonini.com/blog/tag/devilspie.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://burtonini.com/computing/$TARBALL"
14 BUILD_DEPENDS="intltool libwnck2-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
18 sed \
19 -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
20 -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
21 -i src/xutils.c src/actions.c
23 ./configure $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="libwnck2 expat gtk2 xorg-libX11 xorg-libXau xorg-libXcomposite \
31 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
32 xorg-libXrandr xorg-libXrender xorg-libXdamage"
33 }