summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO79
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD137
-rw-r--r--transgui.desktop10
4 files changed, 101 insertions, 128 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bfe0f5e49ff..e676fb853ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,57 +1,36 @@
# Generated by mksrcinfo v8
-# Tue Jan 19 05:28:04 UTC 2016
+# Fri Dec 29 06:32:45 UTC 2017
pkgbase = transgui
- pkgdesc = Feature rich cross platform front-end to remotely control a Transmission Bit-Torrent client daemon via its RPC protocol. Transmission Remote GUI is faster and has more functionality than the built-in Transmission web interface.
- pkgver = 5.0.1
- pkgrel = 4
- url = http://sourceforge.net/projects/transgui
+ pkgdesc = A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.
+ pkgver = 5.13.0
+ pkgrel = 1
+ url = https://github.com/transmission-remote-gui/transgui
arch = i686
arch = x86_64
- license = GPL2
- makedepends = lazarus>=1.0
- depends = atk
- depends = bzip2
- depends = cairo
- depends = expat
- depends = fontconfig
- depends = freetype2
- depends = gdk-pixbuf2
- depends = glib2
- depends = glibc
- depends = graphite
- depends = gtk2
- depends = harfbuzz
- depends = libdatrie
- depends = libdrm
- depends = libffi
- depends = libpng
- depends = libthai
- depends = libx11
- depends = libxau
- depends = libxcb
- depends = libxcomposite
- depends = libxcursor
- depends = libxdamage
- depends = libxdmcp
- depends = libxext
- depends = libxfixes
- depends = libxi
- depends = libxinerama
- depends = libxrandr
- depends = libxrender
- depends = libxshmfence
- depends = libxxf86vm
- depends = mesa
- depends = mesa-libgl
- depends = pango
- depends = pcre
- depends = pixman
- depends = wayland
- depends = zlib
- source = http://sourceforge.net/projects/transgui/files/5.0.1/transgui-5.0.1-src.zip
+ license = GPL
+ makedepends = lazarus
+ makedepends = qt4pas
+ makedepends = gtk2
+ source = https://github.com/transmission-remote-gui/transgui/archive/v5.13.0.tar.gz
source = transgui.desktop
- md5sums = 471ed1f3f75a0ebcc9d3a0cb72f2a61c
- md5sums = 3c94c959db98c86878c57e1ab5019810
+ sha256sums = 4306cb36dfd3588e6d52f9bcf3a6b0a2415b2f8dacedd994b0affde454fa3dea
+ sha256sums = 6c1723e084bd4afc908957e005dea60f919b42426d82cbcdee89239c64c6093d
+
+pkgname = transgui-qt
+ depends = qt4pas
+ conflicts = transgui-gtk2-git
+ conflicts = transgui-qt4-git
+ conflicts = transmission-remote-gui-qt4
+ conflicts = transmission-remote-gui-gtk2
+ conflicts = transmission-remote-gui-bin
+ conflicts = transgui-gtk
-pkgname = transgui
+pkgname = transgui-gtk
+ depends = gtk2
+ conflicts = transgui-gtk2-git
+ conflicts = transgui-qt4-git
+ conflicts = transmission-remote-gui-qt4
+ conflicts = transmission-remote-gui-gtk2
+ conflicts = transmission-remote-gui-bin
+ conflicts = transgui-qt
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7c6927b4669
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/*
+src/*
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index 379ab14c61a..c48c71cadd7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,80 +1,69 @@
-# Contributor: Alexander Mamzikov <av.mamzikov@gmail.com>
+# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru>
+# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
+# Contributor : Dobroslaw Kijowski <dobo90_at_gmail.com>
+# Contributor: Paul N. Maxwell <msg.maxwel@gmail.com>
-pkgname=transgui
-pkgver=5.0.1
-pkgrel=4
-pkgdesc="Feature rich cross platform front-end to remotely control a Transmission Bit-Torrent client daemon via its RPC protocol. Transmission Remote GUI is faster and has more functionality than the built-in Transmission web interface."
+pkgbase='transgui'
+pkgname=("${pkgbase}-qt" "${pkgbase}-gtk")
+pkgver='5.13.0'
+pkgrel='1'
+pkgdesc='A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.'
arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/transgui"
-license=('GPL2')
-groups=()
-depends=(atk
-bzip2
-cairo
-expat
-fontconfig
-freetype2
-gdk-pixbuf2
-glib2
-glibc
-graphite
-gtk2
-harfbuzz
-libdatrie
-libdrm
-libffi
-libpng
-libthai
-libx11
-libxau
-libxcb
-libxcomposite
-libxcursor
-libxdamage
-libxdmcp
-libxext
-libxfixes
-libxi
-libxinerama
-libxrandr
-libxrender
-libxshmfence
-libxxf86vm
-mesa
-mesa-libgl
-pango
-pcre
-pixman
-wayland
-zlib
-)
-makedepends=('lazarus>=1.0')
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-source=(http://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}-src.zip
- ${pkgname}.desktop)
-noextract=()
-md5sums=('471ed1f3f75a0ebcc9d3a0cb72f2a61c'
- '3c94c959db98c86878c57e1ab5019810') #generate with 'makepkg -g'
+url="https://github.com/transmission-remote-gui/${pkgbase}"
+license=("GPL")
+makedepends=('lazarus' 'qt4pas' 'gtk2')
+source=("${url}/archive/v${pkgver}.tar.gz"
+ "${pkgbase}.desktop")
+sha256sums=('4306cb36dfd3588e6d52f9bcf3a6b0a2415b2f8dacedd994b0affde454fa3dea'
+ '6c1723e084bd4afc908957e005dea60f919b42426d82cbcdee89239c64c6093d')
-build() {
- cd "$srcdir/TransGUI"
- make
+prepare() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ mkdir "${srcdir}/build-qt" "${srcdir}/build-gtk"
}
-package()
-{
- cd "${srcdir}/TransGUI"
- install -D ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
- install -d lang "${pkgdir}/usr/share/${pkgname}/lang"
- install -D -m644 lang/* "${pkgdir}/usr/share/${pkgname}/lang/"
- install -D -m644 transgui.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
- install -D -m644 ../${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -d -m 755 ${pkgdir}/usr/share/doc/${pkgname}
- install -D -m 644 readme.txt history.txt LICENSE.txt ${pkgdir}/usr/share/doc/${pkgname}
+package_transgui-qt() {
+ depends=('qt4pas')
+ conflicts=('transgui-gtk2-git' 'transgui-qt4-git' 'transmission-remote-gui-qt4'
+ 'transmission-remote-gui-gtk2' 'transmission-remote-gui-bin' 'transgui-gtk')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ lazbuild "${pkgbase}.lpi" \
+ --lazarusdir="/usr/lib/lazarus" \
+ --widgetset="qt" \
+ --primary-config-path=../build-qt
+
+ install -Dm755 "units/${pkgbase}" "${pkgdir}/usr/bin/${pkgbase}"
+ install -dm755 "${pkgdir}/usr/share/${pkgbase}/lang"
+ install -Dm644 "lang"/transgui.* "${pkgdir}/usr/share/${pkgbase}/lang"
+ install -dm755 "${pkgdir}/usr/share/doc/${pkgbase}"
+ install -Dm644 README.md history.txt LICENSE "${pkgdir}/usr/share/doc/${pkgbase}"
+ install -Dm644 "${pkgbase}.png" "${pkgdir}/usr/share/pixmaps/${pkgbase}.png"
+ install -Dm644 "${srcdir}/${pkgbase}.desktop" "${pkgdir}/usr/share/applications/${pkgbase}.desktop"
+
+ rm "${pkgdir}/usr/share/${pkgbase}/lang/transgui.template"
+}
+
+package_transgui-gtk() {
+ depends=('gtk2')
+ conflicts=('transgui-gtk2-git' 'transgui-qt4-git' 'transmission-remote-gui-qt4'
+ 'transmission-remote-gui-gtk2' 'transmission-remote-gui-bin' 'transgui-qt')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ lazbuild "${pkgbase}.lpi" \
+ --lazarusdir="/usr/lib/lazarus" \
+ --widgetset="gtk" \
+ --primary-config-path=../build-gtk
+
+ install -Dm755 "units/${pkgbase}" "${pkgdir}/usr/bin/${pkgbase}"
+ install -dm755 "${pkgdir}/usr/share/${pkgbase}/lang"
+ install -Dm644 "lang"/transgui.* "${pkgdir}/usr/share/${pkgbase}/lang"
+ install -dm755 "${pkgdir}/usr/share/doc/${pkgbase}"
+ install -Dm644 README.md history.txt LICENSE "${pkgdir}/usr/share/doc/${pkgbase}"
+ install -Dm644 "${pkgbase}.png" "${pkgdir}/usr/share/pixmaps/${pkgbase}.png"
+ install -Dm644 "${srcdir}/${pkgbase}.desktop" "${pkgdir}/usr/share/applications/${pkgbase}.desktop"
+
+ rm "${pkgdir}/usr/share/${pkgbase}/lang/transgui.template"
}
diff --git a/transgui.desktop b/transgui.desktop
index a283612af0e..67ce29879c7 100644
--- a/transgui.desktop
+++ b/transgui.desktop
@@ -1,10 +1,12 @@
[Desktop Entry]
+Encoding=UTF-8
Name=Transmission Remote GUI
-Comment=A cross platform front-end for the Transmission Bit-Torrent client
-Comment[ru]=Кросс-платформенный удалённый интерфейс для Bit-Torrent клиента Transmission
-Exec=/usr/bin/transgui %u
+GenericName=TransGUI
+Comment=Cross platform remote GUI for the Transmission daemon
+Comment[ru]=Кроссплатформенный удалённый интерфейс для Bit-Torrent клиента Transmission
+Exec=/usr/bin/transgui
Icon=/usr/share/pixmaps/transgui.png
Terminal=false
Type=Application
-Categories=Network
+Categories=Network;FileTransfer;P2P;GTK;
MimeType=application/x-bittorrent;application/x-torrent;x-scheme-handler/magnet;