11
POLAUR / Odp: Otter-Browser nowe wcielenie
« Ostatnia wiadomość wysłana przez pavbaranov dnia Listopad 12, 2015, 08:48:01 »W wersji tygodniowej #97 w sumie sporo zmian.
PKGBUILD wersji opartej o QtWebKit:
PKGBUILD wersji opartej o QtWebKit:
Kod: [Zaznacz]
# Maintainer: boenki <boenki at gmx dot de>
# Maintainer: pavbaranov
# Contributor: sir_lucjan
# Full pkgname # Do no edit below this line unless you know what you're doing
_pkgver=0.9.08
_weekver=97
_pkgname=otter-browser-webkit-weekly
################################################
pkgname=$_pkgname
__pkgname=otter-browser
pkgver=$_pkgver.$_weekver
pkgrel=1
pkgdesc="Browser aiming to recreate classic Opera (12.x) UI using Qt5 - qtwebkit version."
arch=('i686' 'x86_64')
url="http://$pkgname.org"
license=('GPL3')
depends=('qt5-webkit' 'qt5-script' 'qt5-multimedia' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('cmake' 'qt5-tools')
conflicts=('otter-browser-git' 'otter-browser' 'otter-browser-0.9.*' 'otter-browser-beta*')
provides=('otter-browser*')
install=otter.install
source=("http://sourceforge.net/projects/otter-browser/files/otter-browser-weekly${_weekver}/otter-browser-${_pkgver}-dev${_weekver}.tar.bz2")
md5sums=('7e9bab161f0e5801115a3cd230c7a73e')
build() {
cd ${__pkgname}-${_pkgver}-dev${_weekver}
lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd ${__pkgname}-${_pkgver}-dev${_weekver}
make DESTDIR=$pkgdir install
}
PKGBUILD wersji opartej o QtWebEngine:Kod: [Zaznacz]
# Maintainer: boenki <boenki at gmx dot de>
# Maintainer: pavbaranov
# Contributor: sir_lucjan
# Full pkgname # Do no edit below this line unless you know what you're doing
_pkgver=0.9.08
_weekver=97
_pkgname=otter-browser-webengine-weekly
################################################
pkgname=$_pkgname
__pkgname=otter-browser
pkgver=$_pkgver.$_weekver
weekver=$_weekver
pkgrel=1
pkgdesc="Browser aiming to recreate classic Opera (12.x) UI using Qt5 - qtwebengine version."
arch=('i686' 'x86_64')
url="http://$pkgname.org"
license=('GPL3')
depends=('qt5-webengine>=5.5' 'qt5-script>=5.5' 'qt5-multimedia>=5.5' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('cmake' 'qt5-tools>=5.5')
conflicts=('otter-browser-git' 'otter-browser' 'otter-browser*' 'otter-browser-beta*')
install=otter.install
source=("http://sourceforge.net/projects/otter-browser/files/otter-browser-weekly${_weekver}/otter-browser-${_pkgver}-dev${_weekver}.tar.bz2")
md5sums=('7e9bab161f0e5801115a3cd230c7a73e')
build() {
cd ${__pkgname}-${_pkgver}-dev${_weekver}
lrelease resources/translations/*.ts
cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DEnableQtwebengine=ON
make
}
package() {
cd ${__pkgname}-${_pkgver}-dev${_weekver}
make DESTDIR=$pkgdir install
}