aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-02 15:26:18 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-03 15:05:18 +0700
commite6fe4204222f06583e9898d649941118880365ed (patch)
tree857b2ee77a9f42fe595477d64a4709e2bad10129
parentb7cfaa38e499354b7dcedaa66f2589e676cba197 (diff)
network/transmission: Updated for version 4.0.6.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/transmission/README5
-rw-r--r--network/transmission/transmission.SlackBuild22
-rw-r--r--network/transmission/transmission.info6
3 files changed, 29 insertions, 4 deletions
diff --git a/network/transmission/README b/network/transmission/README
index 9c54e443bf1a5..5011d9774a02d 100644
--- a/network/transmission/README
+++ b/network/transmission/README
@@ -15,3 +15,8 @@ DAEMON=no
Hint: if you use QT=yes, you probably also want GTK=no.
At least one component must be enabled (all 4 set to "no" won't work).
+
+You can also force which GTK+ and/or Qt version is used, by setting
+GTKVER and/or QTVER in the environment. GTKVER supports "3" and
+"4"; QTVER supports "5" and "6". For both, the default is to use the
+highest version installed.
diff --git a/network/transmission/transmission.SlackBuild b/network/transmission/transmission.SlackBuild
index 5ccebeb9b784f..514dcba476a52 100644
--- a/network/transmission/transmission.SlackBuild
+++ b/network/transmission/transmission.SlackBuild
@@ -24,6 +24,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240730 bkw: update for v4.0.6.
# 20231219 bkw: update for v4.0.5, minor man page tweaks.
# 20230912 bkw: update for v4.0.4.
# 20230510 bkw: update for v4.0.3. remove the warning about D-Bus from README,
@@ -52,7 +53,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=transmission
-VERSION=${VERSION:-4.0.5}
+VERSION=${VERSION:-4.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -136,10 +137,29 @@ for i in $( find . -maxdepth 2 -name 'transmission*.1' ); do
$i
done
+# 20240731 bkw: vendor miniupnpc src in wrong place...
+if [ ! -e third-party/miniupnpc/CMakeLists.txt ]; then
+ cp -a third-party/miniupnp/miniupnpc/* third-party/miniupnpc/
+fi
+
+# 20240731 bkw: USE_SYSTEM_*=OFF for everything that ships in the
+# third-party/ dir. Avoids surprises (aka hidden dependencies), and
+# also, makes transmission use the versions it was tested with.
mkdir -p build
cd build
cmake \
-DREBUILD_WEB=OFF \
+ -DUSE_SYSTEM_EVENT2=OFF \
+ -DUSE_SYSTEM_DEFLATE=OFF \
+ -DUSE_SYSTEM_DHT=OFF \
+ -DUSE_SYSTEM_MINIUPNPC=OFF \
+ -DUSE_SYSTEM_NATPMP=OFF \
+ -DUSE_SYSTEM_UTP=OFF \
+ -DUSE_SYSTEM_B64=OFF \
+ -DUSE_SYSTEM_PSL=OFF \
+ -DWITH_SYSTEMD=OFF \
+ -DUSE_GTK_VERSION=${GTKVER:-AUTO} \
+ -DUSE_QT_VERSION=${QTVER:-AUTO} \
-DENABLE_DAEMON=$DAEMOPT \
-DENABLE_QT=$QTOPT \
-DENABLE_GTK=$GTKOPT \
diff --git a/network/transmission/transmission.info b/network/transmission/transmission.info
index 89363cfcd1741..c9a9a3e0b30ed 100644
--- a/network/transmission/transmission.info
+++ b/network/transmission/transmission.info
@@ -1,8 +1,8 @@
PRGNAM="transmission"
-VERSION="4.0.5"
+VERSION="4.0.6"
HOMEPAGE="https://www.transmissionbt.com/"
-DOWNLOAD="https://github.com/transmission/transmission/releases/download/4.0.5/transmission-4.0.5.tar.xz"
-MD5SUM="d3cda868215246644c429b18a30f7e47"
+DOWNLOAD="https://github.com/transmission/transmission/releases/download/4.0.6/transmission-4.0.6.tar.xz"
+MD5SUM="8132b9f012b8e6309911c80ee9fd00f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""