diff options
Diffstat (limited to 'video')
-rwxr-xr-x | video/guvcview/DETAILS | 4 | ||||
-rw-r--r-- | video/guvcview/HISTORY | 5 | ||||
-rwxr-xr-x | video/guvcview/PRE_BUILD | 3 | ||||
-rw-r--r-- | video/guvcview/patches/0001-fix-building-with-musl-libc.patch | 120 | ||||
-rwxr-xr-x | video/pipewire/DETAILS | 4 | ||||
-rw-r--r-- | video/pipewire/HISTORY | 3 | ||||
-rwxr-xr-x | video/vlc/DETAILS | 2 | ||||
-rw-r--r-- | video/vlc/HISTORY | 3 |
8 files changed, 138 insertions, 6 deletions
diff --git a/video/guvcview/DETAILS b/video/guvcview/DETAILS index 10f64d83db..b8fe03a5ab 100755 --- a/video/guvcview/DETAILS +++ b/video/guvcview/DETAILS @@ -1,8 +1,8 @@ SPELL=guvcview - VERSION=2.0.2 + VERSION=2.0.6 SOURCE=${SPELL}-src-${VERSION}.tar.gz SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE - SOURCE_HASH=sha512:927b3b49ec55acc633384b6b59605943750b3b9248f69bcba83382f189ae26e4e38922f2f42444ee8678c157fade8d366808a46f85143139bbe3a603f4985cdb + SOURCE_HASH=sha512:f73ba0a013f5afadb45c9bf60f723058ee31e99e204c951c49335a8ef9902a2caa752d6d51f6dd20ae960217cc25155e70efe4c49299a95e6780aaf8034078ec SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-src-${VERSION}" WEB_SITE=http://guvcview.sourceforge.net/ LICENSE[0]=GPL diff --git a/video/guvcview/HISTORY b/video/guvcview/HISTORY index 4ddc26de64..0573cf477e 100644 --- a/video/guvcview/HISTORY +++ b/video/guvcview/HISTORY @@ -1,3 +1,8 @@ +2021-07-31 Ismael Luceno <ismael@sourcemage.org> + * DETAILS, PRE_BUILD: updated spell to 2.0.6 + * PRE_BUILD, patches/0001-fix-building-with-musl-libc.patch: + Fixed build against musl + 2019-05-18 Ismael Luceno <ismael@sourcemage.org> * DEPENDS: Update dependency; s/gettext/GETTEXT/ diff --git a/video/guvcview/PRE_BUILD b/video/guvcview/PRE_BUILD index 1fcd450169..e00df851ae 100755 --- a/video/guvcview/PRE_BUILD +++ b/video/guvcview/PRE_BUILD @@ -1,8 +1,9 @@ default_pre_build && cd "$SOURCE_DIRECTORY" && +apply_patch_dir patches && if [[ ! -f "$INSTALL_ROOT/usr/include/linux/uvcvideo.h" ]]; then patch -p1 < "$SPELL_DIRECTORY/linux-2.patch" fi && -sed -i -e '29i#include <locale.h>' guvcview/options.c +sed -i -e '31i#include <locale.h>' guvcview/guvcview.c diff --git a/video/guvcview/patches/0001-fix-building-with-musl-libc.patch b/video/guvcview/patches/0001-fix-building-with-musl-libc.patch new file mode 100644 index 0000000000..654f992b5d --- /dev/null +++ b/video/guvcview/patches/0001-fix-building-with-musl-libc.patch @@ -0,0 +1,120 @@ +From 3112f9654e9f21ce5d3ab23a3a1e7c6dfdce45c6 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Mon, 25 May 2015 11:33:46 +0000 +Subject: [PATCH] fix building with musl libc + +The __BEGIN_DECLS and __END_DECLS are internal identifiers which are not +defined in any standard. The use of those makes compile fail with musl +libc so we avoid using them +--- + gview_audio/gviewaudio.h | 9 +++++++-- + gview_encoder/gviewencoder.h | 8 ++++++-- + gview_render/gviewrender.h | 8 ++++++-- + gview_v4l2core/gviewv4l2core.h | 8 ++++++-- + 4 files changed, 25 insertions(+), 8 deletions(-) + +diff --git a/gview_audio/gviewaudio.h b/gview_audio/gviewaudio.h +index 0cc6f70..5cae68b 100644 +--- a/gview_audio/gviewaudio.h ++++ b/gview_audio/gviewaudio.h +@@ -38,7 +38,9 @@ + #include <sys/types.h> + + /*make sure we support c++*/ +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /*Audio API*/ + #define AUDIO_NONE (0) +@@ -263,6 +265,9 @@ int audio_stop(audio_context_t *audio_ctx); + */ + void audio_close(audio_context_t *audio_ctx); + +-__END_DECLS ++ ++#ifdef __cplusplus ++} ++#endif + + #endif +diff --git a/gview_encoder/gviewencoder.h b/gview_encoder/gviewencoder.h +index 2bc3586..aeff883 100644 +--- a/gview_encoder/gviewencoder.h ++++ b/gview_encoder/gviewencoder.h +@@ -38,7 +38,9 @@ + #include <sys/types.h> + + /*make sure we support c++*/ +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /*encoder modes*/ + #define ENCODER_MODE_NONE (0) +@@ -732,6 +734,8 @@ int encoder_write_audio_data(encoder_context_t *encoder_ctx); + */ + int encoder_disk_supervisor(int treshold, const char *path); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif +diff --git a/gview_render/gviewrender.h b/gview_render/gviewrender.h +index e6cedfa..73c3b2c 100644 +--- a/gview_render/gviewrender.h ++++ b/gview_render/gviewrender.h +@@ -38,7 +38,9 @@ + #include <sys/types.h> + + /*make sure we support c++*/ +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + #define RENDER_NONE (0) + #define RENDER_SDL (1) +@@ -279,6 +281,8 @@ void render_clean_fx(); + */ + void render_close(); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif +diff --git a/gview_v4l2core/gviewv4l2core.h b/gview_v4l2core/gviewv4l2core.h +index e9d5d53..35f075f 100644 +--- a/gview_v4l2core/gviewv4l2core.h ++++ b/gview_v4l2core/gviewv4l2core.h +@@ -33,7 +33,9 @@ + #include <sys/types.h> + + /*make sure we support c++*/ +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif + + /* + * LOGITECH Dynamic controls defs +@@ -1386,7 +1388,9 @@ int v4l2core_save_image(v4l2_frame_buff_t *frame, const char *filename, int form + */ + uint64_t v4l2core_time_get_timestamp(); + +-__END_DECLS ++#ifdef __cplusplus ++} ++#endif + + #endif + +-- +2.4.1 + diff --git a/video/pipewire/DETAILS b/video/pipewire/DETAILS index 9d1fe8cb2f..ca51b42bd1 100755 --- a/video/pipewire/DETAILS +++ b/video/pipewire/DETAILS @@ -1,7 +1,7 @@ source $GRIMOIRE/MESON_FUNCTIONS SPELL=pipewire - VERSION=0.3.31 - SOURCE_HASH=sha512:ff21e281bb3e5f6da1001e0c64b33368e96d31f0ec2d395cdfcfac105b0442d8fedd2225e6e5d1c93fdbd5e0108accecebbb7c294c55803a4ea853f1efa0c069 + VERSION=0.3.32 + SOURCE_HASH=sha512:8a7fe26a78071fdd8d4c9e2d9bf3791af8e0cb53b976b45d39dcab4ad08196808f416911fb1b366cc85e3fa80592ec79c4e4556bb3a390f4a10229b4bf9893f7 SOURCE=$SPELL-$VERSION.tar.gz SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION WEB_SITE=https://pipewire.org diff --git a/video/pipewire/HISTORY b/video/pipewire/HISTORY index 263a77b470..c4b3401917 100644 --- a/video/pipewire/HISTORY +++ b/video/pipewire/HISTORY @@ -1,3 +1,6 @@ +2021-07-21 Treeve Jelbert <treeve@sourcemage.org> + * DETAILS: version 0.3.32 + 2021-06-29 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 0.3.31 diff --git a/video/vlc/DETAILS b/video/vlc/DETAILS index 1f152974d0..f8d92cff44 100755 --- a/video/vlc/DETAILS +++ b/video/vlc/DETAILS @@ -1,5 +1,5 @@ SPELL=vlc - VERSION=3.0.14 + VERSION=3.0.16 SOURCE=$SPELL-$VERSION.tar.xz SOURCE_HASH=sha512: # SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME" diff --git a/video/vlc/HISTORY b/video/vlc/HISTORY index abb6295554..e1243252f9 100644 --- a/video/vlc/HISTORY +++ b/video/vlc/HISTORY @@ -1,3 +1,6 @@ +2021-07-14 Treeve Jelbert <treeve@sourcemage.org> + * DETAILS: version 3.0.16 + 2021-05-14 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 3.0.14 |