[arch-commits] Commit in libwebkit/repos (6 files)

Ionut Biru ibiru at archlinux.org
Thu Sep 1 07:50:08 UTC 2011


    Date: Thursday, September 1, 2011 @ 03:50:07
  Author: ibiru
Revision: 136753

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  libwebkit/repos/gnome-unstable-i686/
  libwebkit/repos/gnome-unstable-i686/PKGBUILD
    (from rev 136752, libwebkit/trunk/PKGBUILD)
  libwebkit/repos/gnome-unstable-i686/libwebkit.install
    (from rev 136752, libwebkit/trunk/libwebkit.install)
  libwebkit/repos/gnome-unstable-x86_64/
  libwebkit/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 136752, libwebkit/trunk/PKGBUILD)
  libwebkit/repos/gnome-unstable-x86_64/libwebkit.install
    (from rev 136752, libwebkit/trunk/libwebkit.install)

-----------------------------------------+
 gnome-unstable-i686/PKGBUILD            |   55 ++++++++++++++++++++++++++++++
 gnome-unstable-i686/libwebkit.install   |   11 ++++++
 gnome-unstable-x86_64/PKGBUILD          |   55 ++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/libwebkit.install |   11 ++++++
 4 files changed, 132 insertions(+)

Copied: libwebkit/repos/gnome-unstable-i686/PKGBUILD (from rev 136752, libwebkit/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2011-09-01 07:50:07 UTC (rev 136753)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=libwebkit
+pkgname=(libwebkit libwebkit3)
+pkgver=1.5.2
+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' 'namcap')
+options=('!libtool' '!emptydirs')
+install=libwebkit.install
+source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz)
+md5sums=('92e512b8222d107b71beccf88a045e09')
+
+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)
+  provides=('webkitgtk-svn')
+  conflicts=('webkitgtk-svn')
+  replaces=('webkitgtk-svn')
+
+  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/gnome-unstable-i686/libwebkit.install (from rev 136752, libwebkit/trunk/libwebkit.install)
===================================================================
--- gnome-unstable-i686/libwebkit.install	                        (rev 0)
+++ gnome-unstable-i686/libwebkit.install	2011-09-01 07:50:07 UTC (rev 136753)
@@ -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
+}

Copied: libwebkit/repos/gnome-unstable-x86_64/PKGBUILD (from rev 136752, libwebkit/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2011-09-01 07:50:07 UTC (rev 136753)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=libwebkit
+pkgname=(libwebkit libwebkit3)
+pkgver=1.5.2
+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' 'namcap')
+options=('!libtool' '!emptydirs')
+install=libwebkit.install
+source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz)
+md5sums=('92e512b8222d107b71beccf88a045e09')
+
+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)
+  provides=('webkitgtk-svn')
+  conflicts=('webkitgtk-svn')
+  replaces=('webkitgtk-svn')
+
+  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/gnome-unstable-x86_64/libwebkit.install (from rev 136752, libwebkit/trunk/libwebkit.install)
===================================================================
--- gnome-unstable-x86_64/libwebkit.install	                        (rev 0)
+++ gnome-unstable-x86_64/libwebkit.install	2011-09-01 07:50:07 UTC (rev 136753)
@@ -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