Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e7403cbe
Commit
e7403cbe
authored
Dec 19, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: add --disable-gpl option to bootstrap
This will skip auto-select of libraries under the GPL
parent
b87e0b07
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
28 additions
and
0 deletions
+28
-0
contrib/bootstrap
contrib/bootstrap
+6
-0
contrib/src/a52/rules.mak
contrib/src/a52/rules.mak
+2
-0
contrib/src/dca/rules.mak
contrib/src/dca/rules.mak
+2
-0
contrib/src/dvdnav/rules.mak
contrib/src/dvdnav/rules.mak
+2
-0
contrib/src/dvdread/rules.mak
contrib/src/dvdread/rules.mak
+2
-0
contrib/src/faad2/rules.mak
contrib/src/faad2/rules.mak
+2
-0
contrib/src/libmpeg2/rules.mak
contrib/src/libmpeg2/rules.mak
+2
-0
contrib/src/mad/rules.mak
contrib/src/mad/rules.mak
+2
-0
contrib/src/postproc/rules.mak
contrib/src/postproc/rules.mak
+2
-0
contrib/src/samplerate/rules.mak
contrib/src/samplerate/rules.mak
+2
-0
contrib/src/sidplay2/rules.mak
contrib/src/sidplay2/rules.mak
+2
-0
contrib/src/x264/rules.mak
contrib/src/x264/rules.mak
+2
-0
No files found.
contrib/bootstrap
View file @
e7403cbe
...
...
@@ -29,6 +29,7 @@ usage()
echo
" --disable-disc configure to not build optical discs packages"
echo
" --disable-sout configure to not build stream output packages"
echo
" --enable-small optimize libraries for size with slight speed decrease [DANGEROUS]"
echo
" --disable-gpl configure to not build viral GPL code"
}
BUILD
=
...
...
@@ -38,6 +39,7 @@ PKGS_ENABLE=
PKGS_DISABLE
=
BUILD_ENCODERS
=
"1"
BUILD_DISCS
=
"1"
GPL
=
"1"
if
test
!
-f
"../../contrib/src/main.mak"
then
...
...
@@ -70,6 +72,9 @@ do
--enable-small
)
ENABLE_SMALL
=
1
;;
--disable-gpl
)
GPL
=
;;
--disable-
*
)
PKGS_DISABLE
=
"
${
PKGS_DISABLE
}
${
1
#--disable-
}
"
;;
...
...
@@ -199,6 +204,7 @@ test -z "$PREFIX" || add_make "PREFIX := $PREFIX"
test
-z
"
$BUILD_DISCS
"
||
add_make_enabled
"BUILD_DISCS"
test
-z
"
$BUILD_ENCODERS
"
||
add_make_enabled
"BUILD_ENCODERS"
test
-z
"
$ENABLE_SMALL
"
||
add_make_enabled
"ENABLE_SMALL"
test
-z
"
$GPL
"
||
add_make_enabled
"GPL"
#
# Checks
...
...
contrib/src/a52/rules.mak
View file @
e7403cbe
...
...
@@ -3,7 +3,9 @@
A52DEC_VERSION
:=
0.7.4
A52DEC_URL
:=
$(CONTRIB_VIDEOLAN)
/a52dec-
$(A52DEC_VERSION)
.tar.gz
ifdef
GPL
PKGS
+=
a52
endif
$(TARBALLS)/a52dec-$(A52DEC_VERSION).tar.gz
:
$(
call
download,
$(A52DEC_URL)
)
...
...
contrib/src/dca/rules.mak
View file @
e7403cbe
...
...
@@ -4,8 +4,10 @@ DCA_VERSION := 0.0.5
DCA_URL
:=
$(VIDEOLAN)
/libdca/
$(DCA_VERSION)
/libdca-
$(DCA_VERSION)
.tar.bz2
ifdef
HAVE_FPU
ifdef
GPL
PKGS
+=
dca
endif
endif
ifeq
($(call need_pkg,"libdca"),)
PKGS_FOUND
+=
dca
endif
...
...
contrib/src/dvdnav/rules.mak
View file @
e7403cbe
...
...
@@ -6,8 +6,10 @@ DVDNAV_GITURL := git://github.com/microe/libdvdnav
LIBDVDNAV_VERSION
:=
git
ifdef
BUILD_DISCS
ifdef
GPL
PKGS
+=
dvdnav
endif
endif
ifeq
($(call need_pkg,"dvdnav"),)
PKGS_FOUND
+=
dvdnav
endif
...
...
contrib/src/dvdread/rules.mak
View file @
e7403cbe
...
...
@@ -4,8 +4,10 @@ LIBDVDREAD_VERSION := 4.2.0
LIBDVDREAD_URL
:=
http://dvdnav.mplayerhq.hu/releases/libdvdread-
$(LIBDVDREAD_VERSION)
.tar.bz2
ifdef
BUILD_DISCS
ifdef
GPL
PKGS
+=
dvdread
endif
endif
ifeq
($(call need_pkg,"dvdread"),)
PKGS_FOUND
+=
dvdread
endif
...
...
contrib/src/faad2/rules.mak
View file @
e7403cbe
...
...
@@ -5,8 +5,10 @@ FAAD2_URL := $(SF)/faac/faad2-$(FAAD2_VERSION).tar.gz
ifeq
($(findstring $(ARCH),arm),)
# FAAD is a lot slower than lavc on ARM. Skip it.
ifdef
GPL
PKGS
+=
faad2
endif
endif
$(TARBALLS)/faad2-$(FAAD2_VERSION).tar.gz
:
$(
call
download,
$(FAAD2_URL)
)
...
...
contrib/src/libmpeg2/rules.mak
View file @
e7403cbe
...
...
@@ -3,7 +3,9 @@
LIBMPEG2_VERSION
=
0.5.1
LIBMPEG2_URL
:=
http://libmpeg2.sourceforge.net/files/libmpeg2-
$(LIBMPEG2_VERSION)
.tar.gz
ifdef
GPL
PKGS
+=
libmpeg2
endif
ifeq
($(call need_pkg,"libmpeg2"),)
PKGS_FOUND
+=
libmpeg2
endif
...
...
contrib/src/mad/rules.mak
View file @
e7403cbe
...
...
@@ -3,7 +3,9 @@
MAD_VERSION
:=
0.15.1b
MAD_URL
:=
$(CONTRIB_VIDEOLAN)
/libmad-
$(MAD_VERSION)
.tar.gz
ifdef
GPL
PKGS
+=
mad
endif
ifeq
($(call need_pkg,"mad"),)
PKGS_FOUND
+=
mad
endif
...
...
contrib/src/postproc/rules.mak
View file @
e7403cbe
...
...
@@ -84,7 +84,9 @@ POSTPROC_CFLAGS += --std=gnu99
# Build
ifdef
GPL
PKGS
+=
postproc
endif
ifeq
($(call need_pkg,"libpostproc"),)
PKGS_FOUND
+=
postproc
endif
...
...
contrib/src/samplerate/rules.mak
View file @
e7403cbe
...
...
@@ -2,7 +2,9 @@
SAMPLERATE_VERSION
:=
0.1.8
SAMPLERATE_URL
:=
http://www.mega-nerd.com/SRC/libsamplerate-
$(SAMPLERATE_VERSION)
.tar.gz
ifdef
GPL
PKGS
+=
samplerate
endif
ifeq
($(call need_pkg,"samplerate"),)
PKGS_FOUND
+=
samplerate
endif
...
...
contrib/src/sidplay2/rules.mak
View file @
e7403cbe
...
...
@@ -3,7 +3,9 @@
SID_VERSION
:=
2.1.1
SID_URL
:=
$(SF)
/sidplay2/sidplay2/sidplay-libs-
$(SID_VERSION)
/sidplay-libs-
$(SID_VERSION)
.tar.gz
ifdef
GPL
PKGS
+=
sidplay2
endif
$(TARBALLS)/sidplay-libs-$(SID_VERSION).tar.gz
:
$(
call
download,
$(SID_URL)
)
...
...
contrib/src/x264/rules.mak
View file @
e7403cbe
...
...
@@ -4,8 +4,10 @@ X264_GITURL := git://git.videolan.org/x264.git
X264_SNAPURL
:=
http://git.videolan.org/?p
=
x264.git
;
a
=
snapshot
;
h
=
HEAD
;
sf
=
tgz
ifdef
BUILD_ENCODERS
ifdef
GPL
PKGS
+=
x264
endif
endif
ifeq
($(call need_pkg,"x264 >= 0.86"),)
PKGS_FOUND
+=
x264
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment