mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/webkit2gtk to 2.18.6-1
This commit is contained in:
parent
1565ca48b9
commit
079fab1468
2 changed files with 29 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
highmem=1
|
||||
|
||||
pkgname=webkit2gtk
|
||||
pkgver=2.18.5
|
||||
pkgver=2.18.6
|
||||
pkgrel=1
|
||||
pkgdesc="GTK+ Web content engine library"
|
||||
arch=(x86_64)
|
||||
|
@ -22,15 +22,21 @@ optdepends=('gtk2: Netscape plugin support'
|
|||
'gst-plugins-good: media decoding'
|
||||
'gst-libav: nonfree media decoding')
|
||||
source=(https://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz{,.asc}
|
||||
enchant-2.diff
|
||||
remove_atomics.patch)
|
||||
sha256sums=('0c6d80cc7eb5d32f8063041fa11a1a6f17a29765c2f69c6bc862cd47c2d539b8'
|
||||
sha256sums=('93912cc2f40f12e452be1ca4babdbdaac0ec4f828d441257a6b06c2963bbac3c'
|
||||
'SKIP'
|
||||
'ed8e5fe614ed800da3caccb8162bdd2d8dbd5a69ab90d426b34e124dee5cf1b6'
|
||||
'410449817b1b181737538be10d96d6d8aec134285f6288e80c96fbfdd5d19519')
|
||||
validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3')
|
||||
|
||||
prepare() {
|
||||
mkdir build
|
||||
cd webkitgtk-$pkgver
|
||||
|
||||
# enchant 2.2
|
||||
patch -Np1 -i ../enchant-2.diff
|
||||
|
||||
sed -i '1s/python$/&2/' Tools/gtk/generate-gtkdoc
|
||||
|
||||
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
|
||||
|
|
21
extra/webkit2gtk/enchant-2.diff
Normal file
21
extra/webkit2gtk/enchant-2.diff
Normal file
|
@ -0,0 +1,21 @@
|
|||
diff -u -r webkitgtk-2.18.5/Source/cmake/FindEnchant.cmake webkitgtk-2.18.5-enchant2/Source/cmake/FindEnchant.cmake
|
||||
--- webkitgtk-2.18.5/Source/cmake/FindEnchant.cmake 2017-08-09 11:13:53.000000000 +0200
|
||||
+++ webkitgtk-2.18.5-enchant2/Source/cmake/FindEnchant.cmake 2018-01-18 10:06:07.127310881 +0100
|
||||
@@ -28,7 +28,7 @@
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
find_package(PkgConfig)
|
||||
-pkg_check_modules(PC_ENCHANT enchant)
|
||||
+pkg_check_modules(PC_ENCHANT enchant-2)
|
||||
|
||||
find_path(ENCHANT_INCLUDE_DIRS
|
||||
NAMES enchant.h
|
||||
@@ -37,7 +37,7 @@
|
||||
)
|
||||
|
||||
find_library(ENCHANT_LIBRARIES
|
||||
- NAMES enchant
|
||||
+ NAMES enchant-2
|
||||
PATHS ${PC_ENCHANT_LIBDIR}
|
||||
${PC_ENCHANT_LIBRARY_DIRS}
|
||||
)
|
Loading…
Reference in a new issue