summaryrefslogtreecommitdiff
path: root/testing/libwebkit
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libwebkit')
-rw-r--r--testing/libwebkit/PKGBUILD57
-rw-r--r--testing/libwebkit/gcc46.patch11
-rw-r--r--testing/libwebkit/libwebkit.install11
3 files changed, 0 insertions, 79 deletions
diff --git a/testing/libwebkit/PKGBUILD b/testing/libwebkit/PKGBUILD
deleted file mode 100644
index d2b541f1e..000000000
--- a/testing/libwebkit/PKGBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# $Id: PKGBUILD 121025 2011-04-27 21:44:28Z ibiru $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgbase=libwebkit
-pkgname=(libwebkit libwebkit3)
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="An opensource web content engine"
-arch=('i686' 'x86_64' 'mips64el')
-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')
-install=libwebkit.install
-source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz gcc46.patch)
-md5sums=('10c969db3b5484c71df1aa9a338377ff'
- '970a2fa91b9827dff8e9b9edb4867701')
-
-build() {
- cd "${srcdir}/webkit-${pkgver}"
- patch -Np1 -i "${srcdir}/gcc46.patch"
- 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"
-}
diff --git a/testing/libwebkit/gcc46.patch b/testing/libwebkit/gcc46.patch
deleted file mode 100644
index befd892d4..000000000
--- a/testing/libwebkit/gcc46.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-Index: trunk/Source/WebCore/dom/make_names.pl
-===================================================================
---- trunk/Source/WebCore/dom/make_names.pl (revision 73989)
-+++ trunk/Source/WebCore/dom/make_names.pl (revision 84123)
-@@ -66,5 +66,5 @@
- $gccLocation = "/usr/bin/gcc";
- }
--my $preprocessor = $gccLocation . " -E -P -x c++";
-+my $preprocessor = $gccLocation . " -E -x c++";
-
- GetOptions(
diff --git a/testing/libwebkit/libwebkit.install b/testing/libwebkit/libwebkit.install
deleted file mode 100644
index 24072f316..000000000
--- a/testing/libwebkit/libwebkit.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}