diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,18 +1,19 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=apostrophe pkgver=2.5 -pkgrel=2 +pkgrel=3 pkgdesc="A distraction free Markdown editor for GNU/Linux made with GTK+" arch=('any') url="https://world.pages.gitlab.gnome.org/apostrophe" license=('GPL3') -depends=('gspell' 'libhandy' 'otf-fira-mono' 'python-cairo' 'python-gobject' - 'python-levenshtein' 'python-pyenchant' 'python-pypandoc' 'python-regex' - 'webkit2gtk') +depends=('gspell' 'libhandy' 'otf-fira-mono' 'otf-fira-sans' 'python-cairo' + 'python-gobject' 'python-levenshtein' 'python-pyenchant' 'python-pypandoc' + 'python-regex' 'python-setuptools' 'webkit2gtk') makedepends=('meson' 'gobject-introspection' 'sassc') optdepends=('texlive-latexextra: for the pdftex module' 'mathjax: for formula preview') checkdepends=('appstream-glib') +changelog="$pkgname-NEWS" source=("https://gitlab.gnome.org/World/apostrophe/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz" "$pkgname.patch") sha256sums=('366b239ea7bb720c11fc7344827b6739e4983132c9932aa4705a3b88533d75e4' @@ -21,6 +22,15 @@ sha256sums=('366b239ea7bb720c11fc7344827b6739e4983132c9932aa4705a3b88533d75e4' prepare() { cd "$pkgname-v$pkgver" patch -Np1 -i "$srcdir/$pkgname.patch" + + # Bug 1953395 - Apostrophe can't export to HTML + sed -i 's|/app/share/fonts/FiraSans-Regular.ttf|/usr/share/fonts/mozilla-fira/FiraSans-Regular.otf|' \ + data/media/css/web/base.css + sed -i 's|/app/share/fonts/FiraMono-Regular.ttf|/usr/share/fonts/mozilla-fira/FiraMono-Regular.otf|' \ + data/media/css/web/base.css + + # W: hidden-file-or-dir + rm apostrophe/.pylintrc } build() { |