Compare commits
2 Commits
d3a482effe
...
cdd878fc7a
Author | SHA1 | Date |
---|---|---|
paring | cdd878fc7a | |
paring | 40e8b4c49c |
|
@ -1,4 +1,5 @@
|
|||
export FFBUILD_FLAGS="--enable-ffnvcodec --enable-dxva2 --enable-amf --enable-libmfx"
|
||||
export FFBUILD_PLATFORM="win"
|
||||
export MFX_HOST=i686-w64-mingw32
|
||||
|
||||
FFMPEG_OS=mingw32 OPENH264_ARCH=i686 OPENH264_OS=mingw_nt CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ AR=i686-w64-mingw32-gcc-ar bash build.sh --arch i686
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
From 38977f2aae092fd155a15d24318efb1532d5321b Mon Sep 17 00:00:00 2001
|
||||
From: paring <paring@pikokr.dev>
|
||||
Date: Mon, 22 May 2023 15:20:08 +0900
|
||||
Subject: [PATCH] fix: version
|
||||
|
||||
---
|
||||
libmfx.pc.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libmfx.pc.cmake b/libmfx.pc.cmake
|
||||
index 1a22c98..5730b72 100644
|
||||
--- a/libmfx.pc.cmake
|
||||
+++ b/libmfx.pc.cmake
|
||||
@@ -5,7 +5,7 @@ includedir=${prefix}/include
|
||||
|
||||
Name: libmfx
|
||||
Description: Intel Media SDK Dispatched static library
|
||||
-Version: 2013
|
||||
+Version: 1.35.1
|
||||
Requires:
|
||||
Requires.private:
|
||||
Conflicts:
|
||||
--
|
||||
2.40.0
|
||||
|
|
@ -9,8 +9,6 @@ git clone https://github.com/GPUOpen-LibrariesAndSDKs/AMF -b v1.4.29 $amfPath --
|
|||
|
||||
cd $ffmpegPath
|
||||
|
||||
git am ../../patches/ffmpeg/*
|
||||
|
||||
cp -r $amfPath/amf/public/include $PREFIX/include/AMF
|
||||
|
||||
make distclean
|
||||
|
|
|
@ -12,8 +12,6 @@ git remote add origin https://github.com/lu-zero/mfx_dispatch
|
|||
git fetch --depth 1 origin "5a3f178be7f406cec920b9f52f46c1ae29f29bb2"
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
git am ../../patches/mfx/*
|
||||
|
||||
export CFLAGS="$CFLAGS -static-libgcc -static-libstdc++ -static"
|
||||
export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++ -static"
|
||||
export LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
|
||||
|
|
Loading…
Reference in New Issue