transmission: fix leaking of -qt subpkg into main pkg on cross

Fixes: #25962
This commit is contained in:
Andrew J. Hesford 2020-10-29 13:22:20 -04:00
parent 7daac077bf
commit 4f8c680fa6

View file

@ -1,13 +1,13 @@
# Template file for 'transmission'
pkgname=transmission
version=3.00
revision=3
revision=4
build_style=cmake
configure_args="-DENABLE_CLI=ON"
hostmakedepends="autoconf automake intltool glib-devel libtool pkg-config
qt5-host-tools qt5-qmake"
makedepends="dbus-glib-devel gtk+3-devel libcurl-devel libevent-devel
qt5-tools-devel"
hostmakedepends="autoconf automake intltool glib-devel
libtool pkg-config qt5-host-tools qt5-qmake"
makedepends="dbus-glib-devel gtk+3-devel
libcurl-devel libevent-devel qt5-tools-devel"
short_desc="Fast, easy and free BitTorrent client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, GPL-2.0-or-later"
@ -19,12 +19,6 @@ checksum=9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2
system_accounts="transmission"
transmission_homedir="/var/lib/transmission"
make_dirs="/var/lib/transmission 0755 transmission transmission"
subpackages="transmission-gtk"
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" qt5-devel"
subpackages+=" transmission-qt"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"