From fbd97a4e233f29c0544f1f1f2f2abec2916ffce7 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Wed, 8 Feb 2023 21:45:49 +0300 Subject: [PATCH] transmissionbt 4.0.0 --- network/p2p/transmission/actions.py | 59 ++++++++--------------------- network/p2p/transmission/pspec.xml | 59 +++++++++++++++++++---------- 2 files changed, 55 insertions(+), 63 deletions(-) diff --git a/network/p2p/transmission/actions.py b/network/p2p/transmission/actions.py index 40e77aa250..0ca053d9b8 100644 --- a/network/p2p/transmission/actions.py +++ b/network/p2p/transmission/actions.py @@ -4,55 +4,28 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get -from pisi.actionsapi import qt5 +from pisi.actionsapi import mesontools, cmaketools, pisitools j = ''.join([ - ' --enable-cli', - ' --enable-utp', - ' --enable-lightweight', - ' --enable-daemon', - ' --disable-static', - ' --disable-mac', - ' --with-gtk', - ' --with-crypto=openssl', - ' --without-systemd ' + ' -DCMAKE_BUILD_TYPE=Release', + ' -DCMAKE_CXX_COMPILER=g++', + ' -DENABLE_CLI=ON', + ' -DENABLE_QT=ON', + ' -DENABLE_GTK=ON', + ' -DENABLE_DAEMON=ON', + ' -DUSE_QT_VERSION=6', + ' -DQt_DIR=/usr/lib/cmake/Qt6', + ' -DINSTALL_LIB=OFF', + ' -DENABLE_TESTS=ON', + ' -DRUN_CLANG_TIDY=OFF', + ' -B_build -G Ninja -L ' ]) def setup(): - autotools.configure(j) - - # transmission with qt gui configure. - shelltools.cd("qt") - qt5.configure() + cmaketools.configure(j) def build(): - autotools.make() - - # transmission with qt gui make. - shelltools.cd("qt") - qt5.make() - qt5.make("translations") + mesontools.build("-C _build") def install(): - # qt - qt5.install("-C qt INSTALL_ROOT=%s/usr" % get.installDIR()) - pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "qt/README.txt", "README-QT") - pisitools.insinto("%s/applications" % get.dataDIR(), "qt/transmission-qt.desktop") - - # gtk - autotools.rawInstall("-C gtk DESTDIR=%s" % get.installDIR()) - autotools.rawInstall("-C po DESTDIR=%s" % get.installDIR()) - - # cli, web, deamon - for _dir in ["cli", "web", "utils"]: - autotools.rawInstall("-C %s DESTDIR=%s" % (_dir, get.installDIR())) - - # For daemon config files. - pisitools.dodir("/etc/transmission-daemon") - - pisitools.dodoc("AUTHORS", "COPYING", "NEWS.md", "README.md") - + mesontools.install("-C _build") diff --git a/network/p2p/transmission/pspec.xml b/network/p2p/transmission/pspec.xml index df4828d7df..abb20a1ebe 100644 --- a/network/p2p/transmission/pspec.xml +++ b/network/p2p/transmission/pspec.xml @@ -8,28 +8,33 @@ PisiLinux Community admins@pisilinux.org - MIT - GPL-2 - service + GPL app:gui app:console network.p2p A fast, easy, and free BitTorrent client. Transmission is a free, lightweight Bittorrent client. It features a simple, intuitive interface on top of an efficient backend. This package provides only daemon, web interface and command line client. If you want use Transmission with graphical interface, you should install transmission-gtk or transmission-qt. - - https://github.com/transmission/transmission-releases/raw/master/transmission-3.00.tar.xz + + https://github.com/transmission/transmission/releases/download/4.0.0/transmission-4.0.0.tar.xz - intltool + cmake + ninja curl-devel - gtk3-devel - qt5-linguist + gtkmm3-devel + libpsl-devel + qt6-linguist + qt6-svg-devel openssl-devel - qt5-base-devel + qt6-base-devel xfsprogs-devel libevent-devel + appstream-devel libnotify-devel miniupnpc-devel + llvm-clang-devel + libdeflate-devel + ayatana-libappindicator-devel @@ -41,16 +46,19 @@ app:console Transmission's cli tools, web interface and daemon. - zlib curl + libgcc + libpsl openssl libevent miniupnpc + libdeflate /usr/bin /etc /usr/share + /usr/share/transmission/public_html /usr/share/man /usr/share/doc @@ -61,17 +69,22 @@ app:gui Transmission's GTK+ interface (default). - transmission-cli - zlib curl gtk3 + atkmm glib2 - pango + glibmm + gtkmm3 + libgcc + libpsl + cairomm openssl + pangomm libevent + libsigc++ miniupnpc - libnotify - gdk-pixbuf + libdeflate + ayatana-libappindicator /usr/bin/transmission-gtk @@ -87,24 +100,31 @@ app:gui Transmission's Qt interface. - transmission-cli - zlib curl libgcc + libpsl openssl + qt6-base libevent - qt5-base miniupnpc + libdeflate /usr/bin/transmission-qt /usr/share/applications/transmission-qt.desktop /usr/share/man/man1/transmission-qt.1 - /usr/share/doc/transmission/README-QT + /usr/share/transmission/translations + + 2023-02-08 + 4.0.0 + Version bump. + fury + uglyside@yandex.ru + 2021-10-14 3.00 @@ -114,4 +134,3 @@ -