summaryrefslogtreecommitdiff
path: root/packages/dev-libs/jsonrpc-glib/jsonrpc-glib-3.34.0.exheres-0
blob: 742622a5f3f2706c94c5f68bc0adf7f91396ff3c (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
# Copyright 2018 Rasmus Thomsen <cogitri@exherbo.org>
# Distributed under the terms of the GNU General Public License v2

require gnome.org [ suffix=tar.xz ] meson vala [ vala_dep=true with_opt=true ]

SUMMARY="library to communicate with JSON-RPC based peers"

LICENCES="LGPL-2.1"
SLOT="1.0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
    gobject-introspection
    gtk-doc
"

DEPENDENCIES="
    build:
        virtual/pkg-config
        gtk-doc? ( dev-doc/gtk-doc )
    build+run:
        core/json-glib
        dev-libs/glib:2
        gobject-introspection? ( gnome-desktop/gobject-introspection:1 )
"

MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
    'gobject-introspection with_introspection'
    'gtk-doc enable_gtk_doc'
    'vapi with_vapi'
)

MESON_SRC_CONFIGURE_TESTS=(
    '-Denable_tests=true -Denable_tests=false'
)