Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [wip] transmission: build with qt6
@ 2024-03-24 13:48 dkwo
  2024-03-24 14:44 ` dkwo
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: dkwo @ 2024-03-24 13:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

There is a new pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages trans
https://github.com/void-linux/void-packages/pull/49505

[wip] transmission: build with qt6
- I built this PR locally for my native architecture, (x86_64)

I can't figure out how to fix cross compilation with qt6. Any ideas?

A patch file from https://github.com/void-linux/void-packages/pull/49505.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-trans-49505.patch --]
[-- Type: text/x-diff, Size: 2128 bytes --]

From 0a874a95d105364c936d4ebff2c9edb5c664d0c6 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 20 Mar 2024 13:37:48 -0400
Subject: [PATCH] transmission: build withg qt6 WIP broken cross

---
 srcpkgs/transmission/template | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/transmission/template b/srcpkgs/transmission/template
index 058879644ab1c1..38050cd3e52dcf 100644
--- a/srcpkgs/transmission/template
+++ b/srcpkgs/transmission/template
@@ -1,13 +1,20 @@
 # Template file for 'transmission'
 pkgname=transmission
 version=4.0.5
-revision=1
+revision=2
 build_style=cmake
-configure_args="-DENABLE_CLI=ON -DENABLE_GTK=ON -DENABLE_QT=ON -DENABLE_MAC=OFF"
-hostmakedepends="autoconf automake intltool glib-devel
- libtool pkg-config qt5-host-tools qt5-qmake"
+build_helper="qemu"
+configure_args="
+ -DENABLE_CLI=ON
+ -DENABLE_GTK=ON
+ -DENABLE_QT=ON
+ -DUSE_QT_VERSION=6
+ -DWITH_SYSTEMD=OFF
+ -DENABLE_MAC=OFF"
+hostmakedepends="intltool glib-devel libtool pkg-config qt6-base qt6-tools"
+# cross: missing linguist-qt6 (linguist-tools)?
 makedepends="dbus-glib-devel gtkmm4-devel glibmm-devel
- libcurl-devel libevent-devel qt5-tools-devel qt5-svg-devel
+ libcurl-devel libevent-devel qt6-tools-devel qt6-svg-devel
  libdeflate-devel miniupnpc-devel"
 short_desc="Fast, easy and free BitTorrent client"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
@@ -16,16 +23,9 @@ homepage="https://www.transmissionbt.com"
 changelog="https://github.com/transmission/transmission/releases"
 distfiles="https://github.com/transmission/transmission/releases/download/${version}/${pkgname}-${version}.tar.xz"
 checksum=fd68ff114a479200043c30c7e69dba4c1932f7af36ca4c5b5d2edcb5866e6357
-
-# Create transmission system user/group
 system_accounts="transmission"
-transmission_homedir="/var/lib/transmission"
 make_dirs="/var/lib/transmission 0755 transmission transmission"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	makedepends+=" musl-legacy-compat"
-fi
-
 post_install() {
 	rm -f ${DESTDIR}/usr/share/${pkgname}/web/LICENSE
 	vsv transmission-daemon

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-03-28  3:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-24 13:48 [PR PATCH] [wip] transmission: build with qt6 dkwo
2024-03-24 14:44 ` dkwo
2024-03-24 14:54 ` [PR PATCH] [Updated] " dkwo
2024-03-24 20:39 ` [PR REVIEW] " chrysos349
2024-03-25  1:07 ` dkwo
2024-03-25  1:08 ` [PR PATCH] [Updated] " dkwo
2024-03-25 14:59 ` [PR REVIEW] " sgn
2024-03-25 17:07 ` dkwo
2024-03-25 17:07 ` [PR PATCH] [Updated] " dkwo
2024-03-25 18:31 ` dkwo
2024-03-28  2:18 ` sgn
2024-03-28  2:19 ` sgn
2024-03-28  2:20 ` sgn
2024-03-28  3:18 ` sgn
2024-03-28  3:58 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).