transmission: build with qt6

This commit is contained in:
dkwo 2024-03-20 13:37:48 -04:00 committed by Đoàn Trần Công Danh
parent b0a4ed8d21
commit 9ec2155fe5
1 changed files with 11 additions and 9 deletions

View File

@ -1,13 +1,19 @@
# 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"
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"
makedepends="dbus-glib-devel gtkmm4-devel glibmm-devel
libcurl-devel libevent-devel qt5-tools-devel qt5-svg-devel
libcurl-devel libevent-devel qt6-svg-devel
libdeflate-devel miniupnpc-devel"
short_desc="Fast, easy and free BitTorrent client"
maintainer="Jason Elswick <jason@jasondavid.tv>"
@ -22,10 +28,6 @@ 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