mid-kid
8 years ago
19 changed files with 70 additions and 27 deletions
@ -0,0 +1,31 @@ |
|||
import 'compile/qt' |
|||
|
|||
name=qt5 |
|||
submodule=webengine |
|||
majver=5.7 |
|||
version=$majver.0 |
|||
update_url='https://www.qt.io/download-open-source/' |
|||
update_names="qt-everywhere-opensource-src-$version.tar.gz" |
|||
|
|||
dlextract "http://download.qt.io/official_releases/qt/$majver/$version/submodules/qt$submodule-opensource-src-$version.tar.xz" \ |
|||
'937f64886fbcb038d6fa4b44ae80cbeb' |
|||
header_end |
|||
|
|||
cd "qt$submodule-opensource-src-$version" |
|||
|
|||
compile_qt 5 \ |
|||
WEBENGINE_CONFIG+=use_system_icu \ |
|||
WEBENGINE_CONFIG+=use_system_ffmpeg \ |
|||
WEBENGINE_CONFIG+=use_system_minizip \ |
|||
WEBENGINE_CONFIG+=use_system_libwebp \ |
|||
WEBENGINE_CONFIG+=use_system_libxslt \ |
|||
WEBENGINE_CONFIG+=use_system_libevent \ |
|||
WEBENGINE_CONFIG+=use_system_jsoncpp \ |
|||
WEBENGINE_CONFIG+=use_system_opus \ |
|||
WEBENGINE_CONFIG+=use_system_protobuf \ |
|||
WEBENGINE_CONFIG+=use_system_libsrtp \ |
|||
WEBENGINE_CONFIG+=use_system_snappy |
|||
# WEBENGINE_CONFIG+=use_system_vpx \ It requires a newer version of libvpx. A patch for that from debian just won't apply. |
|||
# Options can be found in tools/qmake/mkspecs/features/configure.prf |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
@ -0,0 +1,33 @@ |
|||
import 'vcs/git' |
|||
import 'compile/python' |
|||
|
|||
name=qutebrowser |
|||
|
|||
vcs_git "https://github.com/The-Compiler/$name" |
|||
header_end |
|||
|
|||
cd "$name" |
|||
|
|||
# Fix paths |
|||
sed -i -e "s/usr\/share/$(safe_sed "$dir_prefix/$dir_datadir")/" qutebrowser/utils/standarddir.py |
|||
|
|||
compile_python 3 |
|||
|
|||
sed -e '/^Name=/s/$/ (Webengine)/' \ |
|||
-e '/^Exec=/s/%u/--backend webengine &/' "$name.desktop" > "$name-webengine.desktop" |
|||
|
|||
# Install manpage |
|||
a2x -f manpage "doc/$name.1.asciidoc" |
|||
install -Dm644 -t "$dir_install/$dir_prefix/$dir_mandir/man1" "doc/$name.1" |
|||
|
|||
# Install desktop and icons |
|||
install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/applications" "$name.desktop" "$name-webengine.desktop" |
|||
for x in 16 24 32 48 64 96 128 256 512; do |
|||
install -Dm644 "icons/$name-${x}x$x.png" "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/${x}x$x/apps/$name.png" |
|||
done |
|||
install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/scalable/apps" "icons/$name.svg" |
|||
|
|||
# Install userscripts |
|||
install -Dm755 -t "$dir_install/$dir_prefix/$dir_datadir/$name/userscripts/" misc/userscripts/* |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
@ -1,19 +0,0 @@ |
|||
import 'compile/qt' |
|||
|
|||
name=qt5 |
|||
submodule=webengine |
|||
majver=5.7 |
|||
version=$majver.0 |
|||
update_url='https://www.qt.io/download-open-source/' |
|||
update_names="qt-everywhere-opensource-src-$version.tar.gz" |
|||
|
|||
dlextract "http://download.qt.io/official_releases/qt/$majver/$version/submodules/qt$submodule-opensource-src-$version.tar.xz" \ |
|||
'937f64886fbcb038d6fa4b44ae80cbeb' |
|||
header_end |
|||
|
|||
cd "qt$submodule-opensource-src-$version" |
|||
compile_qt 5 \ |
|||
WEBENGINE_CONFIG+='use_system_icu use_system_ffmpeg use_system_minizip use_system_libwebp use_system_libxslt use_system_libevent use_system_jsoncpp use_system_opus use_system_protobuf use_system_libsrtp use_system_snappy' # use_system_vpx |
|||
# Options can be found in tools/qmake/mkspecs/features/configure.prf |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
Loading…
Reference in new issue