2023-02-18 14:33:26 +01:00
|
|
|
# Description: BitTorrent client with qt6 user interface
|
|
|
|
# URL: https://transmissionbt.com/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: curl libevent qt6-base qt6-svg qt6-tools
|
|
|
|
|
|
|
|
name=transmission-qt
|
2023-12-08 12:10:10 +01:00
|
|
|
version=4.0.5
|
2023-02-18 14:33:26 +01:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/transmission/transmission/releases/download/$version/transmission-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake -S transmission-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D RUN_CLANG_TIDY=OFF \
|
|
|
|
-D ENABLE_TESTS=OFF \
|
|
|
|
-D ENABLE_NLS=OFF \
|
|
|
|
-D INSTALL_DOC=ON \
|
|
|
|
-D INSTALL_LIB=OFF \
|
|
|
|
-D ENABLE_GTK=OFF \
|
|
|
|
-D ENABLE_CLI=OFF \
|
|
|
|
-D ENABLE_DAEMON=OFF \
|
|
|
|
-D ENABLE_UTILS=OFF \
|
|
|
|
-D ENABLE_QT=ON \
|
|
|
|
-D USE_QT_VERSION=6 \
|
|
|
|
|
|
|
|
cmake --build build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/{doc,transmission}
|
|
|
|
}
|