wok view yad-gtk2-html/receipt @ rev 25388

updated meson (0.60.2 -> 0.62.2)
author Hans-G?nter Theisgen
date Sun Jul 31 16:52:43 2022 +0100 (2022-07-31)
parents 2537c708087e
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk2-html"
4 VERSION="0.40.0"
5 CATEGORY="utilities"
6 TAGS="gtk2"
7 SHORT_DESC="Yet Another Dialog (GTK+2, with HTML widget)."
8 MAINTAINER="devl547@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://sourceforge.net/projects/yad-dialog/"
12 TARBALL="yad-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
15 PROVIDE="yad-gtk2:libwebkit yad-html"
16 SIBLINGS="yad-gtk2 yad-gtk3"
17 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ libffi \
18 libgio libsoup libwebkit pango pcre zlib"
19 BUILD_DEPENDS="gtk+-dev libwebkit-dev"
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
24 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch
32 ./configure \
33 --enable-icon-browser \
34 --enable-html \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_files yad yad-icon-browser
44 cook_copy_icons
45 }