[arch-commits] Commit in ghostwriter (4 files)

Balló György bgyorgy at archlinux.org
Sun Jul 5 19:31:23 UTC 2020


    Date: Sunday, July 5, 2020 @ 19:31:22
  Author: bgyorgy
Revision: 657910

archrelease: copy trunk to community-x86_64

Added:
  ghostwriter/repos/
  ghostwriter/repos/community-x86_64/
  ghostwriter/repos/community-x86_64/PKGBUILD
    (from rev 657909, ghostwriter/trunk/PKGBUILD)
  ghostwriter/repos/community-x86_64/qt-5.15.patch
    (from rev 657909, ghostwriter/trunk/qt-5.15.patch)

---------------+
 PKGBUILD      |   39 +++++++++++++++++++++++++++++++++++++++
 qt-5.15.patch |   11 +++++++++++
 2 files changed, 50 insertions(+)

Copied: ghostwriter/repos/community-x86_64/PKGBUILD (from rev 657909, ghostwriter/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-07-05 19:31:22 UTC (rev 657910)
@@ -0,0 +1,39 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+# Contributor: Bastien "neitsab" Traverse <firstname [at] lastname [dot] email>
+# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
+# Contributor: Philipp 'TamCore' B. <philipp [at] tamcore [dot] eu>
+
+pkgname=ghostwriter
+pkgver=1.8.1
+pkgrel=3
+pkgdesc="Aesthetic, distraction-free Markdown editor"
+arch=(x86_64)
+url="https://wereturtle.github.io/ghostwriter/"
+license=(GPL3)
+depends=(hunspell qt5-svg qt5-webengine)
+makedepends=(qt5-tools)
+optdepends=('cmark: processing and rendering CommonMark'
+            'pandoc: Pandoc supported Markdown flavors and export to various formats')
+source=("https://github.com/wereturtle/ghostwriter/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        "qt-5.15.patch")
+sha256sums=('2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69'
+            'f97077cb0137f034c26f30996c6bc6b6835eeeaa55f96b57155434562cb1830c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../qt-5.15.patch
+  sed -i 's|DATADIR/appdata|DATADIR/metainfo|
+          /INSTALLS +=/ s/ pixmap//' ghostwriter.pro
+}
+
+build() {
+  cd $pkgname-$pkgver
+  qmake PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Copied: ghostwriter/repos/community-x86_64/qt-5.15.patch (from rev 657909, ghostwriter/trunk/qt-5.15.patch)
===================================================================
--- repos/community-x86_64/qt-5.15.patch	                        (rev 0)
+++ repos/community-x86_64/qt-5.15.patch	2020-07-05 19:31:22 UTC (rev 657910)
@@ -0,0 +1,11 @@
+diff -aur package.pristine/src/MarkdownEditor.cpp package.new/src/MarkdownEditor.cpp
+--- package.pristine/src/MarkdownEditor.cpp	2020-02-23 01:49:46.000000000 +0100
++++ package.new/src/MarkdownEditor.cpp	2020-06-09 10:45:40.380449821 +0200
+@@ -34,6 +34,7 @@
+ #include <QUrl>
+ #include <QPixmap>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QFileInfo>
+ #include <QDir>
+ 



More information about the arch-commits mailing list