summaryrefslogtreecommitdiff
path: root/recipes/json-glib.recipe
blob: b124b743508d56d92634c4677d34eab6560677e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'json-glib'
    version = '1.2.8'
    licenses = [License.LGPLv2_1Plus]
    stype = SourceType.TARBALL
    maj_ver = '.'.join(version.split('.')[0:2])
    url = 'https://download.gnome.org/sources/{0}/{1}/{0}-{2}.tar.xz'.format(name, maj_ver, version)
    tarball_checksum = 'fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a'
    deps = ['glib']
    configure_options = '--enable-static'
    autoreconf = True
    patches = ['json-glib/0001-Don-t-override-our-own-ACLOCAL_FLAGS-but-append-them.patch']

    files_bins = ['json-glib-validate', 'json-glib-format']
    files_libs = ['libjson-glib-1.0']
    files_devel  = ['include/json-glib-1.0', 'lib/pkgconfig/json-glib-1.0.pc']
    files_typelibs = ['Json-1.0']