diff options
| author | Shokara Kou <kou@13f0.net> | 2022-06-06 21:27:26 -0400 |
|---|---|---|
| committer | Shokara Kou <kou@13f0.net> | 2022-06-06 21:27:26 -0400 |
| commit | ddb6da8b8aa31f3162c3d925f7412fe58a980acd (patch) | |
| tree | 8dfee090e83fc32c97a508cdba40384865e0ca7c /www/chromium-uc/patches/patch-media_base_media_switches_h | |
| parent | e4fc568ec5f38ccaa75b0c148ef0395cc62db04d (diff) | |
add leo larnack's ungoogled-flavoured chromium port
Unlike my previous failed attempt at doing the same, this should
actually work.
Source:
https://marc.info/?l=openbsd-ports&m=164135083101196&w=2
https://pseven.xyz/pub/chromium-uc.tar.gz
Diffstat (limited to 'www/chromium-uc/patches/patch-media_base_media_switches_h')
| -rw-r--r-- | www/chromium-uc/patches/patch-media_base_media_switches_h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-media_base_media_switches_h b/www/chromium-uc/patches/patch-media_base_media_switches_h new file mode 100644 index 0000000..04a3b85 --- /dev/null +++ b/www/chromium-uc/patches/patch-media_base_media_switches_h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | $OpenBSD: patch-media_base_media_switches_h,v 1.10 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: media/base/media_switches.h | ||
| 4 | --- media/base/media_switches.h.orig | ||
| 5 | +++ media/base/media_switches.h | ||
| 6 | @@ -38,7 +38,7 @@ MEDIA_EXPORT extern const char kDisableBackgroundMedia | ||
| 7 | MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; | ||
| 8 | |||
| 9 | #if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_FREEBSD) || \ | ||
| 10 | - defined(OS_SOLARIS) | ||
| 11 | + defined(OS_SOLARIS) || defined(OS_BSD) | ||
| 12 | MEDIA_EXPORT extern const char kAlsaInputDevice[]; | ||
| 13 | MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | ||
| 14 | #endif | ||
| 15 | @@ -193,7 +193,7 @@ MEDIA_EXPORT extern const base::Feature kUseFakeDevice | ||
| 16 | MEDIA_EXPORT extern const base::Feature kUseMediaHistoryStore; | ||
| 17 | MEDIA_EXPORT extern const base::Feature kUseR16Texture; | ||
| 18 | MEDIA_EXPORT extern const base::Feature kUseSodaForLiveCaption; | ||
| 19 | -#if defined(OS_LINUX) | ||
| 20 | +#if defined(OS_LINUX) || defined(OS_BSD) | ||
| 21 | MEDIA_EXPORT extern const base::Feature kVaapiVideoDecodeLinux; | ||
| 22 | MEDIA_EXPORT extern const base::Feature kVaapiVideoEncodeLinux; | ||
| 23 | #endif // defined(OS_LINUX) | ||
