mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
transmission: update to 4.0.2.
This commit is contained in:
parent
9ee0c85324
commit
132db80d23
3 changed files with 9 additions and 2540 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,62 +0,0 @@
|
||||||
From 642db5762b1f8e9d2bb8527b153b6c47d856cb9d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mike Gelfand <mikedld@mikedld.com>
|
|
||||||
Date: Sat, 23 May 2020 01:39:36 +0300
|
|
||||||
Subject: [PATCH] Add missing files that fail build from tarball
|
|
||||||
|
|
||||||
Fixes: #1246
|
|
||||||
---
|
|
||||||
libtransmission/Makefile.am | 3 +++
|
|
||||||
macosx/Makefile.am | 2 ++
|
|
||||||
po/LINGUAS | 1 +
|
|
||||||
third-party/Makefile.am | 3 +++
|
|
||||||
4 files changed, 9 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/libtransmission/Makefile.am b/libtransmission/Makefile.am
|
|
||||||
index 0885fab0d..d9a61c12f 100644
|
|
||||||
--- a/libtransmission/Makefile.am
|
|
||||||
+++ b/libtransmission/Makefile.am
|
|
||||||
@@ -316,3 +316,6 @@ watchdir_generic_test_CPPFLAGS = -DWATCHDIR_TEST_FORCE_GENERIC $(AM_CPPFLAGS)
|
|
||||||
rename_test_SOURCES = rename-test.c $(TEST_SOURCES)
|
|
||||||
rename_test_LDADD = ${apps_ldadd}
|
|
||||||
rename_test_LDFLAGS = ${apps_ldflags}
|
|
||||||
+
|
|
||||||
+EXTRA_DIST = \
|
|
||||||
+ subprocess-test.cmd
|
|
||||||
diff --git a/macosx/Makefile.am b/macosx/Makefile.am
|
|
||||||
index 27abb77b6..5a6fec9ef 100644
|
|
||||||
--- a/macosx/Makefile.am
|
|
||||||
+++ b/macosx/Makefile.am
|
|
||||||
@@ -95,6 +95,8 @@ EXTRA_DIST = \
|
|
||||||
InfoTabButtonBack.m \
|
|
||||||
InfoTabButtonCell.h \
|
|
||||||
InfoTabButtonCell.m \
|
|
||||||
+ InfoTabMatrix.h \
|
|
||||||
+ InfoTabMatrix.m \
|
|
||||||
InfoTextField.h \
|
|
||||||
InfoTextField.m \
|
|
||||||
InfoActivityViewController.h \
|
|
||||||
diff --git a/po/LINGUAS b/po/LINGUAS
|
|
||||||
index 08629cd1b..6b3145a37 100644
|
|
||||||
--- a/po/LINGUAS
|
|
||||||
+++ b/po/LINGUAS
|
|
||||||
@@ -68,6 +68,7 @@ pa
|
|
||||||
pl
|
|
||||||
pt
|
|
||||||
pt_BR
|
|
||||||
+pt_PT
|
|
||||||
ro
|
|
||||||
ru
|
|
||||||
si
|
|
||||||
diff --git a/third-party/Makefile.am b/third-party/Makefile.am
|
|
||||||
index 9f66878d9..33df96d42 100644
|
|
||||||
--- a/third-party/Makefile.am
|
|
||||||
+++ b/third-party/Makefile.am
|
|
||||||
@@ -22,5 +22,8 @@ SUBDIRS = \
|
|
||||||
$(UTP_DIR)
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
+ curl \
|
|
||||||
+ libevent \
|
|
||||||
+ openssl \
|
|
||||||
macosx-libevent-config.h \
|
|
||||||
macosx-libevent-event-config.h
|
|
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'transmission'
|
# Template file for 'transmission'
|
||||||
pkgname=transmission
|
pkgname=transmission
|
||||||
version=3.00
|
version=4.0.2
|
||||||
revision=5
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_CLI=ON"
|
configure_args="-DENABLE_CLI=ON -DENABLE_GTK=ON -DENABLE_QT=ON -DENABLE_MAC=OFF"
|
||||||
hostmakedepends="autoconf automake intltool glib-devel
|
hostmakedepends="autoconf automake intltool glib-devel
|
||||||
libtool pkg-config qt5-host-tools qt5-qmake"
|
libtool pkg-config qt5-host-tools qt5-qmake"
|
||||||
makedepends="dbus-glib-devel gtk+3-devel
|
makedepends="dbus-glib-devel gtkmm4-devel glibmm-devel
|
||||||
libcurl-devel libevent-devel qt5-tools-devel"
|
libcurl-devel libevent-devel qt5-tools-devel qt5-svg-devel"
|
||||||
short_desc="Fast, easy and free BitTorrent client"
|
short_desc="Fast, easy and free BitTorrent client"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT, GPL-2.0-or-later"
|
license="MIT, GPL-2.0-or-later"
|
||||||
homepage="https://www.transmissionbt.com"
|
homepage="https://www.transmissionbt.com"
|
||||||
distfiles="https://github.com/transmission/transmission-releases/raw/master/${pkgname}-${version}.tar.xz"
|
distfiles="https://github.com/transmission/transmission/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2
|
checksum=39bf7a104a722805a9dc089cdaaffe33bf90b82230a7ea7f340cae59f00a2ee8
|
||||||
|
|
||||||
# Create transmission system user/group
|
# Create transmission system user/group
|
||||||
system_accounts="transmission"
|
system_accounts="transmission"
|
||||||
|
@ -24,13 +24,6 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
makedepends+=" musl-legacy-compat"
|
makedepends+=" musl-legacy-compat"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_configure() {
|
|
||||||
# Add missing includes which happen as side-effects with glibc
|
|
||||||
sed -i libtransmission/transmission.h \
|
|
||||||
-e "/#include <inttypes.h>.*/i #include <sys/types.h> /* ssize_t */" \
|
|
||||||
-e "/#include <inttypes.h>.*/i #include <stdio.h> /* off_t */"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/${pkgname}/web/LICENSE
|
rm -f ${DESTDIR}/usr/share/${pkgname}/web/LICENSE
|
||||||
vsv transmission-daemon
|
vsv transmission-daemon
|
||||||
|
@ -45,7 +38,7 @@ transmission-qt_package() {
|
||||||
vmove usr/share/man/man1/transmission-qt.1
|
vmove usr/share/man/man1/transmission-qt.1
|
||||||
vmove usr/share/transmission/translations
|
vmove usr/share/transmission/translations
|
||||||
sed -i '/Icon=/s/transmission/&-qt/' ${DESTDIR}/usr/share/applications/transmission-qt.desktop
|
sed -i '/Icon=/s/transmission/&-qt/' ${DESTDIR}/usr/share/applications/transmission-qt.desktop
|
||||||
vinstall ${wrksrc}/qt/icons/transmission.png 644 usr/share/pixmaps transmission-qt.png
|
vinstall ${wrksrc}/qt/icons/transmission.svg 644 usr/share/pixmaps transmission-qt.svg
|
||||||
vinstall ${wrksrc}/gtk/icons/hicolor_apps_scalable_transmission.svg \
|
vinstall ${wrksrc}/gtk/icons/hicolor_apps_scalable_transmission.svg \
|
||||||
644 usr/share/icons/hicolor/scalable/apps transmission-qt.svg
|
644 usr/share/icons/hicolor/scalable/apps transmission-qt.svg
|
||||||
vmove usr/share/applications/transmission-qt.desktop
|
vmove usr/share/applications/transmission-qt.desktop
|
||||||
|
@ -60,7 +53,7 @@ transmission-gtk_package() {
|
||||||
vmove usr/share/man/man1/transmission-gtk.1
|
vmove usr/share/man/man1/transmission-gtk.1
|
||||||
vmove usr/share/icons/hicolor
|
vmove usr/share/icons/hicolor
|
||||||
vmove usr/share/applications/transmission-gtk.desktop
|
vmove usr/share/applications/transmission-gtk.desktop
|
||||||
vinstall ${wrksrc}/qt/icons/transmission.png 644 usr/share/pixmaps
|
vinstall ${wrksrc}/qt/icons/transmission.svg 644 usr/share/pixmaps
|
||||||
# This install path seems to be used with musl libc
|
# This install path seems to be used with musl libc
|
||||||
if [ -d ${DESTDIR}/usr/lib/locale ]; then
|
if [ -d ${DESTDIR}/usr/lib/locale ]; then
|
||||||
mv ${DESTDIR}/usr/lib/locale ${DESTDIR}/usr/share
|
mv ${DESTDIR}/usr/lib/locale ${DESTDIR}/usr/share
|
||||||
|
|
Loading…
Add table
Reference in a new issue