core/qtwebkit/PKGBUILD

52 lines
1.4 KiB
Bash
Raw Normal View History

2011-10-10 01:21:12 +08:00
#
# QT Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
2011-10-10 01:21:12 +08:00
pkgname=qtwebkit
pkgver=2.2.2
pkgrel=1
arch=('x86_64')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
license=('LGPL2.1' 'GPL3')
depends=('qt' 'gstreamer0.10' 'gstreamer0.10-base' 'gstreamer0.10-base-plugins'
'gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-ffmpeg'
'gstreamer0.10-ugly-plugins')
makedepends=('gperf' 'sqlite3' 'fontconfig' 'perl' 'python2' 'mesa' 'ruby')
source=("${pkgname}-${pkgver}-source.tar.gz"
'glib.patch')
sha1sums=('914d7cc099e5b6181c2d74fc7a74e1b4478b75a4'
'dff60039b212c2f53a7b425dfcf6af78e09a80af')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}-source
2011-10-10 01:21:12 +08:00
patch -p1 -i "${srcdir}"/glib.patch
# move headers
mv include Source/
cd Source
qmake
cd ../
make -C Source
# Build the QWebView plugin (FS#27914)
#cd "${srcdir}"/${pkgname}-${pkgver}-source/qwebview-${_qtver}/plugins/qwebview
#qmake
#make
2011-10-10 01:21:12 +08:00
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}-source
make INSTALL_ROOT="${pkgdir}" -C Source install
# Fix RPATH
#chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/qt/imports/QtWebKit/libqmlwebkitplugin.so
#cd "${srcdir}"/${pkgname}-${pkgver}-source/qwebview-${_qtver}/plugins/qwebview
#make INSTALL_ROOT="${pkgdir}" install
2011-10-10 01:21:12 +08:00
}