c987560802
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
24 lines
583 B
Diff
24 lines
583 B
Diff
--- a/data/cmf/meson.build
|
|
+++ b/data/cmf/meson.build
|
|
@@ -1,3 +1,7 @@
|
|
+if meson.is_cross_build()
|
|
+ cd_idt8 = find_program('cd-it8')
|
|
+endif
|
|
+
|
|
foreach arg: [ 'CIE1964-10deg-XYZ', 'CIE1931-2deg-XYZ' ]
|
|
custom_target(arg,
|
|
input: arg + '.csv',
|
|
--- a/data/profiles/meson.build
|
|
+++ b/data/profiles/meson.build
|
|
@@ -47,6 +47,10 @@ if get_option('print_profiles')
|
|
icc_profiles += icc_print_profiles
|
|
endif
|
|
|
|
+if meson.is_cross_build()
|
|
+ cd_create_profile = find_program('cd-create-profile')
|
|
+endif
|
|
+
|
|
generated_iccs = []
|
|
foreach arg: icc_profiles
|
|
xml_i18n = i18n.merge_file(
|
|
|