summaryrefslogtreecommitdiff
diff options
authorNathan Pratta Teodosio <nathan.teodosio@canonical.com>2024-06-28 13:56:09 +0200
committerNathan Pratta Teodosio <nathan.teodosio@canonical.com>2024-07-01 10:18:26 +0200
commit3fede989d18f3ebff6aa93328434ee23c2eb08ea (patch)
tree7848902435730da2344bfecfcd869e85ca86c372
parentac92b0fa5b4be204106741c53c0e463f280c04f1 (diff)
/c
-rwxr-xr-xchromium-ffmpeg-test.sh2
-rw-r--r--snapcraft.yaml5
2 files changed, 2 insertions, 5 deletions
diff --git a/chromium-ffmpeg-test.sh b/chromium-ffmpeg-test.sh
index 84d81fb..b29fe5a 100755
--- a/chromium-ffmpeg-test.sh
+++ b/chromium-ffmpeg-test.sh
@@ -4,7 +4,7 @@ set -eux
VERSIONS="115016 115541 116569"
for V in $VERSIONS; do
- LIBFFMPEGSO=$SNAP/chromium-ffmpeg-$V/chromium-ffmpeg/libffmpeg.so
+ LIBFFMPEGSO=$SNAP/c/chromium-ffmpeg/$V/libffmpeg.so
[[ -f $LIBFFMPEGSO ]]
VERSION=$(grep -aom1 'FFmpeg version N-[0-9]\+-' $LIBFFMPEGSO | cut -f2 -d-)
[[ "$V" == "$VERSION" ]]
diff --git a/snapcraft.yaml b/snapcraft.yaml
index e5298f7..d97832d 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -18,7 +18,7 @@ base: core22
plugs:
chromium-ffmpeg:
interface: content
- target: $SNAP/
+ target: $SNAP/c
default-provider: chromium-ffmpeg
apps:
@@ -32,6 +32,3 @@ parts:
override-prime: |
set -eux
cp $SNAPCRAFT_PART_SRC/chromium-ffmpeg-test.sh ./
- mkdir -p chromium-ffmpeg-115016
- mkdir -p chromium-ffmpeg-115541
- mkdir -p chromium-ffmpeg-116569