File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ inherit : [meson]
2+
3+ metaEnvironment :
4+ PKG_LICENSE : " GPL-2.0-or-later"
5+ PKG_VERSION : " 1.1.2"
6+
7+ depends :
8+ - tools :
9+ target-toolchain : host-compat-toolchain
10+ use : [tools]
11+ depends :
12+ - devel::gperf
13+ - devel::itstool
14+ - name : python::lxml
15+ use : [result]
16+
17+ - libs::glib-dev
18+ - libs::libfyaml-dev
19+ - libs::libpcre2-dev
20+ - libs::libxml2-dev
21+ - libs::libxmlb-dev
22+ - net::curl-dev
23+ - use : []
24+ depends :
25+ - libs::glib-tgt
26+ - libs::libfyaml-tgt
27+ - libs::libpcre2-tgt
28+ - libs::libxml2-tgt
29+ - libs::libxmlb-tgt
30+ - net::curl-tgt
31+
32+ checkoutSCM :
33+ scm : url
34+ url : ${GITHUB_MIRROR}/ximion/appstream/archive/refs/tags/v${PKG_VERSION}.tar.gz
35+ digestSHA256 : 564ec87b16e9e4ee81fb021e612250fd27f3a3ecd31c209a5dd1ff59def3022d
36+ stripComponents : 1
37+
38+ buildTools : [gettext, glib, gperf, itstool]
39+ buildScript : |
40+ mesonBuild $1 \
41+ -Dsystemd=false \
42+ -Dzstd-support=false \
43+ -Dgir=false \
44+ -Dstemming=false \
45+ -Dapidocs=false \
46+ -Ddocs=false \
47+ -Dinstall-docs=false \
48+ -Dbash-completion=false \
49+ -Dman=false
50+
51+ multiPackage :
52+ native :
53+ packageScript : |
54+ rsync -a --delete $1/install/ .
55+ provideTools :
56+ appstream-native : " usr/bin"
57+ " " :
58+ depends :
59+ # appstream references itself. the referenced version has to be a host
60+ # native build (non cross)
61+ - name : libs::appstream-native
62+ tools :
63+ target-toolchain : host-native-toolchain
64+ use : [tools]
65+ buildTools : [appstream-native]
66+ buildSetup : |
67+ # appstream needs a 'full' native appstream, not only the tools, to build...
68+ export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR:${BOB_TOOL_PATHS['appstream-native']}/../lib/pkgconfig
69+ multiPackage :
70+ " dev " :
71+ packageScript : |
72+ mesonPackageDev
73+ provideDeps : ['*-dev']
74+ " tgt " :
75+ packageScript : |
76+ mesonPackageTgt
77+ provideDeps : ['*-tgt']
78+ " " :
79+ depends :
80+ - use : []
81+ name : libs::appstream-tgt
82+ packageScript : |
83+ mesonPackageBin
84+ provideDeps : ['*-tgt']
85+ provideTools :
86+ appstream : usr/bin
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ depends:
3030 - kernel::linux-image
3131
3232 - libs::alsa-lib-tgt
33+ - libs::appstream-tgt
3334 - libs::libassuan-tgt
3435 - libs::libksba-tgt
3536 - libs::botan-tgt
You can’t perform that action at this time.
0 commit comments