-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Expand file tree
/
Copy pathrecipe.yaml
More file actions
90 lines (82 loc) · 2.27 KB
/
Copy pathrecipe.yaml
File metadata and controls
90 lines (82 loc) · 2.27 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
schema_version: 1
context:
name: AppStream
version: "1.1.1"
package:
name: ${{ name|lower }}
version: ${{ version }}
source:
url: https://www.freedesktop.org/software/${{ name|lower }}/releases/${{ name }}-${{ version }}.tar.xz
sha256: 3b9d325074ede328eed4746d0c4fbfc3b8f6f4fdbc9c173ed70e40569a79b117
build:
number: 0
skip:
- win
script: |
meson setup ${MESON_ARGS} \
--prefix=$PREFIX \
--default-library=shared \
--wrap-mode=nofallback \
-Dc_args="-D_GNU_SOURCE" \
-Dgir=true \
-Ddocs=false \
-Dapidocs=false \
-Dman=false \
-Dvapi=false \
-Dsystemd=false \
-Dstemming=false \
builddir
ninja -v -C builddir -j ${CPU_COUNT}
ninja -C builddir install -j ${CPU_COUNT}
requirements:
build:
- ${{ compiler('c') }}
- ${{ stdlib('c') }}
- meson >=0.62.0
- ninja
- pkg-config
- gobject-introspection
- python
host:
- glib >=2.58
- libxml2-devel
- zlib
- libcurl
- libfyaml
- libxmlb
- gobject-introspection
- gperf
- gettext
- itstool
- python
run:
- python
tests:
- package_contents:
files:
- lib/pkgconfig/appstream.pc
- bin/appstreamcli
- share/gir-1.0/AppStream-1.0.gir
- lib/girepository-1.0/AppStream-1.0.typelib
lib:
- appstream
about:
homepage: https://www.freedesktop.org/wiki/Distributions/AppStream/
summary: 'Tools and libraries to work with AppStream metadata'
description: |
AppStream makes machine-readable software metadata
easily accessible. It is a foundational block for
modern Linux software centers, offering a seamless
way to retrieve information about available software,
no matter the repository it is contained in. It can
provide data about available applications as well as
available firmware, drivers, fonts and other components.
This project is part of freedesktop.org.
license: LGPL-2.1-or-later
license_file: COPYING
documentation: https://www.freedesktop.org/software/appstream/docs/
repository: https://github.com/ximion/appstream
extra:
recipe-maintainers:
- danyeaw