wok-next view yad/receipt @ rev 20380
qtwebkit: up deps, cflags
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Nov 27 13:21:54 2017 +0100 (2017-11-27) |
parents | 77cced9ad887 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="yad"
4 VERSION="0.39.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Yet Another Dialog"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/yad-dialog/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
15 BUILD_DEPENDS="patch gtk+-dev gtk+3-dev webkitgtk-dev intltool"
16 SPLIT="yad-html:html yad-gtk3:gtk3"
18 compile_rules() {
19 case $SET in
20 '') Gtk=gtk2; Html=disable;;
21 html) Gtk=gtk2; Html=enable ;;
22 gtk3) Gtk=gtk3; Html=disable;;
23 esac
25 ./configure \
26 --enable-icon-browser \
27 --with-gtk=$Gtk \
28 --$Html-html \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 yad)
37 copy @std
38 CAT="utilities|GTK+2"
39 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
40 TAGS="gtk2"
41 ;;
42 yad-html)
43 copy @std
44 CAT="utilities|GTK+2, with HTML widget"
45 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
46 libsoup pango webkitgtk"
47 TAGS="gtk2"
48 PROVIDE="yad:webkitgtk"
49 ;;
50 yad-gtk3)
51 copy @std
52 CAT="utilities|GTK+3"
53 DEPENDS="atk cairo gdk-pixbuf glib gtk+3 pango"
54 TAGS="gtk3"
55 PROVIDE="yad:gtk+3"
56 ;;
57 esac
58 }