blob: 9d93b68a0012adee20f3b065bead71dce818c2cf (
plain) (
blame)
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
|
# Template file for 'uhttpmock'
pkgname=uhttpmock
version=0.11.0
revision=1
build_style=meson
build_helper="gir"
configure_args="$(vopt_bool gtk_doc gtk_doc)"
hostmakedepends="pkg-config vala $(vopt_if gtk_doc gtk-doc)"
makedepends="glib-devel libsoup3-devel"
short_desc="HTTP web service mocking project for projects which use libsoup"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.freedesktop.org/pwithnall/uhttpmock/"
changelog="https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/raw/main/NEWS"
distfiles="https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/${version}/uhttpmock-${version}.tar.gz"
checksum=453f7cc20ca90c5214e4d2f3e77cbeaa6d6fb0f69b7bdbf39050cb69a6e09a19
build_options="gtk_doc"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gtk_doc"
fi
uhttpmock-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
if [ "$build_option_gtk_doc" ]; then
vmove usr/share/gtk-doc
fi
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}
|