diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1d7414b..8247c6ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,9 @@ jobs: # - os: windows-latest # runtime: win-x64 # artifact: windows - # - os: macOS-latest - # runtime: osx-x64 - # artifact: macos + - os: macOS-latest + runtime: osx-x64 + artifact: macos steps: - uses: actions/checkout@v1 - name: Checkout submodules diff --git a/Kyoo/Controllers/Transcoder.cs b/Kyoo/Controllers/Transcoder.cs index 898f7ba4..54cb5bfc 100644 --- a/Kyoo/Controllers/Transcoder.cs +++ b/Kyoo/Controllers/Transcoder.cs @@ -17,7 +17,7 @@ namespace Kyoo.Controllers { private static class TranscoderAPI { - private const string TranscoderPath = "libtranscoder.so"; + private const string TranscoderPath = "transcoder"; [DllImport(TranscoderPath, CallingConvention = CallingConvention.Cdecl)] public static extern int init(); diff --git a/Kyoo/Kyoo.csproj b/Kyoo/Kyoo.csproj index a1cc093d..9e616584 100644 --- a/Kyoo/Kyoo.csproj +++ b/Kyoo/Kyoo.csproj @@ -111,7 +111,12 @@ - + + PreserveNewest + + + + PreserveNewest diff --git a/deployment/PKGBUILD.github b/deployment/PKGBUILD.github index f5f39eb8..9dc258a9 100644 --- a/deployment/PKGBUILD.github +++ b/deployment/PKGBUILD.github @@ -14,6 +14,7 @@ install="kyoo.install" # The output folder is needed but we can't use directory in the source array. source=() sha256sums=() +options=('staticlibs') build() { cp -a "$srcdir/../output" "$srcdir"