mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Merge branches 'bugfixes', 'workarounds' and 'bestsource' into feature
This commit is contained in:
commit
74ed5a6917
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -116,7 +116,7 @@ jobs:
|
||||
- name: Setup Meson
|
||||
run: |
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install meson==1.4.2
|
||||
pip install meson
|
||||
|
||||
- name: Setup MSVC
|
||||
if: matrix.config.os == 'windows-latest' && matrix.config.msvc == true
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -46,4 +46,4 @@ subprojects/dirent-*
|
||||
subprojects/hunspell-*
|
||||
subprojects/uchardet-*
|
||||
subprojects/vapoursynth
|
||||
subprojects/xxhash
|
||||
subprojects/xxHash-*
|
||||
|
@ -40,7 +40,7 @@ namespace {
|
||||
class BSAudioProvider final : public agi::AudioProvider {
|
||||
std::map<std::string, std::string> bsopts;
|
||||
std::unique_ptr<BestAudioSource> bs;
|
||||
AudioProperties properties;
|
||||
BSAudioProperties properties;
|
||||
|
||||
void FillBuffer(void *Buf, int64_t Start, int64_t Count) const override;
|
||||
public:
|
||||
|
@ -55,7 +55,7 @@ class BSVideoProvider final : public VideoProvider {
|
||||
bool apply_rff;
|
||||
|
||||
std::unique_ptr<BestVideoSource> bs;
|
||||
VideoProperties properties;
|
||||
BSVideoProperties properties;
|
||||
|
||||
std::vector<int> Keyframes;
|
||||
agi::vfr::Framerate Timecodes;
|
||||
|
@ -1,7 +1,8 @@
|
||||
[wrap-git]
|
||||
url = https://github.com/vapoursynth/bestsource
|
||||
revision = R4
|
||||
revision = R8
|
||||
clone-recursive = true
|
||||
diff_files = bestsource/0001.patch
|
||||
|
||||
[provide]
|
||||
bestsource = bestsource_dep
|
||||
|
@ -2,7 +2,6 @@
|
||||
directory = dav1d
|
||||
url = https://github.com/videolan/dav1d.git
|
||||
revision = head
|
||||
diff_files = dav1d/0001.patch
|
||||
|
||||
[provide]
|
||||
dav1d = dav1d_dep
|
||||
|
15
subprojects/packagefiles/bestsource/0001.patch
Normal file
15
subprojects/packagefiles/bestsource/0001.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 6017b15..de1fbc5 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -2,10 +2,6 @@ project('BestSource', 'cpp',
|
||||
default_options: ['buildtype=release', 'b_ndebug=if-release', 'cpp_std=c++17'],
|
||||
license: 'MIT',
|
||||
meson_version: '>=0.53.0',
|
||||
- version: '.'.join([
|
||||
- run_command('grep', 'BEST_SOURCE_VERSION_MAJOR', 'src/version.h', check: true).stdout().strip().split()[2],
|
||||
- run_command('grep', 'BEST_SOURCE_VERSION_MINOR', 'src/version.h', check: true).stdout().strip().split()[2],
|
||||
- ])
|
||||
)
|
||||
|
||||
api_sources = files(
|
@ -1,39 +0,0 @@
|
||||
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
|
||||
index e8f0705..ff48ea0 100644
|
||||
--- a/include/dav1d/dav1d.h
|
||||
+++ b/include/dav1d/dav1d.h
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "common.h"
|
||||
#include "picture.h"
|
||||
#include "data.h"
|
||||
-#include "version.h"
|
||||
+#include "dav1d_version.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
diff --git a/include/dav1d/meson.build b/include/dav1d/meson.build
|
||||
index 68faaf9..09b0239 100644
|
||||
--- a/include/dav1d/meson.build
|
||||
+++ b/include/dav1d/meson.build
|
||||
@@ -28,7 +28,7 @@ version_h_data.set('DAV1D_API_VERSION_MAJOR', dav1d_api_version_major)
|
||||
version_h_data.set('DAV1D_API_VERSION_MINOR', dav1d_api_version_minor)
|
||||
version_h_data.set('DAV1D_API_VERSION_PATCH', dav1d_api_version_revision)
|
||||
version_h_target = configure_file(input: 'version.h.in',
|
||||
- output: 'version.h',
|
||||
+ output: 'dav1d_version.h',
|
||||
configuration: version_h_data)
|
||||
|
||||
dav1d_api_headers = [
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 3a34e76..53ef660 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -335,7 +335,7 @@ libdav1d = library('dav1d',
|
||||
)
|
||||
|
||||
dav1d_dep = declare_dependency(link_with: libdav1d,
|
||||
- include_directories : include_directories('../include/dav1d')
|
||||
+ include_directories : include_directories('../include/', '../include/dav1d/')
|
||||
)
|
||||
|
||||
#
|
Loading…
x
Reference in New Issue
Block a user