mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
52 lines
1.2 KiB
Text
52 lines
1.2 KiB
Text
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
|
|
pkgname=xed
|
|
pkgver=3.8.2
|
|
pkgrel=0
|
|
pkgdesc="X-Apps Text Editor"
|
|
url="https://github.com/linuxmint/xed"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
intltool
|
|
itstool
|
|
libpeas-dev
|
|
gobject-introspection-dev
|
|
gspell-dev
|
|
gtksourceview4-dev
|
|
gzip
|
|
meson
|
|
python3
|
|
xapp-dev
|
|
"
|
|
checkdepends="cage-run"
|
|
subpackages="$pkgname-lang $pkgname-dev $pkgname-doc $pkgname-python"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/xed/archive/refs/tags/$pkgver.tar.gz"
|
|
options="!check" # needs dogtail
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
cage-run meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
python() {
|
|
depends="$pkgname=$pkgver-r$pkgrel libpeas-python3"
|
|
pkgdesc="$pkgdesc (python plugins)"
|
|
amove \
|
|
usr/lib/xed/plugins/joinlines* \
|
|
usr/lib/xed/plugins/open-uri-context-menu* \
|
|
usr/lib/xed/plugins/textsize*
|
|
}
|
|
|
|
sha512sums="
|
|
4fdcb07c0c363ac95014e028ea9bb506bb3d4abdbde14cacf14f442a219d242c514a67f26b24687ea5f52c8fc5d6c7d12f1cc51ce766ab658ffdf1a177487ac2 xed-3.8.2.tar.gz
|
|
"
|