[arch-commits] Commit in scratch-text-editor/repos (6 files)
Maxime Gauduin
alucryd at archlinux.org
Thu Jan 19 22:15:57 UTC 2017
Date: Thursday, January 19, 2017 @ 22:15:56
Author: alucryd
Revision: 208065
archrelease: copy trunk to community-i686, community-x86_64
Added:
scratch-text-editor/repos/community-i686/PKGBUILD
(from rev 208064, scratch-text-editor/trunk/PKGBUILD)
scratch-text-editor/repos/community-i686/scratch-optional-webkitgtk.patch
(from rev 208064, scratch-text-editor/trunk/scratch-optional-webkitgtk.patch)
scratch-text-editor/repos/community-x86_64/PKGBUILD
(from rev 208064, scratch-text-editor/trunk/PKGBUILD)
scratch-text-editor/repos/community-x86_64/scratch-optional-webkitgtk.patch
(from rev 208064, scratch-text-editor/trunk/scratch-optional-webkitgtk.patch)
Deleted:
scratch-text-editor/repos/community-i686/PKGBUILD
scratch-text-editor/repos/community-x86_64/PKGBUILD
---------------------------------------------------+
/PKGBUILD | 108 ++++++++++++++++++++
community-i686/PKGBUILD | 50 ---------
community-i686/scratch-optional-webkitgtk.patch | 9 +
community-x86_64/PKGBUILD | 50 ---------
community-x86_64/scratch-optional-webkitgtk.patch | 9 +
5 files changed, 126 insertions(+), 100 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-01-19 22:15:42 UTC (rev 208064)
+++ community-i686/PKGBUILD 2017-01-19 22:15:56 UTC (rev 208065)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
-
-pkgname=scratch-text-editor
-pkgver=2.3
-pkgrel=1
-pkgdesc='The Pantheon Text Editor'
-arch=('i686' 'x86_64')
-url='https://launchpad.net/scratch'
-license=('GPL3')
-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')
-
-prepare() {
- cd scratch-text-editor-${pkgver}
-
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-}
-
-build() {
- cd scratch-text-editor-${pkgver}/build
-
- cmake .. \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
- -DGSETTINGS_COMPILE='FALSE'
- make
-}
-
-package() {
- cd scratch-text-editor-${pkgver}/build
-
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-i686/PKGBUILD (from rev 208064, scratch-text-editor/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-01-19 22:15:56 UTC (rev 208065)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
+
+pkgname=scratch-text-editor
+pkgver=2.3
+pkgrel=1
+pkgdesc='The Pantheon Text Editor'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/scratch'
+license=('GPL3')
+depends=('desktop-file-utils' 'glib2' 'glibc' 'gtk3' 'gtksourceview3' 'libgee'
+ 'libpeas' 'pango' 'zeitgeist'
+ 'libgranite.so')
+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}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+
+ patch -Np1 -i ../scratch-optional-webkitgtk.patch
+}
+
+build() {
+ cd scratch-text-editor-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -DGSETTINGS_COMPILE='FALSE'
+ make
+}
+
+package() {
+ cd scratch-text-editor-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-i686/scratch-optional-webkitgtk.patch (from rev 208064, scratch-text-editor/trunk/scratch-optional-webkitgtk.patch)
===================================================================
--- community-i686/scratch-optional-webkitgtk.patch (rev 0)
+++ community-i686/scratch-optional-webkitgtk.patch 2017-01-19 22:15:56 UTC (rev 208065)
@@ -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/)
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-01-19 22:15:42 UTC (rev 208064)
+++ community-x86_64/PKGBUILD 2017-01-19 22:15:56 UTC (rev 208065)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
-
-pkgname=scratch-text-editor
-pkgver=2.3
-pkgrel=1
-pkgdesc='The Pantheon Text Editor'
-arch=('i686' 'x86_64')
-url='https://launchpad.net/scratch'
-license=('GPL3')
-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')
-
-prepare() {
- cd scratch-text-editor-${pkgver}
-
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-}
-
-build() {
- cd scratch-text-editor-${pkgver}/build
-
- cmake .. \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
- -DGSETTINGS_COMPILE='FALSE'
- make
-}
-
-package() {
- cd scratch-text-editor-${pkgver}/build
-
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-x86_64/PKGBUILD (from rev 208064, scratch-text-editor/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-01-19 22:15:56 UTC (rev 208065)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ner0 <darkelfdarkelf666 at yahoo.co.uk>
+
+pkgname=scratch-text-editor
+pkgver=2.3
+pkgrel=1
+pkgdesc='The Pantheon Text Editor'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/scratch'
+license=('GPL3')
+depends=('desktop-file-utils' 'glib2' 'glibc' 'gtk3' 'gtksourceview3' 'libgee'
+ 'libpeas' 'pango' 'zeitgeist'
+ 'libgranite.so')
+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}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+
+ patch -Np1 -i ../scratch-optional-webkitgtk.patch
+}
+
+build() {
+ cd scratch-text-editor-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -DGSETTINGS_COMPILE='FALSE'
+ make
+}
+
+package() {
+ cd scratch-text-editor-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: scratch-text-editor/repos/community-x86_64/scratch-optional-webkitgtk.patch (from rev 208064, scratch-text-editor/trunk/scratch-optional-webkitgtk.patch)
===================================================================
--- community-x86_64/scratch-optional-webkitgtk.patch (rev 0)
+++ community-x86_64/scratch-optional-webkitgtk.patch 2017-01-19 22:15:56 UTC (rev 208065)
@@ -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