wok-next view yad/receipt @ rev 21153
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 31 16:45:41 2019 +0200 (2019-01-31) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="yad"
4 VERSION="0.40.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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
14 BUILD_DEPENDS="patch gtk2-dev gtk3-dev webkitgtk-dev intltool"
15 SPLIT="$PACKAGE-html:html $PACKAGE-gtk3:gtk3"
17 compile_rules() {
18 case $SET in
19 '') SET_ARGS='--with-gtk=gtk2 --disable-html';;
20 html) SET_ARGS='--with-gtk=gtk2 --enable-html';;
21 gtk3) SET_ARGS='--with-gtk=gtk3 --disable-html';;
22 esac
24 ./configure \
25 --enable-icon-browser \
26 $SET_ARGS \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 yad)
35 copy @std
36 CAT="utilities|GTK+2"
37 DEPENDS="libcairo gdk-pixbuf glib gtk2 pango"
38 TAGS="gtk2"
39 ;;
40 yad-html)
41 copy @std
42 CAT="utilities|GTK+2, with HTML widget"
43 DEPENDS="libcairo gdk-pixbuf glib gtk2 libsoup pango webkitgtk"
44 TAGS="gtk2"
45 PROVIDE="yad:webkitgtk"
46 ;;
47 yad-gtk3)
48 copy @std
49 CAT="utilities|GTK+3"
50 DEPENDS="libcairo gdk-pixbuf glib gtk3 pango"
51 TAGS="gtk3"
52 PROVIDE="yad:gtk3"
53 ;;
54 esac
55 }