mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-16 22:40:53 +08:00
ci: enable sixel
This commit is contained in:
@@ -378,7 +378,7 @@ jobs:
|
||||
if brew list openssl@1.1 &> /dev/null; then brew rm openssl@1.1; fi
|
||||
brew install -q autoconf automake curl pkgconf libtool python freetype fribidi little-cms2 \
|
||||
luajit libass ffmpeg-full meson rust uchardet mujs libplacebo molten-vk vulkan-loader vulkan-headers \
|
||||
libarchive libbluray libcaca libcdio-paranoia libdvdnav libdvdread rubberband vapoursynth zimg
|
||||
libarchive libbluray libcaca libcdio-paranoia libdvdnav libdvdread libsixel rubberband vapoursynth zimg
|
||||
brew link ffmpeg-full
|
||||
|
||||
- name: Build with meson
|
||||
@@ -514,6 +514,7 @@ jobs:
|
||||
lua5.2-dev \
|
||||
pulseaudio-dev \
|
||||
libplacebo-dev \
|
||||
libsixel-dev \
|
||||
libx11-dev \
|
||||
libxfixes-dev \
|
||||
libxkbcommon-dev \
|
||||
@@ -577,6 +578,7 @@ jobs:
|
||||
libdvdnav \
|
||||
libiconv \
|
||||
libplacebo \
|
||||
libsixel \
|
||||
libv4l \
|
||||
libxkbcommon \
|
||||
luajit \
|
||||
@@ -652,6 +654,7 @@ jobs:
|
||||
libdvdread \
|
||||
libdisplay-info \
|
||||
libplacebo \
|
||||
libsixel \
|
||||
libXinerama \
|
||||
libxkbcommon \
|
||||
libXpresent \
|
||||
|
||||
@@ -20,6 +20,7 @@ meson setup build $common_args \
|
||||
-Dlua=enabled \
|
||||
-Degl-drm=enabled \
|
||||
-Dopenal=enabled \
|
||||
-Dsixel=enabled \
|
||||
-Dsndio=enabled \
|
||||
-Dvapoursynth=enabled \
|
||||
-Dvdpau=enabled \
|
||||
|
||||
@@ -11,6 +11,7 @@ git clone https://code.videolan.org/videolan/libplacebo.git \
|
||||
meson setup build $common_args \
|
||||
-Dlibplacebo:vulkan=disabled \
|
||||
-Dlua=enabled \
|
||||
-Dsixel=enabled \
|
||||
-Dwayland=enabled
|
||||
meson compile -C build
|
||||
./build/mpv -v --no-config
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ meson setup build $common_args \
|
||||
-Dobjc_args="${objc_args}" \
|
||||
-Dc_args="${c_args}" \
|
||||
-D{caca,cdda,dvda,dvdnav,gl,iconv,lcms2,libarchive,libbluray,lua,jpeg}=enabled \
|
||||
-D{plain-gl,rubberband,vapoursynth,zimg,zlib}=enabled \
|
||||
-D{plain-gl,rubberband,sixel,vapoursynth,zimg,zlib}=enabled \
|
||||
-D{cocoa,coreaudio,gl-cocoa,videotoolbox-gl,videotoolbox-pl}=enabled \
|
||||
-D{swift-build,macos-cocoa-cb,macos-media-player,macos-touchbar,vulkan}=enabled \
|
||||
-Dswift-flags="${SWIFT_FLAGS}"
|
||||
|
||||
@@ -59,6 +59,16 @@ make TARGET_SYS=Windows PREFIX="$FFBUILD_PREFIX" HOST_CC="$HOST_CC" \
|
||||
popd
|
||||
endgroup
|
||||
|
||||
group "Building libsixel"
|
||||
$gitclone https://github.com/saitoha/libsixel.git
|
||||
pushd libsixel
|
||||
./configure --prefix="$FFBUILD_PREFIX" --host="$FFBUILD_TOOLCHAIN" --disable-shared \
|
||||
--disable-{img2sixel,sixel2png,python} --without-{jpeg,libcurl,png}
|
||||
make -j"$(nproc)"
|
||||
make install
|
||||
popd
|
||||
endgroup
|
||||
|
||||
group "Building subrandr"
|
||||
build_subrandr "$FFBUILD_PREFIX" --target "$FFBUILD_RUST_TARGET" \
|
||||
--static-library true --shared-library false
|
||||
@@ -101,8 +111,8 @@ mpv_args=(
|
||||
-Dmujs:werror=false
|
||||
-Dmujs:default_library=static
|
||||
-Dlua=luajit
|
||||
-D{amf,d3d11,javascript,lcms2,libbluray,libcurl,shaderc,spirv-cross}=enabled
|
||||
-D{subrandr,vapoursynth,vulkan,win32-smtc,zimg}=enabled
|
||||
-D{amf,d3d11,javascript,lcms2,libbluray,libcurl,shaderc,sixel}=enabled
|
||||
-D{spirv-cross,subrandr,vapoursynth,vulkan,win32-smtc,zimg}=enabled
|
||||
)
|
||||
if $gpl; then
|
||||
# Only the GPL image carries the dependencies of the GPL features.
|
||||
|
||||
@@ -14,6 +14,7 @@ meson setup build $common_args \
|
||||
-Dlua=enabled \
|
||||
-Dopenal=enabled \
|
||||
-Dpulse=enabled \
|
||||
-Dsixel=enabled \
|
||||
-Dvulkan=enabled \
|
||||
-Ddvdnav=enabled \
|
||||
-Dcdda=disabled
|
||||
|
||||
@@ -12,6 +12,7 @@ meson setup build $common_args $@ \
|
||||
-Dlibarchive=enabled \
|
||||
-Dmanpage-build=enabled \
|
||||
-Dpipewire=enabled \
|
||||
-Dsixel=enabled \
|
||||
-Dsubrandr=enabled \
|
||||
-Dvapoursynth=enabled \
|
||||
-Dvulkan=enabled
|
||||
|
||||
Reference in New Issue
Block a user