Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Tue, 1 May 2018 22:27:21 +0200
|
||||
Subject: [PATCH] Disable building of statically linked vlc binary
|
||||
|
||||
[Bernd: rebased for 3.0.23]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
bin/Makefile.am | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 5846e6d701..c72ceddaf2 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -106,7 +106,7 @@ libvlc: libvlccore
|
||||
cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la
|
||||
|
||||
core: libvlc vlc$(EXEEXT)
|
||||
- cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT) vlc-static$(EXEEXT)
|
||||
+ cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT)
|
||||
|
||||
doc:
|
||||
cd doc && $(MAKE) $(AM_MAKEFLAGS) doc
|
||||
diff --git a/bin/Makefile.am b/bin/Makefile.am
|
||||
index 4de299d394..2ba28ad806 100644
|
||||
--- a/bin/Makefile.am
|
||||
+++ b/bin/Makefile.am
|
||||
@@ -6,7 +6,7 @@ bin_PROGRAMS = vlc-osx
|
||||
noinst_PROGRAMS = vlc-osx-static
|
||||
else
|
||||
bin_PROGRAMS = vlc
|
||||
-noinst_PROGRAMS = vlc-static
|
||||
+noinst_PROGRAMS =
|
||||
endif
|
||||
endif
|
||||
EXTRA_DIST = vlc_win32_rc.rc.in
|
||||
--
|
||||
2.47.3
|
||||
|
||||
32
package/vlc/0002-automake-add-subdir-objects-option.patch
Normal file
32
package/vlc/0002-automake-add-subdir-objects-option.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
From 54e7e0bda02099ae9d1c42abed1932ffa8d354e8 Mon Sep 17 00:00:00 2001
|
||||
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
|
||||
Date: Tue, 1 May 2018 22:28:52 +0200
|
||||
Subject: [PATCH] automake: add subdir-objects option
|
||||
|
||||
Our version of automake warns if this option is enabled and source files
|
||||
in subdirectories are used.
|
||||
|
||||
It doesn't really seems to have a noticable effect on the build, but it
|
||||
does remove a lot of annoying warnings.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 206690b468..dfb4c1c329 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -24,7 +24,7 @@ AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
AC_PRESERVE_HELP_ORDER
|
||||
|
||||
-AM_INIT_AUTOMAKE(tar-ustar color-tests foreign)
|
||||
+AM_INIT_AUTOMAKE(tar-ustar color-tests foreign subdir-objects)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AM_SILENT_RULES([yes])
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 16 Oct 2018 14:25:20 +0200
|
||||
Subject: [PATCH] build: use pkg-config to get tremor libs
|
||||
|
||||
Use PKG_ENABLE_MODULES_VLC to enable tremor based on availability of
|
||||
ogg and vorbisidec
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Bernd: rebased for 3.0.23]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
configure.ac | 9 +--------
|
||||
modules/codec/Makefile.am | 2 +-
|
||||
2 files changed, 2 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 49fc9dbb27..9d5d532133 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2862,14 +2862,7 @@ PKG_ENABLE_MODULES_VLC([VORBIS], [], [ogg vorbis >= 1.1 vorbisenc >= 1.1], [Vorb
|
||||
dnl
|
||||
dnl Tremor plugin
|
||||
dnl
|
||||
-AC_ARG_ENABLE(tremor,
|
||||
- [ --enable-tremor Tremor decoder support (default disabled)])
|
||||
-if test "${enable_tremor}" = "yes"
|
||||
-then
|
||||
- AC_CHECK_HEADERS(tremor/ivorbiscodec.h, [
|
||||
- VLC_ADD_PLUGIN([tremor])
|
||||
- ],[])
|
||||
-fi
|
||||
+PKG_ENABLE_MODULES_VLC([TREMOR], [], [vorbisidec ogg], [Tremor decoder support], [disabled])
|
||||
|
||||
dnl
|
||||
dnl Speex plugins
|
||||
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
|
||||
index dd04391c1b..bdbd94880e 100644
|
||||
--- a/modules/codec/Makefile.am
|
||||
+++ b/modules/codec/Makefile.am
|
||||
@@ -324,7 +324,7 @@ codec_LTLIBRARIES += $(LTLIBdaala)
|
||||
libtremor_plugin_la_SOURCES = codec/vorbis.c
|
||||
libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
|
||||
libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
|
||||
-libtremor_plugin_la_LIBADD = -lvorbisdec -logg
|
||||
+libtremor_plugin_la_LIBADD = $(TREMOR_LIBS)
|
||||
EXTRA_LTLIBRARIES += libtremor_plugin.la
|
||||
codec_LTLIBRARIES += $(LTLIBtremor)
|
||||
|
||||
--
|
||||
2.47.3
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Sat, 2 Apr 2016 16:49:54 +0200
|
||||
Subject: [PATCH] Fix build error using uClibc by adding sys/types.h
|
||||
|
||||
Fixes
|
||||
|
||||
CC core.lo
|
||||
In file included from libvlc_internal.h:35:0,
|
||||
from core.c:28:
|
||||
../include/vlc/libvlc_media.h:313:18: error: expected declaration specifiers or '...' before '*' token
|
||||
typedef ssize_t (*libvlc_media_read_cb)(void *opaque, unsigned char *buf,
|
||||
^
|
||||
../include/vlc/libvlc_media.h:423:36: error: unknown type name 'libvlc_media_read_cb'
|
||||
libvlc_media_read_cb read_cb,
|
||||
^
|
||||
Bug was reported to trac:
|
||||
https://trac.videolan.org/vlc/ticket/16768
|
||||
|
||||
This patch was suggested by courmisch in the trac ticket.
|
||||
|
||||
Upstream: https://mailman.videolan.org/pipermail/vlc-devel/2016-April/106952.html
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
include/vlc/libvlc_media.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
|
||||
index 01950493e9..9b84aa4835 100644
|
||||
--- a/include/vlc/libvlc_media.h
|
||||
+++ b/include/vlc/libvlc_media.h
|
||||
@@ -26,6 +26,8 @@
|
||||
#ifndef VLC_LIBVLC_MEDIA_H
|
||||
#define VLC_LIBVLC_MEDIA_H 1
|
||||
|
||||
+#include <sys/types.h> /* for ssize_t */
|
||||
+
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
# endif
|
||||
--
|
||||
2.47.3
|
||||
|
||||
58
package/vlc/0005-Don-t-assume-strerror_l-is-available.patch
Normal file
58
package/vlc/0005-Don-t-assume-strerror_l-is-available.patch
Normal file
@@ -0,0 +1,58 @@
|
||||
From 0435cf37308652af1cf244b6429e919fa7ffaa95 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Tue, 1 May 2018 22:31:23 +0200
|
||||
Subject: [PATCH] Don't assume strerror_l() is available
|
||||
|
||||
Fix compile error
|
||||
|
||||
CCLD vlc
|
||||
/home/br/br3/output/build/vlc-2.2.1/src/.libs/libvlccore.so: undefined reference to `strerror_l'
|
||||
|
||||
Code for #else condition was taken from
|
||||
http://patches.osdyson.org/patch/series/view/vlc/2.2.0~rc2-1+dyson2/dyson.patch
|
||||
|
||||
[Bernd: rebased for 3.0.22]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
src/posix/error.c | 4 ++++
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index dfb4c1c329..bfe43512a2 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -667,7 +667,7 @@
|
||||
need_libc=false
|
||||
|
||||
dnl Check for usual libc functions
|
||||
-AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatvfs fork getenv getmntent_r getpwuid_r isatty lstat memalign mkostemp mmap newlocale open_memstream openat pipe2 pread posix_fadvise posix_madvise posix_memalign setlocale stricmp strnicmp strptime uselocale])
|
||||
+AC_CHECK_FUNCS([accept4 daemon fcntl flock fstatvfs fork getenv getmntent_r getpwuid_r isatty lstat memalign mkostemp mmap newlocale open_memstream openat pipe2 pread posix_fadvise posix_madvise posix_memalign setlocale strerror_l stricmp strnicmp strptime uselocale])
|
||||
AC_REPLACE_FUNCS([aligned_alloc atof atoll dirfd fdopendir flockfile fsync getdelim getpid lfind lldiv memrchr nrand48 poll recvmsg rewind sendmsg setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof strtok_r strtoll swab tdestroy tfind timegm timespec_get strverscmp pathconf])
|
||||
AC_REPLACE_FUNCS([gettimeofday])
|
||||
AC_CHECK_FUNC(fdatasync,,
|
||||
diff --git a/src/posix/error.c b/src/posix/error.c
|
||||
index db51004601..b4aa6fb3ca 100644
|
||||
--- a/src/posix/error.c
|
||||
+++ b/src/posix/error.c
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
static const char *vlc_strerror_l(int errnum, const char *lname)
|
||||
{
|
||||
+#ifdef HAVE_STRERROR_L
|
||||
int saved_errno = errno;
|
||||
locale_t loc = newlocale(LC_MESSAGES_MASK, lname, (locale_t)0);
|
||||
|
||||
@@ -51,6 +52,9 @@ static const char *vlc_strerror_l(int errnum, const char *lname)
|
||||
const char *buf = strerror_l(errnum, loc);
|
||||
|
||||
freelocale(loc);
|
||||
+#else
|
||||
+ const char *buf = strerror(errnum);
|
||||
+#endif
|
||||
return buf;
|
||||
}
|
||||
|
||||
--
|
||||
2.14.4
|
||||
|
||||
@@ -0,0 +1,188 @@
|
||||
From 5d561e1e2dcde3c9fca4d925f12447009d0d4a4c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
|
||||
Date: Wed, 18 Apr 2018 17:23:57 +0300
|
||||
Subject: [PATCH] posix: remove ancient run-time fallback to real-time clock
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
posix: remove ancient run-time fallback to real-time clock
|
||||
|
||||
For hysterical raisins, GNU/Linux and possibly some other OSes still
|
||||
report that monotonic clock must be checked at run-time, although I
|
||||
doubt that VLC or even current glibc would run on such old kernel.
|
||||
|
||||
Drop that to simplify and avoid the systematic one-time init check.
|
||||
|
||||
Downloaded from upstream commit to fix build error on m68k:
|
||||
|
||||
posix/thread.c:79:5: warning: #warning Monotonic clock not available. Expect timing issues. [-Wcpp]
|
||||
# warning Monotonic clock not available. Expect timing issues.
|
||||
^~~~~~~
|
||||
posix/thread.c: In function ‘vlc_clock_setup_once’:
|
||||
posix/thread.c:88:18: error: lvalue required as left operand of assignment
|
||||
vlc_clock_id = (val < 0) ? CLOCK_REALTIME : CLOCK_MONOTONIC;
|
||||
|
||||
[Bernd: rebased for 3.0.19]
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
src/posix/thread.c | 96 +++++++-----------------------------------------------
|
||||
1 file changed, 11 insertions(+), 85 deletions(-)
|
||||
|
||||
diff --git a/src/posix/thread.c b/src/posix/thread.c
|
||||
index dab8b71f97..8878941913 100644
|
||||
--- a/src/posix/thread.c
|
||||
+++ b/src/posix/thread.c
|
||||
@@ -51,62 +51,16 @@
|
||||
# include <sys/pset.h>
|
||||
#endif
|
||||
|
||||
-#if !defined (_POSIX_TIMERS)
|
||||
-# define _POSIX_TIMERS (-1)
|
||||
-#endif
|
||||
-#if !defined (_POSIX_CLOCK_SELECTION)
|
||||
-/* Clock selection was defined in 2001 and became mandatory in 2008. */
|
||||
-# define _POSIX_CLOCK_SELECTION (-1)
|
||||
-#endif
|
||||
-#if !defined (_POSIX_MONOTONIC_CLOCK)
|
||||
-# define _POSIX_MONOTONIC_CLOCK (-1)
|
||||
-#endif
|
||||
-
|
||||
-#if (_POSIX_TIMERS > 0)
|
||||
static unsigned vlc_clock_prec;
|
||||
|
||||
-# if (_POSIX_MONOTONIC_CLOCK > 0) && (_POSIX_CLOCK_SELECTION > 0)
|
||||
-/* Compile-time POSIX monotonic clock support */
|
||||
-# define vlc_clock_id (CLOCK_MONOTONIC)
|
||||
-
|
||||
-# elif (_POSIX_MONOTONIC_CLOCK == 0) && (_POSIX_CLOCK_SELECTION > 0)
|
||||
-/* Run-time POSIX monotonic clock support (see clock_setup() below) */
|
||||
-static clockid_t vlc_clock_id;
|
||||
-
|
||||
-# else
|
||||
-/* No POSIX monotonic clock support */
|
||||
-# define vlc_clock_id (CLOCK_REALTIME)
|
||||
-# warning Monotonic clock not available. Expect timing issues.
|
||||
-
|
||||
-# endif /* _POSIX_MONOTONIC_CLOKC */
|
||||
-
|
||||
static void vlc_clock_setup_once (void)
|
||||
{
|
||||
-# if (_POSIX_MONOTONIC_CLOCK == 0)
|
||||
- long val = sysconf (_SC_MONOTONIC_CLOCK);
|
||||
- assert (val != 0);
|
||||
- vlc_clock_id = (val < 0) ? CLOCK_REALTIME : CLOCK_MONOTONIC;
|
||||
-# endif
|
||||
-
|
||||
struct timespec res;
|
||||
- if (unlikely(clock_getres (vlc_clock_id, &res) != 0 || res.tv_sec != 0))
|
||||
+ if (unlikely(clock_getres(CLOCK_MONOTONIC, &res) != 0 || res.tv_sec != 0))
|
||||
abort ();
|
||||
vlc_clock_prec = (res.tv_nsec + 500) / 1000;
|
||||
}
|
||||
|
||||
-static pthread_once_t vlc_clock_once = PTHREAD_ONCE_INIT;
|
||||
-
|
||||
-# define vlc_clock_setup() \
|
||||
- pthread_once(&vlc_clock_once, vlc_clock_setup_once)
|
||||
-
|
||||
-#else /* _POSIX_TIMERS */
|
||||
-
|
||||
-# include <sys/time.h> /* gettimeofday() */
|
||||
-
|
||||
-# define vlc_clock_setup() (void)0
|
||||
-# warning Monotonic clock not available. Expect timing issues.
|
||||
-#endif /* _POSIX_TIMERS */
|
||||
-
|
||||
static struct timespec mtime_to_ts (vlc_tick_t date)
|
||||
{
|
||||
lldiv_t d = lldiv (date, CLOCK_FREQ);
|
||||
@@ -233,14 +187,11 @@ void vlc_cond_init (vlc_cond_t *p_condvar)
|
||||
{
|
||||
pthread_condattr_t attr;
|
||||
|
||||
- if (unlikely(pthread_condattr_init (&attr)))
|
||||
- abort ();
|
||||
-#if (_POSIX_CLOCK_SELECTION > 0)
|
||||
- vlc_clock_setup ();
|
||||
- pthread_condattr_setclock (&attr, vlc_clock_id);
|
||||
-#endif
|
||||
- if (unlikely(pthread_cond_init (p_condvar, &attr)))
|
||||
+ if (unlikely(pthread_condattr_init (&attr))
|
||||
+ || unlikely(pthread_condattr_setclock(&attr, CLOCK_MONOTONIC))
|
||||
+ || unlikely(pthread_cond_init (p_condvar, &attr)))
|
||||
abort ();
|
||||
+
|
||||
pthread_condattr_destroy (&attr);
|
||||
}
|
||||
|
||||
@@ -625,44 +576,27 @@ void vlc_control_cancel (int cmd, ...)
|
||||
|
||||
vlc_tick_t mdate (void)
|
||||
{
|
||||
-#if (_POSIX_TIMERS > 0)
|
||||
struct timespec ts;
|
||||
|
||||
- vlc_clock_setup ();
|
||||
- if (unlikely(clock_gettime (vlc_clock_id, &ts) != 0))
|
||||
+ if (unlikely(clock_gettime(CLOCK_MONOTONIC, &ts) != 0))
|
||||
abort ();
|
||||
|
||||
return (INT64_C(1000000) * ts.tv_sec) + (ts.tv_nsec / 1000);
|
||||
-
|
||||
-#else
|
||||
- struct timeval tv;
|
||||
-
|
||||
- if (unlikely(gettimeofday (&tv, NULL) != 0))
|
||||
- abort ();
|
||||
- return (INT64_C(1000000) * tv.tv_sec) + tv.tv_usec;
|
||||
-
|
||||
-#endif
|
||||
}
|
||||
|
||||
#undef mwait
|
||||
void mwait (vlc_tick_t deadline)
|
||||
{
|
||||
-#if (_POSIX_CLOCK_SELECTION > 0)
|
||||
- vlc_clock_setup ();
|
||||
+ static pthread_once_t vlc_clock_once = PTHREAD_ONCE_INIT;
|
||||
+
|
||||
/* If the deadline is already elapsed, or within the clock precision,
|
||||
* do not even bother the system timer. */
|
||||
+ pthread_once(&vlc_clock_once, vlc_clock_setup_once);
|
||||
deadline -= vlc_clock_prec;
|
||||
|
||||
struct timespec ts = mtime_to_ts (deadline);
|
||||
|
||||
- while (clock_nanosleep (vlc_clock_id, TIMER_ABSTIME, &ts, NULL) == EINTR);
|
||||
-
|
||||
-#else
|
||||
- deadline -= mdate ();
|
||||
- if (deadline > 0)
|
||||
- msleep (deadline);
|
||||
-
|
||||
-#endif
|
||||
+ while (clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, NULL) == EINTR);
|
||||
}
|
||||
|
||||
#undef msleep
|
||||
@@ -670,15 +604,7 @@ void msleep (vlc_tick_t delay)
|
||||
{
|
||||
struct timespec ts = mtime_to_ts (delay);
|
||||
|
||||
-#if (_POSIX_CLOCK_SELECTION > 0)
|
||||
- vlc_clock_setup ();
|
||||
- while (clock_nanosleep (vlc_clock_id, 0, &ts, &ts) == EINTR);
|
||||
-
|
||||
-#else
|
||||
- while (nanosleep (&ts, &ts) == -1)
|
||||
- assert (errno == EINTR);
|
||||
-
|
||||
-#endif
|
||||
+ while (clock_nanosleep(CLOCK_MONOTONIC, 0, &ts, &ts) == EINTR);
|
||||
}
|
||||
|
||||
unsigned vlc_GetCPUCount(void)
|
||||
--
|
||||
2.14.4
|
||||
|
||||
243
package/vlc/0007-Add-support-for-freerdp2.patch
Normal file
243
package/vlc/0007-Add-support-for-freerdp2.patch
Normal file
@@ -0,0 +1,243 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Juliane de Sartiges <jill@videolabs.io>
|
||||
Date: Wed, 27 Jul 2022 09:32:25 +0200
|
||||
Subject: [PATCH] freerdp: update to freerdp2 api
|
||||
|
||||
Upstream: https://code.videolan.org/videolan/vlc/-/commit/95e7bba6105bd8c2b8ea9cabc02c8dfe7411cab2
|
||||
|
||||
[Bernd: rebased for 3.0.23]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
modules/access/rdp.c | 85 ++++++++++++++++++++------------------------
|
||||
2 files changed, 40 insertions(+), 47 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index d96287d3e0..a91fc73172 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2194,7 +2194,7 @@ PKG_ENABLE_MODULES_VLC([VNC], [vnc], [libvncclient >= 0.9.9], (VNC/rfb client su
|
||||
|
||||
dnl RDP/Remote Desktop access module
|
||||
dnl
|
||||
-PKG_ENABLE_MODULES_VLC([FREERDP], [rdp], [freerdp >= 1.0.1], (RDP/Remote Desktop client support) )
|
||||
+PKG_ENABLE_MODULES_VLC([FREERDP], [rdp], [freerdp2 >= 2.0.0], (RDP/Remote Desktop client support) )
|
||||
|
||||
dnl
|
||||
dnl Real RTSP plugin
|
||||
diff --git a/modules/access/rdp.c b/modules/access/rdp.c
|
||||
index 0c39663c64..04ae005938 100644
|
||||
--- a/modules/access/rdp.c
|
||||
+++ b/modules/access/rdp.c
|
||||
@@ -45,18 +45,6 @@
|
||||
# include <freerdp/version.h>
|
||||
#endif
|
||||
|
||||
-#if !defined(FREERDP_VERSION_MAJOR) || \
|
||||
- (defined(FREERDP_VERSION_MAJOR) && !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 1)))
|
||||
-# define SoftwareGdi sw_gdi
|
||||
-# define Fullscreen fullscreen
|
||||
-# define ServerHostname hostname
|
||||
-# define Username username
|
||||
-# define Password password
|
||||
-# define ServerPort port
|
||||
-# define EncryptionMethods encryption
|
||||
-# define ContextSize context_size
|
||||
-#endif
|
||||
-
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_POLL
|
||||
# include <poll.h>
|
||||
@@ -75,6 +63,8 @@
|
||||
|
||||
#define CFG_PREFIX "rdp-"
|
||||
|
||||
+#define FREERDP_PIXEL_BPP(_format) (_format >> 24)
|
||||
+
|
||||
/*****************************************************************************
|
||||
* Module descriptor
|
||||
*****************************************************************************/
|
||||
@@ -139,11 +129,12 @@ typedef struct vlcrdp_context_t vlcrdp_context_t;
|
||||
|
||||
/* updates handlers */
|
||||
|
||||
-static void desktopResizeHandler( rdpContext *p_context )
|
||||
+static BOOL desktopResizeHandler( rdpContext *p_context )
|
||||
{
|
||||
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_context;
|
||||
demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys;
|
||||
rdpGdi *p_gdi = p_context->gdi;
|
||||
+ int i_colordepth = FREERDP_PIXEL_BPP( p_gdi->dstFormat );
|
||||
|
||||
if ( p_sys->es )
|
||||
{
|
||||
@@ -151,11 +142,13 @@ static void desktopResizeHandler( rdpContext *p_context )
|
||||
p_sys->es = NULL;
|
||||
}
|
||||
|
||||
- /* Now init and fill es format */
|
||||
vlc_fourcc_t i_chroma;
|
||||
- switch( p_gdi->bytesPerPixel )
|
||||
+ /* Now init and fill es format */
|
||||
+ switch ( i_colordepth )
|
||||
{
|
||||
default:
|
||||
+ msg_Dbg( p_vlccontext->p_demux, "invalid color depth %d", i_colordepth);
|
||||
+ /* fallthrough */
|
||||
case 16:
|
||||
i_chroma = VLC_CODEC_RGB16;
|
||||
break;
|
||||
@@ -163,7 +156,7 @@ static void desktopResizeHandler( rdpContext *p_context )
|
||||
i_chroma = VLC_CODEC_RGB24;
|
||||
break;
|
||||
case 32:
|
||||
- i_chroma = VLC_CODEC_RGB32;
|
||||
+ i_chroma = VLC_CODEC_ARGB;
|
||||
break;
|
||||
}
|
||||
es_format_t fmt;
|
||||
@@ -176,7 +169,7 @@ static void desktopResizeHandler( rdpContext *p_context )
|
||||
fmt.video.i_height = p_gdi->height;
|
||||
fmt.video.i_frame_rate_base = 1000;
|
||||
fmt.video.i_frame_rate = 1000 * p_sys->f_fps;
|
||||
- p_sys->i_framebuffersize = p_gdi->width * p_gdi->height * p_gdi->bytesPerPixel;
|
||||
+ p_sys->i_framebuffersize = p_gdi->width * p_gdi->height * (i_colordepth >> 3);
|
||||
|
||||
if ( p_sys->p_block )
|
||||
p_sys->p_block = block_Realloc( p_sys->p_block, 0, p_sys->i_framebuffersize );
|
||||
@@ -184,20 +177,21 @@ static void desktopResizeHandler( rdpContext *p_context )
|
||||
p_sys->p_block = block_Alloc( p_sys->i_framebuffersize );
|
||||
|
||||
p_sys->es = es_out_Add( p_vlccontext->p_demux->out, &fmt );
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
-static void beginPaintHandler( rdpContext *p_context )
|
||||
+static BOOL beginPaintHandler( rdpContext *p_context )
|
||||
{
|
||||
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_context;
|
||||
demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys;
|
||||
rdpGdi *p_gdi = p_context->gdi;
|
||||
- p_gdi->primary->hdc->hwnd->invalid->null = 1;
|
||||
- p_gdi->primary->hdc->hwnd->ninvalid = 0;
|
||||
+ p_gdi->primary->hdc->hwnd->invalid->null = TRUE;
|
||||
if ( ! p_sys->p_block && p_sys->i_framebuffersize )
|
||||
p_sys->p_block = block_Alloc( p_sys->i_framebuffersize );
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
-static void endPaintHandler( rdpContext *p_context )
|
||||
+static BOOL endPaintHandler( rdpContext *p_context )
|
||||
{
|
||||
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_context;
|
||||
demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys;
|
||||
@@ -208,11 +202,12 @@ static void endPaintHandler( rdpContext *p_context )
|
||||
p_sys->p_block->i_buffer = p_sys->i_framebuffersize;
|
||||
memcpy( p_sys->p_block->p_buffer, p_gdi->primary_buffer, p_sys->p_block->i_buffer );
|
||||
}
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
/* instance handlers */
|
||||
|
||||
-static bool preConnectHandler( freerdp *p_instance )
|
||||
+static BOOL preConnectHandler( freerdp *p_instance )
|
||||
{
|
||||
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context;
|
||||
demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys;
|
||||
@@ -229,49 +224,54 @@ static bool preConnectHandler( freerdp *p_instance )
|
||||
p_instance->settings->EncryptionMethods =
|
||||
var_InheritBool( p_vlccontext->p_demux, CFG_PREFIX "encrypt" );
|
||||
|
||||
- return true;
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
-static bool postConnectHandler( freerdp *p_instance )
|
||||
+static BOOL postConnectHandler( freerdp *p_instance )
|
||||
{
|
||||
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context;
|
||||
|
||||
msg_Dbg( p_vlccontext->p_demux, "connected to desktop %dx%d (%d bpp)",
|
||||
-#if defined(FREERDP_VERSION_MAJOR) && (FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 1))
|
||||
p_instance->settings->DesktopWidth,
|
||||
p_instance->settings->DesktopHeight,
|
||||
p_instance->settings->ColorDepth
|
||||
-#else
|
||||
- p_instance->settings->width,
|
||||
- p_instance->settings->height,
|
||||
- p_instance->settings->color_depth
|
||||
-#endif
|
||||
);
|
||||
|
||||
p_instance->update->DesktopResize = desktopResizeHandler;
|
||||
p_instance->update->BeginPaint = beginPaintHandler;
|
||||
p_instance->update->EndPaint = endPaintHandler;
|
||||
+ UINT32 format;
|
||||
+ switch ( p_instance->settings->ColorDepth )
|
||||
+ {
|
||||
+ default:
|
||||
+ msg_Dbg( p_vlccontext->p_demux, "no valid pixel format found for color depth %d bpp", p_instance->settings->ColorDepth);
|
||||
+ /* fallthrough */
|
||||
+ case 16:
|
||||
+ format = PIXEL_FORMAT_RGB16;
|
||||
+ break;
|
||||
+ case 24:
|
||||
+ format = PIXEL_FORMAT_RGB24;
|
||||
+ break;
|
||||
+ case 32:
|
||||
+ format = PIXEL_FORMAT_ARGB32;
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
gdi_init( p_instance,
|
||||
- CLRBUF_16BPP |
|
||||
-#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \
|
||||
- !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2))
|
||||
- CLRBUF_24BPP |
|
||||
-#endif
|
||||
- CLRBUF_32BPP, NULL );
|
||||
+ format );
|
||||
|
||||
desktopResizeHandler( p_instance->context );
|
||||
- return true;
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
-static bool authenticateHandler( freerdp *p_instance, char** ppsz_username,
|
||||
+static BOOL authenticateHandler( freerdp *p_instance, char** ppsz_username,
|
||||
char** ppsz_password, char** ppsz_domain )
|
||||
{
|
||||
VLC_UNUSED(ppsz_domain);
|
||||
vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context;
|
||||
*ppsz_username = var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "user" );
|
||||
*ppsz_password = var_InheritString( p_vlccontext->p_demux, CFG_PREFIX "password" );
|
||||
- return true;
|
||||
+ return TRUE;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
@@ -432,10 +432,6 @@ static int Open( vlc_object_t *p_this )
|
||||
if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0;
|
||||
p_sys->i_frame_interval = 1000000 / p_sys->f_fps;
|
||||
|
||||
-#if FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR < 2
|
||||
- freerdp_channels_global_init();
|
||||
-#endif
|
||||
-
|
||||
p_sys->p_instance = freerdp_new();
|
||||
if ( !p_sys->p_instance )
|
||||
{
|
||||
@@ -512,9 +508,6 @@ static void Close( vlc_object_t *p_this )
|
||||
|
||||
freerdp_disconnect( p_sys->p_instance );
|
||||
freerdp_free( p_sys->p_instance );
|
||||
-#if FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR < 2
|
||||
- freerdp_channels_global_uninit();
|
||||
-#endif
|
||||
|
||||
if ( p_sys->p_block )
|
||||
block_Release( p_sys->p_block );
|
||||
--
|
||||
2.47.3
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Yann Lochet <yann@l0chet.fr>
|
||||
Date: Fri, 25 Nov 2022 16:20:45 +0100
|
||||
Subject: [PATCH] configure: make it possible to override wayland-scanner
|
||||
|
||||
When cross-compiling, PKG_CONFIG might pick up the wayland-scanner
|
||||
from the sysroot.
|
||||
|
||||
Upstream: https://code.videolan.org/videolan/vlc/-/commit/75e52f617bf3273f4883b56c4175d68211e02d14
|
||||
|
||||
[Bernd: rebased for 3.0.23]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
configure.ac | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a91fc73172..5e8821dea9 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3277,6 +3277,7 @@ AS_IF([test "${enable_wayland}" = "yes"], [
|
||||
])
|
||||
|
||||
AC_MSG_CHECKING([for the Wayland scanner])
|
||||
+ AS_VAR_SET_IF(WAYLAND_SCANNER, [],[
|
||||
PKG_CHECK_EXISTS([wayland-scanner], [
|
||||
WAYLAND_SCANNER="$(${PKG_CONFIG} wayland-scanner --variable wayland_scanner)"
|
||||
AC_MSG_RESULT([${WAYLAND_SCANNER}])
|
||||
@@ -3284,6 +3285,7 @@ AS_IF([test "${enable_wayland}" = "yes"], [
|
||||
AC_MSG_RESULT([not found])
|
||||
AC_MSG_ERROR([$(${PKG_CONFIG} --print-errors wayland-scanner)])
|
||||
])
|
||||
+ ])
|
||||
|
||||
have_wayland="yes"
|
||||
|
||||
--
|
||||
2.47.3
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Fri, 28 Feb 2020 14:29:47 +0100
|
||||
Subject: [PATCH] modules/video_filter/opencv_example.cpp: fix build with
|
||||
opencv 3.4.9
|
||||
|
||||
Use cvScalar instead of CV_RGB to avoid the following build failure with
|
||||
opencv 3.4.9:
|
||||
|
||||
In file included from /home/naourr/work/instance-2/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/opencv2/imgproc/imgproc.hpp:48,
|
||||
from video_filter/opencv_example.cpp:46:
|
||||
video_filter/opencv_example.cpp: In function 'picture_t* Filter(filter_t*, picture_t*)':
|
||||
video_filter/opencv_example.cpp:200:46: error: could not convert 'cv::Scalar_<double>((double)0, (double)0, (double)0, (double)0)' from 'cv::Scalar' {aka 'cv::Scalar_<double>'} to 'CvScalar'
|
||||
cvRectangle( p_img[0], pt1, pt2, CV_RGB(0,0,0), 3, 8, 0 );
|
||||
^~~~~~
|
||||
|
||||
Indeed, CV_RGB is defined as cv::Scalar instead of cvScalar since
|
||||
version 3.4.2 and
|
||||
https://github.com/opencv/opencv/commit/7f9253ea0a9fe2635926379420002dbf0c3fce0f
|
||||
|
||||
Upstream: https://patches.videolan.org/patch/26655
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Bernd: rebased for 3.0.23]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
modules/video_filter/opencv_example.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/modules/video_filter/opencv_example.cpp b/modules/video_filter/opencv_example.cpp
|
||||
index a7a0bd7821..23483f0974 100644
|
||||
--- a/modules/video_filter/opencv_example.cpp
|
||||
+++ b/modules/video_filter/opencv_example.cpp
|
||||
@@ -197,7 +197,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
|
||||
pt2.x = (r->x+r->width)*scale;
|
||||
pt1.y = r->y*scale;
|
||||
pt2.y = (r->y+r->height)*scale;
|
||||
- cvRectangle( p_img[0], pt1, pt2, CV_RGB(0,0,0), 3, 8, 0 );
|
||||
+ cvRectangle( p_img[0], pt1, pt2, cvScalar(0,0,0,0), 3, 8, 0 );
|
||||
|
||||
*(CvRect*)(&(p_sys->event_info.p_region[i])) = *r;
|
||||
p_sys->event_info.p_region[i].i_id = p_sys->i_id++;
|
||||
--
|
||||
2.47.3
|
||||
|
||||
57
package/vlc/0010-opengl-missing-library-check.patch
Normal file
57
package/vlc/0010-opengl-missing-library-check.patch
Normal file
@@ -0,0 +1,57 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
|
||||
Date: Sat, 22 Jan 2022 11:34:38 +0200
|
||||
Subject: [PATCH] opengl: missing library check
|
||||
|
||||
Traditionally the presence of the header file was not considered
|
||||
sufficient, though this was somewhat forgotten with the prevalence of
|
||||
pkg-config.
|
||||
|
||||
However most libraries have portable headers, while the shared library
|
||||
is platform-dependent. It is common for the header to be present while
|
||||
the library is absent with "multilib" installations (i.e. Linux
|
||||
installation with multiple architectures).
|
||||
|
||||
Upstream: https://code.videolan.org/videolan/vlc/-/commit/4ab41404cb85684125d73977cadebf83bbc246f5
|
||||
|
||||
[Bernd: rebased for 3.0.23]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
configure.ac | 9 ++++++---
|
||||
1 file changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 67316b589b..7196a69017 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3138,7 +3138,6 @@ have_gl="no"
|
||||
PKG_CHECK_MODULES([GL], [gl], [
|
||||
have_gl="yes"
|
||||
], [
|
||||
- AC_MSG_CHECKING([for OpenGL])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#ifdef _WIN32
|
||||
# include <GL/glew.h>
|
||||
@@ -3148,13 +3147,17 @@ PKG_CHECK_MODULES([GL], [gl], [
|
||||
[int t0 = GL_TEXTURE0;]])
|
||||
], [
|
||||
GL_CFLAGS=""
|
||||
- have_gl="yes"
|
||||
AS_IF([test "${SYS}" != "mingw32"], [
|
||||
- GL_LIBS="-lGL"
|
||||
+ AC_CHECK_LIB([GL], [glTexture2D], [
|
||||
+ have_gl="yes"
|
||||
+ GL_LIBS="-lGL"
|
||||
+ ])
|
||||
], [
|
||||
+ have_gl="yes"
|
||||
GL_LIBS="-lopengl32"
|
||||
])
|
||||
])
|
||||
+ AC_MSG_CHECKING([for OpenGL])
|
||||
AC_MSG_RESULT([${have_gl}])
|
||||
])
|
||||
AM_CONDITIONAL([HAVE_GL], [test "${have_gl}" = "yes"])
|
||||
--
|
||||
2.47.3
|
||||
|
||||
26
package/vlc/Config.in
Normal file
26
package/vlc/Config.in
Normal file
@@ -0,0 +1,26 @@
|
||||
config BR2_PACKAGE_VLC
|
||||
bool "vlc"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS
|
||||
select BR2_PACKAGE_ZLIB if BR2_PACKAGE_TAGLIB
|
||||
help
|
||||
VLC is a free and open source cross-platform multimedia player
|
||||
and framework that plays most multimedia files as well as DVD,
|
||||
Audio CD, VCD, and various streaming protocols.
|
||||
|
||||
http://www.videolan.org/vlc/
|
||||
|
||||
comment "vlc needs a toolchain w/ C++, dynamic library, wchar, threads, gcc >= 4.9, headers >= 3.7"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
|
||||
|| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
|
||||
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
7
package/vlc/vlc.hash
Normal file
7
package/vlc/vlc.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# From https://get.videolan.org/vlc/3.0.23/vlc-3.0.23.tar.xz.sha256
|
||||
sha256 e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0 vlc-3.0.23.tar.xz
|
||||
# From https://get.videolan.org/vlc/3.0.23/vlc-3.0.23.tar.xz.sha1
|
||||
sha1 7b8c00a9c5bb879a403d5328c99924eefe01739a vlc-3.0.23.tar.xz
|
||||
# Locally computed
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB
|
||||
573
package/vlc/vlc.mk
Normal file
573
package/vlc/vlc.mk
Normal file
@@ -0,0 +1,573 @@
|
||||
################################################################################
|
||||
#
|
||||
# vlc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VLC_VERSION = 3.0.23
|
||||
VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION)
|
||||
VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz
|
||||
VLC_LICENSE = GPL-2.0+, LGPL-2.1+
|
||||
VLC_LICENSE_FILES = COPYING COPYING.LIB
|
||||
VLC_CPE_ID_VENDOR = videolan
|
||||
VLC_CPE_ID_PRODUCT = vlc_media_player
|
||||
VLC_DEPENDENCIES = host-gettext host-pkgconf
|
||||
VLC_AUTORECONF = YES
|
||||
|
||||
# Install vlc libraries in staging.
|
||||
VLC_INSTALL_STAGING = YES
|
||||
|
||||
# gcc bug internal compiler error: in merge_overlapping_regs, at
|
||||
# regrename.c:304. This bug is fixed since gcc 6.
|
||||
ifeq ($(BR2_microblaze)$(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
|
||||
VLC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
|
||||
VLC_CONF_OPTS += --disable-optimizations
|
||||
endif
|
||||
|
||||
# configure check for -fstack-protector-strong is broken
|
||||
VLC_CONF_ENV += \
|
||||
ax_cv_check_cflags___fstack_protector_strong=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no)
|
||||
|
||||
# VLC defines two autoconf functions which are also defined by our own pkg.m4
|
||||
# from pkgconf. Unfortunately, they are defined in a different way: VLC adds
|
||||
# --enable- options, but pkg.m4 adds --with- options. To make sure we use
|
||||
# VLC's definition, rename these two functions.
|
||||
define VLC_OVERRIDE_PKG_M4
|
||||
$(SED) 's/PKG_WITH_MODULES/VLC_PKG_WITH_MODULES/g' \
|
||||
-e 's/PKG_HAVE_WITH_MODULES/VLC_PKG_HAVE_WITH_MODULES/g' \
|
||||
$(@D)/configure.ac $(@D)/m4/with_pkg.m4
|
||||
endef
|
||||
VLC_POST_PATCH_HOOKS += VLC_OVERRIDE_PKG_M4
|
||||
|
||||
VLC_CONF_OPTS += \
|
||||
--disable-a52 \
|
||||
--disable-addonmanagermodules \
|
||||
--disable-aom \
|
||||
--disable-aribb25 \
|
||||
--disable-aribsub \
|
||||
--disable-asdcp \
|
||||
--disable-bpg \
|
||||
--disable-caca \
|
||||
--disable-chromaprint \
|
||||
--disable-chromecast \
|
||||
--disable-crystalhd \
|
||||
--disable-dc1394 \
|
||||
--disable-dca \
|
||||
--disable-decklink \
|
||||
--disable-dsm \
|
||||
--disable-dv1394 \
|
||||
--disable-fluidlite \
|
||||
--disable-gme \
|
||||
--disable-goom \
|
||||
--disable-jack \
|
||||
--disable-jpeg \
|
||||
--disable-kai \
|
||||
--disable-kate \
|
||||
--disable-kva \
|
||||
--disable-libplacebo \
|
||||
--disable-linsys \
|
||||
--disable-mfx \
|
||||
--disable-microdns \
|
||||
--disable-mmal \
|
||||
--disable-mtp \
|
||||
--disable-mpc \
|
||||
--disable-notify \
|
||||
--disable-opencv \
|
||||
--disable-projectm \
|
||||
--disable-schroedinger \
|
||||
--disable-shine \
|
||||
--disable-shout \
|
||||
--disable-sndio \
|
||||
--disable-spatialaudio \
|
||||
--disable-srt \
|
||||
--disable-telx \
|
||||
--disable-tiger \
|
||||
--disable-twolame \
|
||||
--disable-vdpau \
|
||||
--disable-vsxu \
|
||||
--disable-wasapi \
|
||||
--disable-x262 \
|
||||
--disable-zvbi \
|
||||
--enable-run-as-root
|
||||
|
||||
# Uses __atomic_fetch_add_4
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
VLC_CONF_ENV += LIBS="-latomic"
|
||||
endif
|
||||
|
||||
# Building static and shared doesn't work, so force static off.
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
VLC_CONF_OPTS += --disable-static
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
|
||||
VLC_CONF_OPTS += --enable-altivec
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-altivec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
||||
VLC_CONF_OPTS += --enable-sse
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-sse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
VLC_CONF_OPTS += --enable-alsa
|
||||
VLC_DEPENDENCIES += alsa-lib
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-alsa
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
|
||||
VLC_CONF_OPTS += --enable-avahi
|
||||
VLC_DEPENDENCIES += avahi
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-avahi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DAV1D),y)
|
||||
VLC_CONF_OPTS += --enable-dav1d
|
||||
VLC_DEPENDENCIES += dav1d
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-dav1d
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
VLC_CONF_OPTS += --enable-dbus
|
||||
VLC_DEPENDENCIES += dbus
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-dbus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FAAD2),y)
|
||||
VLC_CONF_OPTS += --enable-faad
|
||||
VLC_DEPENDENCIES += faad2
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-faad
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG),y)
|
||||
VLC_CONF_OPTS += --enable-avcodec
|
||||
VLC_DEPENDENCIES += ffmpeg
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-avcodec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y)
|
||||
VLC_CONF_OPTS += --enable-postproc
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-postproc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y)
|
||||
VLC_CONF_OPTS += --enable-swscale
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-swscale
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FLAC),y)
|
||||
VLC_CONF_OPTS += --enable-flac
|
||||
VLC_DEPENDENCIES += flac
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-flac
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y)
|
||||
VLC_CONF_OPTS += --enable-fluidsynth
|
||||
VLC_DEPENDENCIES += fluidsynth
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-fluidsynth
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FREERDP),y)
|
||||
VLC_CONF_OPTS += --enable-freerdp
|
||||
VLC_DEPENDENCIES += freerdp
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-freerdp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
||||
VLC_CONF_OPTS += --enable-gst-decode
|
||||
VLC_DEPENDENCIES += gst1-plugins-base
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-gst-decode
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
||||
VLC_DEPENDENCIES += libgl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
||||
VLC_CONF_OPTS += --enable-harfbuzz
|
||||
VLC_DEPENDENCIES += harfbuzz
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-harfbuzz
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y)
|
||||
VLC_CONF_OPTS += --enable-gles2
|
||||
VLC_DEPENDENCIES += libgles
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-gles2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||
VLC_CONF_OPTS += --enable-opus
|
||||
VLC_DEPENDENCIES += libvorbis opus
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-opus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
|
||||
VLC_CONF_OPTS += --enable-archive
|
||||
VLC_DEPENDENCIES += libarchive
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-archive
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBASS),y)
|
||||
VLC_CONF_OPTS += --enable-libass
|
||||
VLC_DEPENDENCIES += libass
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-libass
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBLURAY),y)
|
||||
VLC_CONF_OPTS += --enable-bluray
|
||||
VLC_DEPENDENCIES += libbluray
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-bluray
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCDDB),y)
|
||||
VLC_CONF_OPTS += --enable-libcddb
|
||||
VLC_DEPENDENCIES += libcddb
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-libcddb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDVBPSI),y)
|
||||
VLC_CONF_OPTS += --enable-dvbpsi
|
||||
VLC_DEPENDENCIES += libdvbpsi
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-dvbpsi
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDVDNAV),y)
|
||||
VLC_CONF_OPTS += --enable-dvdnav
|
||||
VLC_DEPENDENCIES += libdvdnav
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-dvdnav
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
|
||||
VLC_CONF_OPTS += --enable-dvdread
|
||||
VLC_DEPENDENCIES += libdvdread
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-dvdread
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
VLC_CONF_OPTS += --enable-libgcrypt
|
||||
VLC_DEPENDENCIES += libgcrypt
|
||||
VLC_CONF_ENV += \
|
||||
GCRYPT_CONFIG="$(STAGING_DIR)/usr/bin/libgcrypt-config"
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-libgcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBIDN),y)
|
||||
VLC_DEPENDENCIES += libidn
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMAD),y)
|
||||
VLC_CONF_OPTS += --enable-mad
|
||||
VLC_DEPENDENCIES += libmad
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-mad
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMATROSKA),y)
|
||||
VLC_CONF_OPTS += --enable-matroska
|
||||
VLC_DEPENDENCIES += libmatroska
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-matroska
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
|
||||
VLC_CONF_OPTS += --enable-mod
|
||||
VLC_DEPENDENCIES += libmodplug
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-mod
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
|
||||
VLC_CONF_OPTS += --enable-libmpeg2
|
||||
VLC_DEPENDENCIES += libmpeg2
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-libmpeg2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNFS),y)
|
||||
VLC_CONF_OPTS += --enable-nfs
|
||||
VLC_DEPENDENCIES += libnfs
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-nfs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
VLC_CONF_OPTS += --enable-png
|
||||
VLC_DEPENDENCIES += libpng
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-png
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBRSVG),y)
|
||||
VLC_CONF_OPTS += --enable-svg --enable-svgdec
|
||||
VLC_DEPENDENCIES += librsvg
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-svg --disable-svgdec
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
|
||||
VLC_CONF_OPTS += --enable-samplerate
|
||||
VLC_DEPENDENCIES += libsamplerate
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-samplerate
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
||||
VLC_CONF_OPTS += --enable-secret
|
||||
VLC_DEPENDENCIES += libsecret
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-secret
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSOXR),y)
|
||||
VLC_CONF_OPTS += --enable-soxr
|
||||
VLC_DEPENDENCIES += libsoxr
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-soxr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
||||
VLC_CONF_OPTS += --enable-sftp
|
||||
VLC_DEPENDENCIES += libssh2
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-sftp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y)
|
||||
VLC_CONF_OPTS += --enable-sid
|
||||
VLC_DEPENDENCIES += libsidplay2
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-sid
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
|
||||
VLC_CONF_OPTS += --enable-theora
|
||||
VLC_DEPENDENCIES += libtheora
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-theora
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUPNP),y)
|
||||
VLC_CONF_OPTS += --enable-upnp
|
||||
VLC_DEPENDENCIES += libupnp
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-upnp
|
||||
endif
|
||||
|
||||
# libva support depends on ffmpeg
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy)
|
||||
VLC_CONF_OPTS += --enable-libva
|
||||
VLC_DEPENDENCIES += libva
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-libva
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y)
|
||||
VLC_CONF_OPTS += --enable-vnc
|
||||
VLC_DEPENDENCIES += libvncserver
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-vnc
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
||||
VLC_CONF_OPTS += --enable-vorbis
|
||||
VLC_DEPENDENCIES += libvorbis
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-vorbis
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
||||
VLC_CONF_OPTS += --enable-v4l2
|
||||
VLC_DEPENDENCIES += libv4l
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-v4l2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVPX),y)
|
||||
VLC_CONF_OPTS += --enable-vpx
|
||||
VLC_DEPENDENCIES += libvpx
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-vpx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCB),y)
|
||||
VLC_CONF_OPTS += --enable-xcb
|
||||
VLC_DEPENDENCIES += libxcb
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-xcb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
VLC_CONF_OPTS += --enable-libxml2
|
||||
VLC_DEPENDENCIES += libxml2
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-libxml2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIVE555),y)
|
||||
VLC_CONF_OPTS += --enable-live555
|
||||
VLC_DEPENDENCIES += live555
|
||||
ifneq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
VLC_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DNO_OPENSSL"
|
||||
endif
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-live555
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA),y)
|
||||
VLC_CONF_OPTS += --enable-lua
|
||||
VLC_DEPENDENCIES += lua host-lua
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-lua
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MINIZIP),y)
|
||||
VLC_DEPENDENCIES += minizip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MPG123),y)
|
||||
VLC_CONF_OPTS += --enable-mpg123
|
||||
VLC_DEPENDENCIES += mpg123
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-mpg123
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||
VLC_CONF_OPTS += --enable-ncurses
|
||||
VLC_DEPENDENCIES += ncurses
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-ncurses
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
|
||||
VLC_CONF_OPTS += --enable-pulse
|
||||
VLC_DEPENDENCIES += pulseaudio
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-pulse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS)$(BR2_PACKAGE_QT5SVG),yy)
|
||||
VLC_CONF_OPTS += --enable-qt
|
||||
VLC_DEPENDENCIES += qt5base qt5svg
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy)
|
||||
VLC_CONF_OPTS += --enable-skins2
|
||||
VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-skins2
|
||||
endif
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-qt --disable-skins2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL_IMAGE),y)
|
||||
VLC_CONF_OPTS += --enable-sdl-image
|
||||
VLC_DEPENDENCIES += sdl_image
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-sdl-image
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SAMBA4),y)
|
||||
VLC_CONF_OPTS += --enable-smbclient
|
||||
VLC_DEPENDENCIES += samba4
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-smbclient
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
|
||||
VLC_CONF_OPTS += --enable-speex
|
||||
VLC_DEPENDENCIES += speex speexdsp
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-speex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TAGLIB),y)
|
||||
VLC_CONF_OPTS += --enable-taglib
|
||||
VLC_DEPENDENCIES += taglib
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-taglib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TREMOR),y)
|
||||
VLC_CONF_OPTS += --enable-tremor
|
||||
VLC_DEPENDENCIES += tremor
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-tremor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
VLC_CONF_OPTS += --enable-udev
|
||||
VLC_DEPENDENCIES += udev
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-udev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS),yy)
|
||||
VLC_CONF_ENV += WAYLAND_SCANNER=$(HOST_DIR)/bin/wayland-scanner
|
||||
VLC_CONF_OPTS += --enable-wayland
|
||||
VLC_DEPENDENCIES += wayland wayland-protocols
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-wayland
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_X264),y)
|
||||
VLC_CONF_OPTS += --enable-x264
|
||||
VLC_DEPENDENCIES += x264
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-x264
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_X265),y)
|
||||
VLC_CONF_OPTS += --enable-x265
|
||||
VLC_DEPENDENCIES += x265
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-x265
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y)
|
||||
VLC_DEPENDENCIES += xcb-util-keysyms
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
VLC_CONF_OPTS += --with-x
|
||||
VLC_DEPENDENCIES += xlib_libX11
|
||||
else
|
||||
VLC_CONF_OPTS += --without-x
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
VLC_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
VLC_CONF_OPTS += --enable-gnutls
|
||||
VLC_DEPENDENCIES += gnutls
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-gnutls
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user