-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload Debian vlc and starfive patches
Signed-off-by: Leo Lu <leo.lu@starfivetech.com>
- Loading branch information
1 parent
e0da06c
commit f0187c1
Showing
4,344 changed files
with
5,003,502 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
INSTALL file for the VLC media player | ||
===================================== | ||
|
||
More extensive information for *nix, Windows and Mac OS X users can be | ||
found here: http://wiki.videolan.org/Compile_VLC | ||
|
||
People installing VLC for Windows from source MUST read: | ||
http://wiki.videolan.org/Win32Compile | ||
|
||
Bootstrapping VLC | ||
================= | ||
|
||
If you retrieved VLC from the git server and do not have yet a "configure" | ||
script, please run: | ||
|
||
./bootstrap | ||
|
||
Configuring VLC | ||
=============== | ||
|
||
A typical way to configure VLC is: | ||
|
||
./configure | ||
|
||
See `./configure --help' for more information. | ||
|
||
If you intend to debug stuff, you may want to compile with debugging | ||
symbols: | ||
|
||
make distclean ; ./configure --enable-debug | ||
|
||
We recommend using GCC to build VLC, though some people reported success | ||
with the Intel C compiler (version 8) as well. GCC version 4.8 or higher is | ||
required. On older systems (e.g. FreeBSD 4.x), please select a more recent | ||
version manually by setting the CC and CXX environment variables | ||
appropriately while running the ./configure shell script. | ||
|
||
|
||
Building VLC | ||
============ | ||
|
||
Once configured, run `make' to build VLC. | ||
|
||
|
||
Installing and running VLC | ||
========================== | ||
|
||
You can install the VLC and its plugins by typing: | ||
|
||
make install | ||
|
||
But you don't need to install it if you don't want to; VLC can be launched | ||
from the current directory as well: | ||
|
||
./vlc | ||
|
||
|
||
Building packages | ||
================= | ||
|
||
To build a Debian package, you need to get the packaging info | ||
git clone git://git.debian.org/pkg-multimedia/vlc.git debian | ||
and then | ||
git-buildpackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,222 @@ | ||
############################################################################### | ||
# Automake targets and declarations | ||
############################################################################### | ||
|
||
# SUBDIRS stores the directories where a "make" is required when building | ||
# something. DIST_SUBDIRS stores the directories where nothing is built but | ||
# which have makefiles with distribution information. | ||
# - src (libvlccore) is nedeed by modules | ||
SUBDIRS = compat doc po share src modules lib bin test | ||
DIST_SUBDIRS = m4 $(SUBDIRS) | ||
|
||
EXTRA_DIST = \ | ||
extras/package/macosx/package.mak \ | ||
extras/package/win32/package.mak \ | ||
extras/package/npapi.am | ||
|
||
dist_noinst_SCRIPTS = bootstrap | ||
nodist_noinst_SCRIPTS = compile | ||
|
||
BUILT_SOURCES_distclean = | ||
|
||
BUILT_SOURCES = $(BUILT_SOURCES_distclean) | ||
|
||
SUFFIXES = | ||
|
||
DISTCHECK_CONFIGURE_FLAGS = \ | ||
--enable-fast-install \ | ||
--disable-a52 \ | ||
--disable-alsa \ | ||
--disable-avcodec --disable-avformat \ | ||
--disable-postproc --disable-swscale \ | ||
--disable-dbus \ | ||
--disable-mad --disable-libmpeg2 \ | ||
--disable-faad --disable-skins2 \ | ||
--disable-live555 \ | ||
--disable-lua \ | ||
--disable-fribidi \ | ||
--disable-mkv \ | ||
--with-kde-solid='$${datadir}/kde4/apps' | ||
|
||
ACLOCAL_AMFLAGS = -I m4 | ||
AUTOMAKE_OPTIONS = \ | ||
1.11 \ | ||
-Wall \ | ||
check-news \ | ||
dist-xz \ | ||
no-dist-gzip | ||
# std-options | ||
|
||
ChangeLog: Makefile.am | ||
rm -f -- "$@" | ||
cd doc && $(MAKE) $(AM_MAKEFLAGS) changelogs | ||
$(LN_S) -f doc/ChangeLog-2021 "$@" | ||
|
||
|
||
############################################################################### | ||
# tools (needed for contrib) | ||
############################################################################## | ||
EXTRA_DIST += \ | ||
extras/tools/bootstrap \ | ||
extras/tools/packages.mak \ | ||
extras/tools/tools.mak \ | ||
extras/tools/SHA512SUMS \ | ||
extras/tools/automake-clang.patch \ | ||
extras/tools/bison-macOS-7df04f9.patch \ | ||
extras/tools/bison-macOS-c41f233c.patch \ | ||
extras/tools/cmake-enable-ALPN-support-on-macOS-10.14.patch \ | ||
extras/tools/libtool-2.4.6-bitcode.patch \ | ||
extras/tools/libtool-2.4.6-clang-libs.patch \ | ||
extras/tools/libtool-2.4.6-response-files.patch \ | ||
extras/tools/libtool-2.4.6-san.patch \ | ||
extras/tools/ragel-6.8-javacodegen.patch | ||
|
||
############################################################################### | ||
# Various utilities ( editor syntax files, D-Bus controller ... ) | ||
############################################################################## | ||
EXTRA_DIST += \ | ||
extras/analyser/zsh_completion.sh \ | ||
extras/analyser/zsh.cpp \ | ||
extras/analyser/emacs.init \ | ||
extras/analyser/vlc.vim \ | ||
extras/analyser/valgrind.suppressions \ | ||
extras/buildsystem/make.pl \ | ||
extras/misc/mpris.py \ | ||
extras/misc/mpris.xml | ||
|
||
############################################################################### | ||
# Scripts for building dependencies. | ||
############################################################################## | ||
EXTRA_DIST += \ | ||
contrib/bootstrap \ | ||
contrib/src | ||
|
||
############################################################################### | ||
# Building libvlc | ||
############################################################################### | ||
|
||
CLEANFILES = | ||
DISTCLEANFILES = $(BUILT_SOURCES_distclean) compile doltcompile doltlibtool | ||
MAINTAINERCLEANFILES = ChangeLog | ||
|
||
# Shortcut for developers to rebuild the core (libvlc + vlc) | ||
# Don't use it if you don't know what it is about. | ||
# Don't complain if it doesn't work. -- Courmisch | ||
libcompat: | ||
cd compat && $(MAKE) $(AM_MAKEFLAGS) | ||
|
||
libvlccore: libcompat | ||
cd src && $(MAKE) $(AM_MAKEFLAGS) libvlccore.la | ||
|
||
libvlc: libvlccore | ||
cd lib && $(MAKE) $(AM_MAKEFLAGS) libvlc.la | ||
|
||
core: libvlc vlc$(EXEEXT) | ||
cd bin && $(MAKE) $(AM_MAKEFLAGS) vlc$(EXEEXT) vlc-static$(EXEEXT) | ||
|
||
doc: | ||
cd doc && $(MAKE) $(AM_MAKEFLAGS) doc | ||
|
||
.PHONY: libvlc core doc | ||
|
||
############################################################################### | ||
# Building aliases | ||
############################################################################### | ||
|
||
ALL_ALIASES = cvlc rvlc svlc qvlc nvlc | ||
if BUILD_VLC | ||
bin_SCRIPTS = $(ALIASES) | ||
endif | ||
CLEANFILES += $(ALIASES) $(noinst_SCRIPTS) | ||
EXTRA_SCRIPTS = $(ALL_ALIASES) | ||
|
||
dist_noinst_SCRIPTS += make-alias | ||
|
||
MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@ | ||
|
||
cvlc: make-alias Makefile | ||
$(AM_V_GEN)$(MKALIAS) dummy | ||
|
||
rvlc: make-alias Makefile | ||
$(AM_V_GEN)$(MKALIAS) rc | ||
|
||
svlc: make-alias Makefile | ||
$(AM_V_GEN)$(MKALIAS) skins2 | ||
|
||
qvlc: make-alias Makefile | ||
$(AM_V_GEN)$(MKALIAS) qt | ||
|
||
nvlc: make-alias Makefile | ||
$(AM_V_GEN)$(MKALIAS) ncurses | ||
|
||
if BUILD_VLC | ||
noinst_SCRIPTS = vlc$(EXEEXT) | ||
endif | ||
|
||
vlc$(EXEEXT): | ||
if HAVE_DARWIN | ||
$(AM_V_GEN)$(LN_S) -f bin/vlc-osx-static vlc | ||
else | ||
$(AM_V_GEN)$(LN_S) -f bin/vlc-static$(EXEEXT) vlc$(EXEEXT) | ||
endif | ||
|
||
TESTS = test/run_vlc.sh | ||
dist_noinst_SCRIPTS += test/run_vlc.sh | ||
|
||
if BUILD_VLC | ||
############################################################################### | ||
# Installing plugins cache | ||
############################################################################### | ||
install-exec-hook: | ||
if test "$(build)" = "$(host)"; then \ | ||
PATH="$(DESTDIR)$(bindir):$$PATH" \ | ||
LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \ | ||
DYLD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$DYLD_LIBRARY_PATH" \ | ||
"$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \ | ||
"$(DESTDIR)$(vlclibdir)/plugins" ; \ | ||
else \ | ||
echo "Cross-compilation: cache generation skipped!" ; \ | ||
fi | ||
endif | ||
|
||
uninstall-hook: | ||
rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat" | ||
|
||
############################################################################### | ||
# Test coverage | ||
############################################################################### | ||
|
||
lcov-raw.out: | ||
$(MAKE) $(AM_MAKEFLAGS) all | ||
lcov -z -d . | ||
$(MAKE) $(AM_MAKEFLAGS) check | ||
lcov -c -d . -o lcov-raw.out | ||
|
||
lcov.out: lcov-raw.out | ||
lcov -r lcov-raw.out -o lcov.out \ | ||
'*test*' 'contrib/*' '/usr/include/*' | ||
|
||
lcov: lcov.out | ||
rm -Rf lcov lcov.tmp | ||
prefix="$$(cd "$(top_srcdir)" && pwd)" ; \ | ||
genhtml -p "$$prefix" -o lcov.tmp lcov.out >/dev/null | ||
mv lcov.tmp lcov | ||
|
||
.PHONY: lcov-raw.out | ||
|
||
|
||
############################################################################### | ||
# PO translation files update | ||
############################################################################### | ||
.PHONY: update-po | ||
|
||
update-po: | ||
cd po && $(MAKE) POTFILES vlc.pot update-po | ||
|
||
############################################################################### | ||
# OS Packaging rules | ||
############################################################################### | ||
include extras/package/macosx/package.mak | ||
include extras/package/win32/package.mak | ||
include extras/package/win32/msi.mak | ||
|
Oops, something went wrong.