summaryrefslogtreecommitdiff
path: root/gnome-unstable/webkitgtk/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
committerroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
commit9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch)
tree817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /gnome-unstable/webkitgtk/PKGBUILD
parentc84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff)
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'gnome-unstable/webkitgtk/PKGBUILD')
-rw-r--r--gnome-unstable/webkitgtk/PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/gnome-unstable/webkitgtk/PKGBUILD b/gnome-unstable/webkitgtk/PKGBUILD
new file mode 100644
index 000000000..d77de3a00
--- /dev/null
+++ b/gnome-unstable/webkitgtk/PKGBUILD
@@ -0,0 +1,61 @@
+# $Id: PKGBUILD 165829 2012-08-31 06:08:20Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgbase=webkitgtk
+pkgname=('webkitgtk2' 'webkitgtk3')
+pkgver=1.10.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://webkitgtk.org/"
+license=('custom')
+makedepends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gtk3' 'gst-plugins-base-libs' 'gperf' 'gobject-introspection' 'python2' 'mesa' 'ruby' 'gtk-doc')
+options=('!libtool' '!emptydirs')
+source=(http://webkitgtk.org/releases/webkitgtk-$pkgver.tar.xz)
+sha1sums=('3a2df2eb42ffdd7f3b39873d5461c347a6330493')
+
+build() {
+ cd "$srcdir/webkitgtk-$pkgver"
+ mkdir build-gtk2 build-gtk3
+
+ cd build-gtk2
+ PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
+ --enable-introspection \
+ --disable-silent-rules \
+ --libexecdir=/usr/lib/webkitgtk2 \
+ --with-gstreamer=1.0 \
+ --with-gtk=2.0 \
+ --disable-webkit2
+ make all stamp-po
+
+ cd ../build-gtk3
+ PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
+ --enable-introspection \
+ --disable-silent-rules \
+ --libexecdir=/usr/lib/webkitgtk3 \
+ --with-gstreamer=1.0
+ make all stamp-po
+}
+
+package_webkitgtk3() {
+ pkgdesc="GTK+ Web content engine library for GTK+ 3.0"
+ depends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gtk3' 'gst-plugins-base-libs')
+ conflicts=('libwebkit3')
+ provides=("libwebkit3=${pkgver}")
+ replaces=('libwebkit3')
+
+ cd "$srcdir/webkitgtk-$pkgver/build-gtk3"
+ make -j1 DESTDIR="$pkgdir" install
+ install -Dm644 ../Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_webkitgtk2() {
+ pkgdesc="GTK+ Web content engine library for GTK+ 2.0"
+ depends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gst-plugins-base-libs')
+ conflicts=('libwebkit')
+ provides=("libwebkit=${pkgver}")
+ replaces=('libwebkit')
+
+ cd "$srcdir/webkitgtk-$pkgver/build-gtk2"
+ make -j1 DESTDIR="$pkgdir" install
+ install -Dm644 ../Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}