[arch-commits] Commit in libwebkit/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Sep 28 19:32:30 UTC 2011
Date: Wednesday, September 28, 2011 @ 15:32:30
Author: ibiru
Revision: 139010
db-move: moved libwebkit from [gnome-unstable] to [testing] (x86_64)
Added:
libwebkit/repos/testing-x86_64/
libwebkit/repos/testing-x86_64/PKGBUILD
(from rev 138832, libwebkit/repos/gnome-unstable-x86_64/PKGBUILD)
libwebkit/repos/testing-x86_64/libwebkit.install
(from rev 138832, libwebkit/repos/gnome-unstable-x86_64/libwebkit.install)
Deleted:
libwebkit/repos/gnome-unstable-x86_64/
-------------------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
libwebkit.install | 11 +++++++++++
2 files changed, 63 insertions(+)
Copied: libwebkit/repos/testing-x86_64/PKGBUILD (from rev 138832, libwebkit/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-28 19:32:30 UTC (rev 139010)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=libwebkit
+pkgname=(libwebkit libwebkit3)
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="An opensource web content engine"
+arch=('i686' 'x86_64')
+url="http://webkitgtk.org/"
+license=('custom')
+depends=('libxt' 'libxslt' 'sqlite3' 'icu' 'gstreamer0.10-base' 'libsoup' 'enchant')
+makedepends=('gperf' 'gtk-doc' 'gobject-introspection' 'python2' 'gtk2' 'gtk3')
+options=('!libtool' '!emptydirs')
+install=libwebkit.install
+source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz)
+md5sums=('c11743694b1b71dad287b2e7a9e73b05')
+
+build() {
+ cd "${srcdir}/webkit-${pkgver}"
+ mkdir build-gtk{2,3}
+
+ ( cd build-gtk2 && _build --with-gtk=2.0 )
+ ( cd build-gtk3 && _build --with-gtk=3.0 )
+}
+
+_build() {
+ PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
+ --enable-introspection \
+ --with-font-backend=freetype --enable-gtk-doc \
+ --with-unicode-backend=icu \
+ --enable-spellcheck "$@"
+ make all stamp-po
+}
+
+package_libwebkit() {
+ pkgdesc+=" (for GTK2)"
+ depends+=(gtk2)
+
+ cd "$srcdir/webkit-$pkgver/build-gtk2"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 ../Source/WebKit/LICENSE "${pkgdir}/usr/share/licenses/libwebkit/LICENSE"
+}
+
+package_libwebkit3() {
+ pkgdesc+=" (for GTK3)"
+ depends+=(gtk3)
+
+ cd "${srcdir}/webkit-${pkgver}/build-gtk3"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 ../Source/WebKit/LICENSE "${pkgdir}/usr/share/licenses/libwebkit3/LICENSE"
+}
Copied: libwebkit/repos/testing-x86_64/libwebkit.install (from rev 138832, libwebkit/repos/gnome-unstable-x86_64/libwebkit.install)
===================================================================
--- testing-x86_64/libwebkit.install (rev 0)
+++ testing-x86_64/libwebkit.install 2011-09-28 19:32:30 UTC (rev 139010)
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list