wok 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 d3731cd03c7c
children 26d82b7b47ae
files remmina-dev/receipt remmina-lang/receipt remmina/receipt
line diff
     1.1 --- a/remmina-dev/receipt	Tue Sep 03 08:54:48 2024 +0100
     1.2 +++ b/remmina-dev/receipt	Tue Sep 03 10:28:10 2024 +0100
     1.3 @@ -1,19 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="remmina-dev"
     1.7 -GITHASH="3a1aed9ce9e2e24a5f6ff82b106215db9a2587c1"
     1.8 -VERSION=${GITHASH:0:7}
     1.9 +VERSION="1.2.30.1"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="remmina development files"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="https://remmina.sourceforge.net/"
    1.15 +WEB_SITE="https://remmina.org/"
    1.16 +
    1.17  WANTED="remmina"
    1.18  
    1.19 -
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 +	cook_copy_folders	include
    1.26  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/remmina-lang/receipt	Tue Sep 03 10:28:10 2024 +0100
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="remmina-lang"
     2.7 +VERSION="1.2.30.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Remmina - localised messages."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL"
    2.12 +WEB_SITE="https://remmina.org/"
    2.13 +
    2.14 +WANTED="remmina"
    2.15 +
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	cook_copy_folders	locale
    2.21 +}
     3.1 --- a/remmina/receipt	Tue Sep 03 08:54:48 2024 +0100
     3.2 +++ b/remmina/receipt	Tue Sep 03 10:28:10 2024 +0100
     3.3 @@ -1,47 +1,70 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="remmina"
     3.7 -SOURCE="Remmina"
     3.8 -GITHASH="3a1aed9ce9e2e24a5f6ff82b106215db9a2587c1"	# 15/07/2013
     3.9 -VERSION=${GITHASH:0:7}
    3.10 +VERSION="1.2.30.1"
    3.11  CATEGORY="network"
    3.12 -SHORT_DESC="Remote desktop client written in GTK+"
    3.13 +TAGS="nx rdp ssh vnc xdmcp"
    3.14 +SHORT_DESC="Remote desktop client written in GTK+."
    3.15  MAINTAINER="pascal.bellard@slitaz.org"
    3.16  LICENSE="GPL"
    3.17 -TARBALL="$PACKAGE-$VERSION.zip"
    3.18  WEB_SITE="https://remmina.org/"
    3.19 -WGET_URL="https://github.com/FreeRDP/$SOURCE/archive/$GITHASH.zip"
    3.20 +SOURCE="Remmina"
    3.21 +TARBALL="$SOURCE-v$VERSION.tar.gz"
    3.22 +WGET_URL="https://gitlab.com/$SOURCE/$SOURCE/-/archive/v$VERSION/$TARBALL"
    3.23 +
    3.24  PROVIDE="remmina-plugins"
    3.25 -TAGS="rdp vnc nx xdmcp"
    3.26 -
    3.27 -DEPENDS="gtk+ libgcrypt libssh vte freerdp"
    3.28 -BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
    3.29 -freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev"
    3.30 +DEPENDS="curl freerdp gtk+3 json-glib libgcrypt libsecret libsodium libssh
    3.31 +	libssl libvncserver pcre2 vte291"
    3.32 +BUILD_DEPENDS="cmake curl-dev freerdp-dev gcc83 gettext gtk+3-dev json-glib-dev
    3.33 +	libgcrypt-dev libsecret-dev libsodium-dev libsoup-dev libssh-dev
    3.34 +	libvncserver-dev openssl-dev pcre2-dev vte291-dev"
    3.35  
    3.36  current_version()
    3.37  {
    3.38 -	wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
    3.39 +	wget -O - https://github.com/FreeRDP/$SOURCE 2>/dev/null | \
    3.40  	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
    3.41  }
    3.42  
    3.43  # Rules to configure and make the package.
    3.44  compile_rules()
    3.45  {
    3.46 -	# Here `sed -i '/external_tools/d' ...` because cmake (make install)
    3.47 -	# produce error trying to install "external tools" to
    3.48 -	# "$install/root/.remmina/external_tools/"
    3.49 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    3.50 -	mkdir build
    3.51 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
    3.52 -		-DWITH_AVAHI=OFF &&
    3.53 -	make &&
    3.54 -	sed -i '/external_tools/d' $src/remmina/cmake_install.cmake &&
    3.55 -	make DESTDIR=$DESTDIR install
    3.56 -	cp -a remmina/include $DESTDIR/usr
    3.57 +	# 1.2.30.1
    3.58 +	sed -i	'45,48d'	cmake/FindLIBSSH.cmake
    3.59 +	cmake	-B _build			\
    3.60 +		-D CMAKE_BUILD_TYPE=Release	\
    3.61 +		-D CMAKE_INSTALL_PREFIX=/usr	\
    3.62 +		-D CMAKE_C_COMPILER=gcc-83	\
    3.63 +		-D CMAKE_C_FLAGS="-std=gnu11"	\
    3.64 +		-D CMAKE_CXX_COMPILER=g++-83	\
    3.65 +		-D HAVE_LIBAPPINDICATOR=OFF	\
    3.66 +		-D WITH_APPINDICATOR=OFF	\
    3.67 +		-D WITH_AVAHI=OFF		\
    3.68 +		-D WITH_CUPS=OFF		\
    3.69 +		-D WITH_FREERDP=OFF		\
    3.70 +		-D WITH_GCRYPT=ON		\
    3.71 +		-D WITH_KF5WALLET=OFF		\
    3.72 +		-D WITH_LIBSECRET=ON		\
    3.73 +		-D WITH_LIBSSH=ON		\
    3.74 +		-D WITH_MANPAGES=OFF		\
    3.75 +		-D WITH_NEWS=OFF		\
    3.76 +		-D WITH_PTHREAD=ON		\
    3.77 +		-D WITH_PYTHONLIBS=OFF		\
    3.78 +		-D WITH_SPICE=OFF		\
    3.79 +		-D WITH_TELEPATHY=OFF		\
    3.80 +		-D WITH_TIP=OFF			\
    3.81 +		-D WITH_VTE=ON			\
    3.82 +		-D WITH_WWW=OFF			\
    3.83 +		-D WITH_ZLIB=ON &&
    3.84 +	cmake	--build		_build &&
    3.85 +	cmake	--install	_build
    3.86  }
    3.87  
    3.88  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.89  genpkg_rules()
    3.90  {
    3.91 -	cp -a $install/* $fs
    3.92 +	cook_copy_folders	bin
    3.93 +	cook_copy_folders	external_tools
    3.94 +	cook_copy_folders	icons
    3.95 +	cook_copy_folders	lib
    3.96 +	cook_copy_folders	ui
    3.97  }