transmission: update to 3.00

This commit is contained in:
Kartik Singh 2020-05-25 14:56:30 +05:30 committed by Helmut Pozimski
parent 135986ad43
commit 08444332e7

View file

@ -1,7 +1,7 @@
# Template file for 'transmission'
pkgname=transmission
version=2.94
revision=5
version=3.00
revision=1
build_style=gnu-configure
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp
--without-systemd-daemon"
@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, GPL-2.0-or-later"
homepage="https://www.transmissionbt.com"
distfiles="https://github.com/transmission/transmission-releases/raw/master/${pkgname}-${version}.tar.xz"
checksum=35442cc849f91f8df982c3d0d479d650c6ca19310a994eccdaa79a4af3916b7d
checksum=9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2
# Create transmission system user/group
system_accounts="transmission"
@ -38,13 +38,13 @@ post_configure() {
}
do_build() {
make CXXFLAGS="${CXXFLAGS} -std=c++11" LDFLAGS="${LDFLAGS}" ${makejobs}
make CXXFLAGS="${CXXFLAGS} -std=c++17" LDFLAGS="${LDFLAGS}" ${makejobs}
if [ -z "$CROSS_BUILD" ]; then
# Build the Qt frontend
cd qt
qmake-qt5 MOC=moc-qt5 QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" qtr.pro
lrelease-qt5 translations/*.ts
make ${makejobs} CXXFLAGS="${CXXFLAGS} -fPIC -std=c++11" LDFLAGS="${LDFLAGS}"
make ${makejobs} CXXFLAGS="${CXXFLAGS} -fPIC -std=c++17" LDFLAGS="${LDFLAGS}"
fi
}