Merge pull request #11442 from 4fury-c3440d8/new
obs-studio, transmission.
This commit is contained in:
@@ -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
|
||||
|
||||
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")
|
||||
|
||||
@@ -8,28 +8,33 @@
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<License>GPL-2</License>
|
||||
<IsA>service</IsA>
|
||||
<License>GPL</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>network.p2p</PartOf>
|
||||
<Summary>A fast, easy, and free BitTorrent client.</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="fd6bd78cfe5a612b422a49e8193d82df2486a3c4" type="tarxz">
|
||||
https://github.com/transmission/transmission-releases/raw/master/transmission-3.00.tar.xz
|
||||
<Archive sha1sum="196a121c31c27b70fd3516f9030189f0b369c8f5" type="tarxz">
|
||||
https://github.com/transmission/transmission/releases/download/4.0.0/transmission-4.0.0.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>gtkmm3-devel</Dependency>
|
||||
<Dependency>libpsl-devel</Dependency>
|
||||
<Dependency>qt6-linguist</Dependency>
|
||||
<Dependency>qt6-svg-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>qt6-base-devel</Dependency>
|
||||
<Dependency>xfsprogs-devel</Dependency>
|
||||
<Dependency>libevent-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>appstream-devel</Dependency>
|
||||
<!-- <Dependency>libnotify-devel</Dependency> -->
|
||||
<Dependency>miniupnpc-devel</Dependency>
|
||||
<!-- <Dependency>llvm-clang-devel</Dependency> -->
|
||||
<Dependency>libdeflate-devel</Dependency>
|
||||
<Dependency>ayatana-libappindicator-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">missing.patch</Patch> -->
|
||||
@@ -41,16 +46,19 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Transmission's cli tools, web interface and daemon.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpsl</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
<Dependency>libdeflate</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="data">/usr/share/transmission/public_html</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
@@ -61,17 +69,22 @@
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Transmission's GTK+ interface (default).</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">transmission-cli</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>atkmm</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>glibmm</Dependency>
|
||||
<Dependency>gtkmm3</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpsl</Dependency>
|
||||
<Dependency>cairomm</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>pangomm</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>libsigc++</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libdeflate</Dependency>
|
||||
<Dependency>ayatana-libappindicator</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/transmission-gtk</Path>
|
||||
@@ -87,24 +100,31 @@
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Transmission's Qt interface.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">transmission-cli</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpsl</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>qt6-base</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
<Dependency>libdeflate</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/transmission-qt</Path>
|
||||
<Path fileType="data">/usr/share/applications/transmission-qt.desktop</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/transmission-qt.1</Path>
|
||||
<Path fileType="doc">/usr/share/doc/transmission/README-QT</Path>
|
||||
<Path fileType="localedata">/usr/share/transmission/translations</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2023-02-08</Date>
|
||||
<Version>4.0.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2021-10-14</Date>
|
||||
<Version>3.00</Version>
|
||||
@@ -114,4 +134,3 @@
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user