mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-26 07:52:32 +01:00
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: mio <miyopan@e.email>
|
|
pkgname=gedit-plugins
|
|
pkgver=48.1
|
|
pkgrel=0
|
|
pkgdesc="Collection of plugins for the gedit text editor"
|
|
url="https://gitlab.gnome.org/GNOME/gedit/blob/master/plugins/list-of-gedit-plugins.md"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
depends="
|
|
gucharmap
|
|
libpeas-python3
|
|
python3
|
|
py3-dbus
|
|
py3-gobject3
|
|
vte3
|
|
"
|
|
makedepends="
|
|
gedit-dev
|
|
glib-dev
|
|
gtk+3.0-dev
|
|
gucharmap-dev
|
|
itstool
|
|
libgedit-gtksourceview-dev
|
|
libgit2-glib-dev
|
|
libpeas-dev
|
|
py3-dbus-dev
|
|
vte3-dev
|
|
meson
|
|
"
|
|
checkdepends="appstream-glib"
|
|
subpackages="$pkgname-lang $pkgname-doc $pkgname-pyc"
|
|
source="https://gitlab.gnome.org/GNOME/gedit-plugins/-/archive/$pkgver/gedit-plugins-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
python3 -m compileall -fq "$pkgdir"/usr/lib/gedit
|
|
}
|
|
|
|
pyc() {
|
|
default_pyc
|
|
find usr/lib/gedit/plugins -type d -name __pycache__ | \
|
|
while IFS="$(printf '\n')" read -r path; do
|
|
amove "$path"
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
b303763fd6e078965ebb503e83d6faa76d164d6ca765ef3d8e813c152fc7f91432197e9234f11b2c7bbee3cbaf2709cf049ad6178e18301b31a844c091d4af37 gedit-plugins-48.1.tar.gz
|
|
"
|