wok view yad-gtk3/receipt @ rev 25652

Up ntfs-3g (2022.10.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 06 11:59:08 2024 +0000 (9 months ago)
parents ad0bc3efbf37
children
line source
1 # SliTaz package receipt.
3 PACKAGE="yad-gtk3"
4 VERSION="0.40.0"
5 CATEGORY="utilities"
6 TAGS="gtk3"
7 SHORT_DESC="Yet Another Dialog (GTK+3)."
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:gtk+3"
16 SIBLINGS="yad-gtk2 yad-gtk2-html"
17 DEPENDS="atk cairo gdk-pixbuf glib glibc-base gtk+3 libffi libgio pango pcre \
18 zlib"
19 BUILD_DEPENDS="gtk+3-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
25 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 patch -p1 -i $WOK/yad-gtk2/stuff/ru.patch
33 ./configure \
34 --with-gtk=gtk3 \
35 --enable-icon-browser &&
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 }