wok diff remmina/receipt @ rev 25765
updated remmina (-> 1.2.30.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 03 10:28:10 2024 +0100 (2 months ago) |
parents | 8ea0030e77cb |
children | 26d82b7b47ae |
line diff
1.1 --- a/remmina/receipt Thu Sep 01 11:12:31 2022 +0000 1.2 +++ b/remmina/receipt Tue Sep 03 10:28:10 2024 +0100 1.3 @@ -1,47 +1,70 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="remmina" 1.7 -SOURCE="Remmina" 1.8 -GITHASH="3a1aed9ce9e2e24a5f6ff82b106215db9a2587c1" # 15/07/2013 1.9 -VERSION=${GITHASH:0:7} 1.10 +VERSION="1.2.30.1" 1.11 CATEGORY="network" 1.12 -SHORT_DESC="Remote desktop client written in GTK+" 1.13 +TAGS="nx rdp ssh vnc xdmcp" 1.14 +SHORT_DESC="Remote desktop client written in GTK+." 1.15 MAINTAINER="pascal.bellard@slitaz.org" 1.16 LICENSE="GPL" 1.17 -TARBALL="$PACKAGE-$VERSION.zip" 1.18 WEB_SITE="https://remmina.org/" 1.19 -WGET_URL="https://github.com/FreeRDP/$SOURCE/archive/$GITHASH.zip" 1.20 +SOURCE="Remmina" 1.21 +TARBALL="$SOURCE-v$VERSION.tar.gz" 1.22 +WGET_URL="https://gitlab.com/$SOURCE/$SOURCE/-/archive/v$VERSION/$TARBALL" 1.23 + 1.24 PROVIDE="remmina-plugins" 1.25 -TAGS="rdp vnc nx xdmcp" 1.26 - 1.27 -DEPENDS="gtk+ libgcrypt libssh vte freerdp" 1.28 -BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \ 1.29 -freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev" 1.30 +DEPENDS="curl freerdp gtk+3 json-glib libgcrypt libsecret libsodium libssh 1.31 + libssl libvncserver pcre2 vte291" 1.32 +BUILD_DEPENDS="cmake curl-dev freerdp-dev gcc83 gettext gtk+3-dev json-glib-dev 1.33 + libgcrypt-dev libsecret-dev libsodium-dev libsoup-dev libssh-dev 1.34 + libvncserver-dev openssl-dev pcre2-dev vte291-dev" 1.35 1.36 current_version() 1.37 { 1.38 - wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ 1.39 + wget -O - https://github.com/FreeRDP/$SOURCE 2>/dev/null | \ 1.40 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' 1.41 } 1.42 1.43 # Rules to configure and make the package. 1.44 compile_rules() 1.45 { 1.46 - # Here `sed -i '/external_tools/d' ...` because cmake (make install) 1.47 - # produce error trying to install "external tools" to 1.48 - # "$install/root/.remmina/external_tools/" 1.49 - export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 1.50 - mkdir build 1.51 - cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \ 1.52 - -DWITH_AVAHI=OFF && 1.53 - make && 1.54 - sed -i '/external_tools/d' $src/remmina/cmake_install.cmake && 1.55 - make DESTDIR=$DESTDIR install 1.56 - cp -a remmina/include $DESTDIR/usr 1.57 + # 1.2.30.1 1.58 + sed -i '45,48d' cmake/FindLIBSSH.cmake 1.59 + cmake -B _build \ 1.60 + -D CMAKE_BUILD_TYPE=Release \ 1.61 + -D CMAKE_INSTALL_PREFIX=/usr \ 1.62 + -D CMAKE_C_COMPILER=gcc-83 \ 1.63 + -D CMAKE_C_FLAGS="-std=gnu11" \ 1.64 + -D CMAKE_CXX_COMPILER=g++-83 \ 1.65 + -D HAVE_LIBAPPINDICATOR=OFF \ 1.66 + -D WITH_APPINDICATOR=OFF \ 1.67 + -D WITH_AVAHI=OFF \ 1.68 + -D WITH_CUPS=OFF \ 1.69 + -D WITH_FREERDP=OFF \ 1.70 + -D WITH_GCRYPT=ON \ 1.71 + -D WITH_KF5WALLET=OFF \ 1.72 + -D WITH_LIBSECRET=ON \ 1.73 + -D WITH_LIBSSH=ON \ 1.74 + -D WITH_MANPAGES=OFF \ 1.75 + -D WITH_NEWS=OFF \ 1.76 + -D WITH_PTHREAD=ON \ 1.77 + -D WITH_PYTHONLIBS=OFF \ 1.78 + -D WITH_SPICE=OFF \ 1.79 + -D WITH_TELEPATHY=OFF \ 1.80 + -D WITH_TIP=OFF \ 1.81 + -D WITH_VTE=ON \ 1.82 + -D WITH_WWW=OFF \ 1.83 + -D WITH_ZLIB=ON && 1.84 + cmake --build _build && 1.85 + cmake --install _build 1.86 } 1.87 1.88 # Rules to gen a SliTaz package suitable for Tazpkg. 1.89 genpkg_rules() 1.90 { 1.91 - cp -a $install/* $fs 1.92 + cook_copy_folders bin 1.93 + cook_copy_folders external_tools 1.94 + cook_copy_folders icons 1.95 + cook_copy_folders lib 1.96 + cook_copy_folders ui 1.97 }