testing/gnome-latex: upgrade to 3.47.0

This commit is contained in:
mio 2024-09-14 18:01:04 +00:00 committed by Celeste
parent 17410ac8db
commit 8a7ee500f6
2 changed files with 16 additions and 42 deletions

View file

@ -1,63 +1,48 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=gnome-latex
pkgver=3.46.0
_pkgname=enter-tex
pkgver=3.47.0
pkgrel=0
pkgdesc="LaTeX editor for the GNOME desktop"
url="https://gitlab.gnome.org/swilmet/gedit-tex"
url="https://gitlab.gnome.org/swilmet/enter-tex"
# s390x, ppc64le, riscv64 and loongarch64 blocked by texlive
arch="all !ppc64le !s390x !riscv64 !loongarch64"
arch="all !s390x !ppc64le !riscv64 !loongarch64"
license="GPL-3.0-or-later"
depends="
gsettings-desktop-schemas
texlive
"
makedepends="
autoconf
automake
desktop-file-utils
dconf-dev
gobject-introspection-dev
gsettings-desktop-schemas-dev
gspell-dev
gtk-doc
intltool
itstool
libgee-dev
libtool
libgedit-tepl-dev
libgee-dev
meson
texlive
vala
yelp
"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-latex/${pkgver%.*}/gnome-latex-$pkgver.tar.xz
use-libgedit-tepl.patch
"
prepare() {
default_prepare
autoreconf -fi
}
source="https://gitlab.gnome.org/swilmet/$_pkgname/-/archive/$pkgver/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
abuild-meson . output
ninja -C output src/gtex/Gtex-1.gir
meson compile -C output
}
check() {
make check
meson test --no-rebuild --print-errorlogs -C output
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
a2c85f240bdb90633f7e0b8710095ee6db5f6f4b67ac831376bc3741e34d53ab37b76ca33dd26f8080f03eaab436040a33db30c07965cd5998b929f37c43929b gnome-latex-3.46.0.tar.xz
6752b7790c1adb22ff588795e2e43ace8133ab6ee3a940dbc8ccbaedc2b3036ee1127333e16f3d85469fd8ca01bc2a89d83cb1b9d0af6e43092824a471d74f6d use-libgedit-tepl.patch
1ba1b8d42df6c9976a44fb3c4f9333104db21e5cc577aa9f9e82a97603bba28722696f36e7d1a7ca33ff6a9af87ec80d056a4493209fff5fa76d39526a2e830d enter-tex-3.47.0.tar.gz
"

View file

@ -1,11 +0,0 @@
--- gnome-latex-3.46.0-origin/configure.ac
+++ gnome-latex-3.46.0/configure.ac
@@ -47,7 +47,7 @@
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
])