mid-kid
7 years ago
6 changed files with 13 additions and 16 deletions
@ -1,23 +1,20 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=qbittorrent |
|||
version=3.3.16 |
|||
version=4.0.1 |
|||
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" \ |
|||
'409a5c742f78a6d2a841001441a4ad46' |
|||
'29b670c805e52b6d6048e12f6158f7f7' |
|||
option patch extrafile "$name-$version-preview-file-on-double-click.patch" |
|||
_ |
|||
|
|||
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') |
|||
compile_configure -I -- --with-qtsingleapplication=shipped |
|||
make INSTALL_ROOT="$dir_install" install |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
|||
|
Loading…
Reference in new issue