diff options
Diffstat (limited to 'libre/qupzilla')
-rw-r--r-- | libre/qupzilla/PKGBUILD | 57 | ||||
-rw-r--r-- | libre/qupzilla/searchenginesmanager.cpp.sed | 19 | ||||
-rw-r--r-- | libre/qupzilla/speeddial.cpp.sed | 4 | ||||
-rw-r--r-- | libre/qupzilla/start.html.sed | 1 |
4 files changed, 0 insertions, 81 deletions
diff --git a/libre/qupzilla/PKGBUILD b/libre/qupzilla/PKGBUILD deleted file mode 100644 index f98774502..000000000 --- a/libre/qupzilla/PKGBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# $Id: PKGBUILD 212303 2017-02-14 07:32:02Z arojas $ -# Maintainer (Arch): speps <speps at aur dot archlinux dot org> -# Maintainer: André Silva <emulatorman@parabola.nu> - -pkgname=qupzilla -pkgver=2.1.1 -pkgrel=1.parabola1 -pkgdesc="Cross-platform QtWebEngine browser, without non-privacy search engines" -arch=(i686 x86_64 armv7h) -url="http://www.qupzilla.com/" -license=('GPL3') -depends=('qt5-webengine' 'qt5-x11extras' 'qt5-svg' 'hicolor-icon-theme') -makedepends=('qt5-tools' 'kwallet' 'libgnome-keyring') -optdepends=('bash-completion: bash completion support' 'kwallet: kf5 kwallet integration' - 'libgnome-keyring: gnome keyring integration') -provides=('qupzilla-qt5') -conflicts=('qupzilla-qt5') -replaces=('qupzilla-qt5') -source=("$pkgname-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz" - 'searchenginesmanager.cpp.sed' - 'speeddial.cpp.sed' - 'start.html.sed') -md5sums=('ee7f041080df526d69081f8de8e87ed9' - '7c6692810cc521633e0a6d9a076334e1' - '0f166fa102af975b3b8ac030d477e9b8' - '77120a0c39ba8254e5b2c273910f029a') - -prepare() { - # configure - export USE_WEBGL=true \ - QUPZILLA_PREFIX=/usr/ \ - KDE_INTEGRATION=true \ - GNOME_INTEGRATION=true - - # remove Google and Youtube support, replaces it to DDG HTML - cd $pkgname-$pkgver - sed -i -f $srcdir/searchenginesmanager.cpp.sed src/lib/opensearch/searchenginesmanager.cpp - sed -i -f $srcdir/speeddial.cpp.sed src/lib/plugins/speeddial.cpp - sed -i -f $srcdir/start.html.sed src/lib/data/html/start.html -} - -build() { - cd $pkgname-$pkgver - qmake - make -} - -package() { - cd $pkgname-$pkgver - make INSTALL_ROOT="$pkgdir/" install - - # zsh completion - install -Dm644 linux/completion/_$pkgbase \ - "$pkgdir/usr/share/zsh/site-functions/_$pkgbase" -} - -# vim:set ts=2 sw=2 et: diff --git a/libre/qupzilla/searchenginesmanager.cpp.sed b/libre/qupzilla/searchenginesmanager.cpp.sed deleted file mode 100644 index e52540797..000000000 --- a/libre/qupzilla/searchenginesmanager.cpp.sed +++ /dev/null @@ -1,19 +0,0 @@ -s|DuckDuckGo|DuckDuckGo HTML| -\|m_startingEngineName = settings[.]value("activeEngine", "Google")[.]toString();| s|Google|DuckDuckGo HTML| -\|m_defaultEngineName = settings[.]value("DefaultEngine", "Google")[.]toString();| s|Google|DuckDuckGo HTML| -\|Engine google;|d -\|google[.]name = "Google";|d -\|google[.]icon = QIcon(":icons/sites/google[.]png");|d -\|google[.]url = "https://www[.]google[.]com/search?client=qupzilla[&]q=%s";|d -\|google[.]shortcut = "g";|d -\|google[.]suggestionsUrl = "https://suggestqueries[.]google[.]com/complete/search?output=firefox[&]q=%s";|d -\|Engine yt;|d -\|yt[.]name = "YouTube";|d -\|yt[.]icon = QIcon(":/icons/sites/youtube.png");|d -\|yt[.]url = "https://www[.]youtube[.]com/results?search_query=%s[&]search=Search";|d -\|yt[.]shortcut = "yt";|d -\|yt[.]suggestionsUrl = "https://suggestqueries[.]google[.]com/complete/search?ds=yt[&]output=firefox[&]q=%s";|d -\|https://duckduckgo[.]com/?q=%s[&]t=qupzilla| s|duckduckgo[.]com|duckduckgo.com/html| -\|addEngine(google);|d -\|addEngine(yt);|d -\|m_defaultEngine = google;| s|google|duck| diff --git a/libre/qupzilla/speeddial.cpp.sed b/libre/qupzilla/speeddial.cpp.sed deleted file mode 100644 index b8f591e87..000000000 --- a/libre/qupzilla/speeddial.cpp.sed +++ /dev/null @@ -1,4 +0,0 @@ -s|www[.]google[.]com|duckduckgo.com/html| -s|Google|DuckDuckGo HTML| -\#"url:[\]"https://github[.]com/QupZilla/qupzilla[\]"|title:[\]"QupZilla GitHub[\]";"# s#$#;# -\#"url:[\]"https://duckduckgo[.]com[\]"|title:[\]"DuckDuckGo[\]";";#d diff --git a/libre/qupzilla/start.html.sed b/libre/qupzilla/start.html.sed deleted file mode 100644 index f59a65979..000000000 --- a/libre/qupzilla/start.html.sed +++ /dev/null @@ -1 +0,0 @@ -\|<form action="https://duckduckgo[.]com/" method="GET">| s|duckduckgo[.]com|duckduckgo.com/html| |