mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-28 08:52:07 +01:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libgit2-glib
|
|
pkgver=1.2.0
|
|
pkgrel=5
|
|
pkgdesc="Glib wrapper library around libgit2"
|
|
url="https://wiki.gnome.org/Projects/Libgit2-glib"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
depends_dev="libgit2-dev"
|
|
makedepends="py3-gobject3-dev vala gobject-introspection-dev meson $depends_dev"
|
|
options="!check" # UTF-8 checks fail in some environments
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.gnome.org/sources/libgit2-glib/${pkgver%.*}/libgit2-glib-$pkgver.tar.xz
|
|
support-libgit2-1.9.patch
|
|
"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
37004e86c663ce5fe1bd54878b908575eb9195c1012e88e39c2efdb0b6cfa1de3d2ed9754cecc1b942d001698870025c87d95856f2a0a9f2d0dba1979b07b1f8 libgit2-glib-1.2.0.tar.xz
|
|
e5678fca3478d4d2c3080185d8ed8ee6bd2b9cab6c4e2a864f23b34f55f3c8840c510baba75b2f2cd43f550b3a50cdb8d038db5436f9d72b4df140e402e3df58 support-libgit2-1.9.patch
|
|
"
|