mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-09 15:51:45 +02:00
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
|
|
pkgname=xed
|
|
pkgver=3.4.5
|
|
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
|
|
gvfs-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="
|
|
d136158ac2bbe52079e050682d74a4a3692a72bdd170d8f2875a329e7da3d21b947be4131e8d49fbca68ef473e9fb5924864e07c610cf6e0cfea1acd9a8f45e4 xed-3.4.5.tar.gz
|
|
"
|