Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
799 B

import 'compile/configure'
name=qbittorrent
version=3.3.14
update_url='https://www.qbittorrent.org/download.php'
define_option '!qt4: Build for Qt4 instead of Qt5'
define_option '!patch: Apply some custom patches'
dlextract "http://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.xz" \
'4891c7736897f7fd3bf751f652deb034'
option patch extrafile "$name-$version-preview-file-on-double-click.patch"
header_end
cd "$name-$version"
option patch patch -p0 -i "../$name-$version-preview-file-on-double-click.patch"
compile_configure -I -- \
--with-qtsingleapplication=shipped \
$(option qt4 && echo '--with-qt4 --with-qjson=shipped' || echo '--without-qt4')
make INSTALL_ROOT="$dir_install" install
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: