transmission bittorrent client.
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 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
|
||||
|
||||
j = ''.join([
|
||||
' --enable-cli',
|
||||
' --enable-utp',
|
||||
' --enable-lightweight',
|
||||
' --enable-daemon',
|
||||
' --disable-static',
|
||||
' --disable-mac',
|
||||
' --with-gtk',
|
||||
' --with-crypto=openssl',
|
||||
' --without-systemd '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.configure(j)
|
||||
|
||||
# transmission with qt gui configure.
|
||||
shelltools.cd("qt")
|
||||
qt5.configure()
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
# transmission with qt gui make.
|
||||
shelltools.cd("qt")
|
||||
qt5.make()
|
||||
qt5.make("translations")
|
||||
|
||||
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")
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>transmission</Name>
|
||||
<Homepage>https://transmissionbt.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<License>GPL-2</License>
|
||||
<IsA>service</IsA>
|
||||
<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>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>xfsprogs-devel</Dependency>
|
||||
<Dependency>libevent-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>miniupnpc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">missing.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-cli</Name>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Transmission's cli tools, web interface and daemon.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-gtk</Name>
|
||||
<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>glib2</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/transmission-gtk</Path>
|
||||
<Path fileType="data">/usr/share/appdata/transmission-gtk.xml</Path>
|
||||
<Path fileType="data">/usr/share/applications/transmission-gtk.desktop</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/transmission-gtk.1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-qt</Name>
|
||||
<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>openssl</Dependency>
|
||||
<Dependency>libevent</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>miniupnpc</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>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-10-14</Date>
|
||||
<Version>3.00</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>transmission</Name>
|
||||
<Summary xml:lang="tr">Hızlı, basit ve özgür BitTorrent istemcisi</Summary>
|
||||
<Description xml:lang="tr">Transmission özgür ve hafif BitTorrent istemcisidir. İki değişik kitaplıkla yazılmış basit ve kullanışlı arayüz istemcisi vardır. Qt ile yazılmış arayüz paketinin adı transmission-qt, GTK+ ile yazılmış olanı ise transmission-gtk'dir. Bu pakette sadece servis, komut satırı istemcisi ve Web arayüzü bulunmaktadır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-cli</Name>
|
||||
<Summary xml:lang="tr">Transmission'un öntanımlı CLI, web ve sunucu bileşenleri</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-gtk</Name>
|
||||
<Summary xml:lang="tr">Transmission'un öntanımlı GTK+ arayüz istemcisi</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>transmission-qt</Name>
|
||||
<Summary xml:lang="tr">Transmission'un Qt arayüz istemcisi</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user