wok-next view devilspie/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | a3c581bf52b8 |
children | d5aab818505e |
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="pankso@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 }