[arch-commits] Commit in scratch-text-editor/trunk (2 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Jan 19 22:15:43 UTC 2017
Date: Thursday, January 19, 2017 @ 22:15:42
Author: alucryd
Revision: 208064
webkitgtk removal todo: scratch-text-editor 2.3-1
Added:
scratch-text-editor/trunk/scratch-optional-webkitgtk.patch
Modified:
scratch-text-editor/trunk/PKGBUILD
----------------------------------+
PKGBUILD | 20 ++++++++++++--------
scratch-optional-webkitgtk.patch | 9 +++++++++
2 files changed, 21 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-19 22:01:39 UTC (rev 208063)
+++ PKGBUILD 2017-01-19 22:15:42 UTC (rev 208064)
@@ -12,14 +12,16 @@
depends=('desktop-file-utils' 'glib2' 'glibc' 'gtk3' 'gtksourceview3' 'libgee'
'libpeas' 'pango' 'zeitgeist'
'libgranite.so')
-makedepends=('cmake' 'gobject-introspection' 'gtkspell3' 'intltool' 'vala'
- 'vte3' 'webkitgtk')
-optdepends=('gtkspell3: Spell Check extension'
- 'vala: Outline extension'
- 'vte3: Terminal extension'
- 'webkitgtk: Browser Preview extension')
-source=("https://launchpad.net/scratch/2.x/${pkgver}/+download/scratch-text-editor-${pkgver}.tar.xz")
-sha256sums=('529f7d3ee8d6ca173b9adeb8063accdf10d1874eb95ea66602c27e3142977bd7')
+makedepends=('cmake' 'gobject-introspection' 'gtkspell3' 'intltool' 'libsoup'
+ 'vala' 'vte3')
+optdepends=('gtkspell3: Spell Check plugin'
+ 'libsoup: Pastebin plugin'
+ 'vala: Outline plugin'
+ 'vte3: Terminal plugin')
+source=("https://launchpad.net/scratch/2.x/${pkgver}/+download/scratch-text-editor-${pkgver}.tar.xz"
+ 'scratch-optional-webkitgtk.patch')
+sha256sums=('529f7d3ee8d6ca173b9adeb8063accdf10d1874eb95ea66602c27e3142977bd7'
+ 'acffc9c4b7dd2bb8e4e153f0703f0ae5aa0958cfeda8cb276a749ab009ef448b')
prepare() {
cd scratch-text-editor-${pkgver}
@@ -28,6 +30,8 @@
rm -rf build
fi
mkdir build
+
+ patch -Np1 -i ../scratch-optional-webkitgtk.patch
}
build() {
Added: scratch-optional-webkitgtk.patch
===================================================================
--- scratch-optional-webkitgtk.patch (rev 0)
+++ scratch-optional-webkitgtk.patch 2017-01-19 22:15:42 UTC (rev 208064)
@@ -0,0 +1,9 @@
+diff -rupN scratch-text-editor-2.3.orig/plugins/browser-preview/CMakeLists.txt scratch-text-editor-2.3/plugins/browser-preview/CMakeLists.txt
+--- scratch-text-editor-2.3.orig/plugins/browser-preview/CMakeLists.txt 2017-01-19 23:08:49.613757781 +0100
++++ scratch-text-editor-2.3/plugins/browser-preview/CMakeLists.txt 2017-01-19 23:11:17.183287592 +0100
+@@ -1,4 +1,4 @@
+-pkg_check_modules (WEBKIT REQUIRED "webkitgtk-3.0")
++pkg_check_modules (WEBKIT webkitgtk-3.0)
+ if(${WEBKIT_FOUND})
+ add_definitions(${NORMAL_CFLAGS})
+ include_directories(${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/scratchcore/)
More information about the arch-commits
mailing list