wok-next rev 20610

transmission: up 2.93
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 20:11:53 2018 +0300 (2018-04-19)
parents a2283c148d90
children c6e3836bf8b4
files transmission/receipt transmission/stuff/transmission.desktop transmission/stuff/transmission.png
line diff
     1.1 --- a/transmission/receipt	Thu Apr 19 16:41:40 2018 +0300
     1.2 +++ b/transmission/receipt	Thu Apr 19 20:11:53 2018 +0300
     1.3 @@ -1,77 +1,67 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="transmission"
     1.7 -VERSION="2.92"
     1.8 +VERSION="2.93"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Light and easy to use BitTorrent client"
    1.11 +SHORT_DESC="A fast, easy, and free BitTorrent client"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://www.transmissionbt.com/"
    1.15 +WEB_SITE="https://transmissionbt.com/"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WGET_URL="https://transmission.cachefly.net/$TARBALL"
    1.19 +WGET_URL="https://github.com/transmission/transmission-releases/raw/master/$TARBALL"
    1.20 +TARBALL_SHA256="8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b"
    1.21  
    1.22 -BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \
    1.23 -expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar"
    1.24 +BUILD_DEPENDS="curl-dev libevent-dev intltool gtk+3-dev"
    1.25  SPLIT="transmission-cli transmission-daemon transmission-web"
    1.26  
    1.27 +COOKOPTS="skip-log-errors !pixmaps"
    1.28 +
    1.29  compile_rules() {
    1.30 -	touch third-party/miniupnp/VERSION
    1.31 -	CFLAGS="$CFLAGS -fdata-sections -ffunction-sections -Wl,--gc-sections"
    1.32 -
    1.33  	./configure \
    1.34 +		--disable-static \
    1.35 +		--enable-nls \
    1.36 +		--enable-lightweight \
    1.37  		--enable-cli \
    1.38 -		--enable-lightweight \
    1.39 +		--enable-daemon \
    1.40 +		--with-gtk \
    1.41  		$CONFIGURE_ARGS &&
    1.42  	fix libtool &&
    1.43 -	make && make install || return 1
    1.44 -
    1.45 -	rm -rf $install/usr/share/applications $src/macosx
    1.46 -	#For gcc v4.7+
    1.47 -	#cd $src/qt && qmake qtr.pro
    1.48 -	#make && make INSTALL_ROOT=$install install
    1.49 +	make &&
    1.50 +	make install || return 1
    1.51  
    1.52  	install -Dm644 $stuff/settings.json       $install/var/transmission-daemon/settings.json
    1.53  	install -Dm755 $stuff/transmission-daemon $install/etc/init.d/transmission-daemon
    1.54 -
    1.55 -	mv $install/usr/bin/transmission-gtk $install/usr/bin/transmission
    1.56  }
    1.57  
    1.58  genpkg_rules() {
    1.59  	case $PACKAGE in
    1.60  		transmission)
    1.61 -			copy transmission
    1.62 -			DEPENDS="gtk+3 openssl libcurl glib dbus dbus-glib \
    1.63 -			xorg-libXdamage libnotify libevent"
    1.64 +			copy transmission-gtk @ico
    1.65 +			DEPENDS="gdk-pixbuf glib gtk+3 libcurl libevent openssl pango zlib"
    1.66  			TAGS="torrent"
    1.67  			SUGGESTED="transmission-web transmission-cli transmission-daemon"
    1.68  			;;
    1.69  		transmission-cli)
    1.70 -			copy transmission-cli
    1.71 +			copy transmission-cli transmission-create transmission-edit \
    1.72 +			transmission-show
    1.73  			CAT="network|command line interface"
    1.74 -			DEPENDS="transmission libcurl openssl"
    1.75 +			DEPENDS="libcurl libevent openssl zlib"
    1.76  			;;
    1.77  		transmission-daemon)
    1.78  			copy transmission-daemon transmission-remote settings.json
    1.79  			CAT="network|daemon and remote tool"
    1.80  			SUGGESTED="transmission-web transmission-cli"
    1.81 -			DEPENDS="openssl libcurl libevent"
    1.82 +			DEPENDS="libcurl libevent openssl zlib"
    1.83  			;;
    1.84  		transmission-web)
    1.85  			copy share/transmission/
    1.86 -			rm $fs/usr/share/transmission/web/LICENSE
    1.87  			CAT="network|web interface"
    1.88  			SUGGESTED="transmission-daemon"
    1.89  			;;
    1.90  	esac
    1.91  }
    1.92  
    1.93 -# Remove old packages name
    1.94 -post_install_transmission() {
    1.95 -	rm -f "$1/usr/bin/transmission-gtk"
    1.96 -	rm -f "$1/usr/share/applications/transmission-gtk.desktop"
    1.97 -}
    1.98 -
    1.99  post_install_transmission_web() {
   1.100  	# Info message
   1.101  	echo "
     2.1 --- a/transmission/stuff/transmission.desktop	Thu Apr 19 16:41:40 2018 +0300
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,12 +0,0 @@
     2.4 -[Desktop Entry]
     2.5 -Encoding=UTF-8
     2.6 -Name=Transmission BitTorrent
     2.7 -Name[pt]=Cliente de BitTorrent Transmission
     2.8 -Name[pt_BR]=Cliente de BitTorrent Transmission
     2.9 -Comment[fr]=Un client BitTorrent léger, libre, avec une interface simple et intuitive
    2.10 -Exec=transmission %F
    2.11 -TryExec=transmission
    2.12 -Icon=transmission
    2.13 -Type=Application
    2.14 -MimeType=application/x-bittorrent;
    2.15 -Categories=Network;FileTransfer;P2P;GTK;
     3.1 Binary file transmission/stuff/transmission.png has changed