summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-29 22:10:30 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-29 23:36:28 +0200
commit0c7776b13b349980a8da1be9188095455012096a (patch)
treed51844507e791cff7e4c5a21d2c20fbbf95cb55c /cscript
parentd9a0b0db5d19f54822668e89edbbf3d32846c763 (diff)
Find Arch's FFmpeg 4.4.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/cscript b/cscript
index 7205a6dee..57277f727 100644
--- a/cscript
+++ b/cscript
@@ -718,6 +718,9 @@ def build(target, options, for_package):
json.dump(desc, outfile)
target.command('%s --repo=build/platform/repo build/platform/flatpak build/com.dcpomatic.DCP-o-matic.json' % target.flatpak_builder())
elif target.platform != 'linux' or target.detail == 'appimage' or not for_package:
+ if target.distro == 'arch':
+ # We're using a special pinned distro FFmpeg on Arch, and this is necessary to find it
+ target.append_with_colon('PKG_CONFIG_PATH', '/usr/lib/ffmpeg4.4/pkgconfig')
target.command('./waf configure --prefix=%s %s' % (target.directory, configure_options(target, options, for_package)))
target.command('./waf')
target.command('./waf install')