From 59b0cd8fc08ef6ffb41b9c38da483a8f4779c341 Mon Sep 17 00:00:00 2001 From: Hadrien Patte Date: Wed, 25 Dec 2024 20:00:06 +0100 Subject: [PATCH] feat(24.04): Add SDF for `libavcodec60` and dependencies --- slices/libavcodec60.yaml | 52 +++++++++++++++++++++++++++++++++++ slices/libavutil58.yaml | 25 +++++++++++++++++ slices/libcairo-gobject2.yaml | 16 +++++++++++ slices/libhwy1t64.yaml | 19 +++++++++++++ slices/libjxl0.7.yaml | 21 ++++++++++++++ slices/librsvg2-2.yaml | 23 ++++++++++++++++ slices/libsoxr0.yaml | 16 +++++++++++ slices/libswresample4.yaml | 17 ++++++++++++ slices/libva-x11-2.yaml | 23 ++++++++++++++++ slices/libvdpau1.yaml | 24 ++++++++++++++++ slices/libvpl2.yaml | 21 ++++++++++++++ slices/libxfixes3.yaml | 16 +++++++++++ 12 files changed, 273 insertions(+) create mode 100644 slices/libavcodec60.yaml create mode 100644 slices/libavutil58.yaml create mode 100644 slices/libcairo-gobject2.yaml create mode 100644 slices/libhwy1t64.yaml create mode 100644 slices/libjxl0.7.yaml create mode 100644 slices/librsvg2-2.yaml create mode 100644 slices/libsoxr0.yaml create mode 100644 slices/libswresample4.yaml create mode 100644 slices/libva-x11-2.yaml create mode 100644 slices/libvdpau1.yaml create mode 100644 slices/libvpl2.yaml create mode 100644 slices/libxfixes3.yaml diff --git a/slices/libavcodec60.yaml b/slices/libavcodec60.yaml new file mode 100644 index 00000000..b2af5156 --- /dev/null +++ b/slices/libavcodec60.yaml @@ -0,0 +1,52 @@ +package: libavcodec60 + +essential: + - libavcodec60_copyright + +slices: + libs: + essential: + - libaom3_libs + - libavutil58_libs + - libc6_libs + - libcairo2_libs + - libcodec2-1.2_libs + - libdav1d7_libs + - libglib2.0-0t64_libs + - libgsm1_libs + - libjxl0.7_libs + - liblzma5_libs + - libmp3lame0_libs + - libopenjp2-7_libs + - libopus0_libs + # The librav1e0_libs dependency is currently ommited, it can be added again + # once chisel supports per-arch package dependencies, + # see https://github.com/canonical/chisel/issues/93 + - librsvg2-2_libs + - libshine3_libs + - libsnappy1v5_libs + - libspeex1_libs + - libsvtav1enc1d1_libs + - libswresample4_libs + - libtheora0_libs + - libtwolame0_libs + - libva2_libs + - libvorbis0a_libs + - libvorbisenc2_libs + # The libvpl2_libs dependency is currently ommited, it can be added again + # once chisel supports per-arch package dependencies, + # see https://github.com/canonical/chisel/issues/93 + - libvpx9_libs + - libwebp7_libs + - libwebpmux3_libs + - libx264-164_libs + - libx265-199_libs + - libxvidcore4_libs + - libzvbi0t64_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libavcodec.so.60*: + + copyright: + contents: + /usr/share/doc/libavcodec60/copyright: diff --git a/slices/libavutil58.yaml b/slices/libavutil58.yaml new file mode 100644 index 00000000..0ea381d3 --- /dev/null +++ b/slices/libavutil58.yaml @@ -0,0 +1,25 @@ +package: libavutil58 + +essential: + - libavutil58_copyright + +slices: + libs: + essential: + - libc6_libs + - libdrm2_libs + - libva-drm2_libs + - libva-x11-2_libs + - libva2_libs + - libvdpau1_libs + # The libvpl2_libs dependency is currently ommited, it can be added again + # once chisel supports per-arch package dependencies, + # see https://github.com/canonical/chisel/issues/93 + - libx11-6_libs + - ocl-icd-libopencl1_libs + contents: + /usr/lib/*-linux-*/libavutil.so.58*: + + copyright: + contents: + /usr/share/doc/libavutil58/copyright: diff --git a/slices/libcairo-gobject2.yaml b/slices/libcairo-gobject2.yaml new file mode 100644 index 00000000..47f4ea36 --- /dev/null +++ b/slices/libcairo-gobject2.yaml @@ -0,0 +1,16 @@ +package: libcairo-gobject2 + +essential: + - libcairo-gobject2_copyright + +slices: + libs: + essential: + - libcairo2_libs + - libglib2.0-0t64_libs + contents: + /usr/lib/*-linux-*/libcairo-gobject.so.2*: + + copyright: + contents: + /usr/share/doc/libcairo-gobject2/copyright: diff --git a/slices/libhwy1t64.yaml b/slices/libhwy1t64.yaml new file mode 100644 index 00000000..91aec345 --- /dev/null +++ b/slices/libhwy1t64.yaml @@ -0,0 +1,19 @@ +package: libhwy1t64 + +essential: + - libhwy1t64_copyright + +slices: + libs: + essential: + - libc6_libs + - libgcc-s1_libs + - libstdc++6_libs + contents: + /usr/lib/*-linux-*/libhwy.so.1*: + /usr/lib/*-linux-*/libhwy_contrib.so.1*: + /usr/lib/*-linux-*/libhwy_test.so.1*: + + copyright: + contents: + /usr/share/doc/libhwy1t64/copyright: diff --git a/slices/libjxl0.7.yaml b/slices/libjxl0.7.yaml new file mode 100644 index 00000000..de408875 --- /dev/null +++ b/slices/libjxl0.7.yaml @@ -0,0 +1,21 @@ +package: libjxl0.7 + +essential: + - libjxl0.7_copyright + +slices: + libs: + essential: + - libbrotli1_libs + - libc6_libs + - libgcc-s1_libs + - libhwy1t64_libs + - liblcms2-2_libs + - libstdc++6_libs + contents: + /usr/lib/*-linux-*/libjxl.so.0.7*: + /usr/lib/*-linux-*/libjxl_threads.so.0.7*: + + copyright: + contents: + /usr/share/doc/libjxl0.7/copyright: diff --git a/slices/librsvg2-2.yaml b/slices/librsvg2-2.yaml new file mode 100644 index 00000000..4e26aa70 --- /dev/null +++ b/slices/librsvg2-2.yaml @@ -0,0 +1,23 @@ +package: librsvg2-2 + +essential: + - librsvg2-2_copyright + +slices: + libs: + essential: + - libc6_libs + - libcairo-gobject2_libs + - libcairo2_libs + - libgcc-s1_libs + - libgdk-pixbuf-2.0-0_libs + - libglib2.0-0t64_libs + - libpango-1.0-0_libs + - libpangocairo-1.0-0_libs + - libxml2_libs + contents: + /usr/lib/*-linux-*/librsvg-2.so.2*: + + copyright: + contents: + /usr/share/doc/librsvg2-2/copyright: diff --git a/slices/libsoxr0.yaml b/slices/libsoxr0.yaml new file mode 100644 index 00000000..83d3011d --- /dev/null +++ b/slices/libsoxr0.yaml @@ -0,0 +1,16 @@ +package: libsoxr0 + +essential: + - libsoxr0_copyright + +slices: + libs: + essential: + - libc6_libs + - libgomp1_libs + contents: + /usr/lib/*-linux-*/libsoxr.so.0*: + + copyright: + contents: + /usr/share/doc/libsoxr0/copyright: diff --git a/slices/libswresample4.yaml b/slices/libswresample4.yaml new file mode 100644 index 00000000..4ee69db5 --- /dev/null +++ b/slices/libswresample4.yaml @@ -0,0 +1,17 @@ +package: libswresample4 + +essential: + - libswresample4_copyright + +slices: + libs: + essential: + - libavutil58_libs + - libc6_libs + - libsoxr0_libs + contents: + /usr/lib/*-linux-*/libswresample.so.4*: + + copyright: + contents: + /usr/share/doc/libswresample4/copyright: diff --git a/slices/libva-x11-2.yaml b/slices/libva-x11-2.yaml new file mode 100644 index 00000000..eb10f88f --- /dev/null +++ b/slices/libva-x11-2.yaml @@ -0,0 +1,23 @@ +package: libva-x11-2 + +essential: + - libva-x11-2_copyright + +slices: + libs: + essential: + - libc6_libs + - libdrm2_libs + - libva2_libs + - libx11-6_libs + - libx11-xcb1_libs + - libxcb-dri3-0_libs + - libxcb1_libs + - libxext6_libs + - libxfixes3_libs + contents: + /usr/lib/*-linux-*/libva-x11.so.2*: + + copyright: + contents: + /usr/share/doc/libva-x11-2/copyright: diff --git a/slices/libvdpau1.yaml b/slices/libvdpau1.yaml new file mode 100644 index 00000000..a9f0c92d --- /dev/null +++ b/slices/libvdpau1.yaml @@ -0,0 +1,24 @@ +package: libvdpau1 + +essential: + - libvdpau1_copyright + +slices: + libs: + essential: + - libc6_libs + - libgcc-s1_libs # armhf only + - libvdpau1_config + - libx11-6_libs + - libxext6_libs + contents: + /usr/lib/*-linux-*/libvdpau.so.1*: + /usr/lib/*-linux-*/vdpau/libvdpau_trace.so.1*: + + config: + contents: + /etc/vdpau_wrapper.cfg: + + copyright: + contents: + /usr/share/doc/libvdpau1/copyright: diff --git a/slices/libvpl2.yaml b/slices/libvpl2.yaml new file mode 100644 index 00000000..1a866914 --- /dev/null +++ b/slices/libvpl2.yaml @@ -0,0 +1,21 @@ +package: libvpl2 + +essential: + - libvpl2_copyright + +slices: + libs: + essential: + - libc6_libs + - libdrm-intel1_libs + - libdrm2_libs + - libgcc-s1_libs + - libstdc++6_libs + - libwayland-client0_libs + contents: + /usr/lib/*-linux-*/libvpl.so.2*: + /usr/lib/*-linux-*/vpl/libvpl_wayland.so: + + copyright: + contents: + /usr/share/doc/libvpl2/copyright: diff --git a/slices/libxfixes3.yaml b/slices/libxfixes3.yaml new file mode 100644 index 00000000..7a6cf523 --- /dev/null +++ b/slices/libxfixes3.yaml @@ -0,0 +1,16 @@ +package: libxfixes3 + +essential: + - libxfixes3_copyright + +slices: + libs: + essential: + - libc6_libs + - libx11-6_libs + contents: + /usr/lib/*-linux-*/libXfixes.so.3*: + + copyright: + contents: + /usr/share/doc/libxfixes3/copyright: