Advertisement
Guest User

Untitled

a guest
Mar 6th, 2014
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. # Maintainer: Doug Newgard <scimmia22 at outlook dot com>
  2. # Contributor: twa022 <twa022 at gmail dot com>
  3.  
  4. pkgname=ewebkit
  5. pkgver=164189
  6. pkgrel=1
  7. pkgdesc="WebKit ported to the Enlightenment Foundation Libraries"
  8. arch=('i686' 'x86_64')
  9. url="http://trac.webkit.org/wiki/EFLWebKit"
  10. license=('LGPL2' 'LGPL2.1' 'BSD')
  11. depends=('atk' 'cairo' 'efl' 'e_dbus' 'enchant' 'libtiff'
  12. 'gst-plugins-base-libs' 'libsoup' 'libxslt' 'libxt' 'harfbuzz-icu')
  13. makedepends=('cmake' 'perl' 'python2' 'ruby' 'gperf')
  14. source=("http://download.enlightenment.org/rel/libs/webkit-efl/webkit-efl-$pkgver.tar.xz")
  15. sha256sums=('660aefd65c0e5c6494eaec30539cda5f40fbdff17f28e7e83d341b245227cccd')
  16.  
  17. build() {
  18. cd "$srcdir/efl-webkit"
  19.  
  20. # build with glib 2.38/libsoup 2.44
  21. export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  22. export CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations"
  23.  
  24. cmake . \
  25. -DPORT=Efl \
  26. -DCMAKE_INSTALL_PREFIX=/usr \
  27. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
  28. -DCMAKE_BUILD_TYPE=Release \
  29. -DSHARED_CORE=ON \
  30. -DENABLE_WEBKIT=ON \
  31. -DENABLE_WEBKIT2=ON \
  32. -DENABLE_TOOLS=OFF
  33.  
  34. make
  35. }
  36.  
  37. package() {
  38. cd "$srcdir/efl-webkit"
  39.  
  40. make DESTDIR="$pkgdir" install
  41.  
  42. # install license files
  43. install -Dm644 Source/WebCore/LICENSE-APPLE "$pkgdir/usr/share/licenses/$pkgname/LICENSE-APPLE"
  44. install -Dm644 Source/WebCore/LICENSE-LGPL-2 "$pkgdir/usr/share/licenses/$pkgname/LICENSE-LGPL-2"
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement