blob: d978a25890204f9570578a44de42aee9e8efac08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname="ganv"
pkgver=1.8.2
pkgrel=2
pkgdesc="An interactive Gtkmm canvas widget for graph-based interfaces"
arch=('x86_64')
url="https://drobilla.net/software/ganv.html"
license=('GPL-3.0-or-later')
depends=('cairo' 'gcc-libs' 'glib2' 'glibc' 'graphviz' 'gtk2>=2.10'
'gtkmm>=2.10' 'libsigc++' 'pango')
makedepends=('glib2-devel' 'gobject-introspection' 'harfbuzz' 'meson>=0.56')
provides=('libganv-1.so')
_pkgsrc="${pkgname}-${pkgver}"
source=("${_pkgsrc}.tar.xz::https://download.drobilla.net/${_pkgsrc}.tar.xz"
"${_pkgsrc}.tar.xz.sig::https://download.drobilla.net/${_pkgsrc}.tar.xz.sig")
b2sums=('45e5370f3b94a7010f89943225748e40291583f7d2cc80f637f3db4fac3a03c9b58217bd8e8119f7867302c43846be47e928721addce68560c63cec5faa3b4d4'
'SKIP')
validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d@drobilla.net>
build() {
# NOTE: something probably provides intl, but we don't have it, so disable natural language support
arch-meson "${_pkgsrc}" build -D nls=disabled
meson compile -C build
}
package() {
cd "${srcdir}"
meson install -C build --destdir "${pkgdir}"
cd "${_pkgsrc}"
install -vDm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -vDm644 "NEWS" "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
install -vDm644 "AUTHORS" "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
install -vDm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|