wok view remmina/receipt @ rev 25797
created recipe for garcon-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 17:04:51 2024 +0100 (6 weeks ago) |
parents | 26d82b7b47ae |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="remmina"
4 VERSION="1.2.30.1"
5 CATEGORY="network"
6 TAGS="nx rdp ssh vnc xdmcp"
7 SHORT_DESC="Remote desktop client written in GTK+."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://remmina.org/"
11 SOURCE="Remmina"
12 TARBALL="$SOURCE-v$VERSION.tar.gz"
13 WGET_URL="https://gitlab.com/$SOURCE/$SOURCE/-/archive/v$VERSION/$TARBALL"
15 PROVIDE="remmina-plugins"
16 DEPENDS="curl freerdp gcc83-lib-base gtk+3 json-glib libgcrypt libsecret
17 libsodium libssh libssl libvncserver pcre2 vte291"
18 BUILD_DEPENDS="cmake curl-dev freerdp-dev gcc83 gettext gtk+3-dev json-glib-dev
19 libgcrypt-dev libsecret-dev libsodium-dev libsoup-dev libssh-dev
20 libvncserver-dev openssl-dev pcre2-dev vte291-dev"
22 current_version()
23 {
24 wget -O - https://github.com/FreeRDP/$SOURCE 2>/dev/null | \
25 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # 1.2.30.1
32 sed -i '45,48d' cmake/FindLIBSSH.cmake
33 cmake -B _build \
34 -D CMAKE_BUILD_TYPE=Release \
35 -D CMAKE_INSTALL_PREFIX=/usr \
36 -D CMAKE_C_COMPILER=gcc-83 \
37 -D CMAKE_C_FLAGS="-std=gnu11" \
38 -D WITH_APPINDICATOR=OFF \
39 -D WITH_AVAHI=OFF \
40 -D WITH_FREERDP=ON \
41 -D WITH_GCRYPT=ON \
42 -D WITH_LIBSECRET=ON \
43 -D WITH_LIBSSH=ON \
44 -D WITH_MANPAGES=OFF \
45 -D WITH_SPICE=OFF \
46 -D WITH_TELEPATHY=OFF \
47 -D WITH_VTE=ON &&
48 cmake --build _build &&
49 cmake --install _build
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 cook_copy_folders bin
56 cook_copy_folders external_tools
57 cook_copy_folders icons
58 cook_copy_folders lib
59 cook_copy_folders ui
60 }