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
7eecb5b7
Commit
7eecb5b7
authored
Jul 22, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: add --disable-net to disable network related code
parent
13d6ea6c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
0 deletions
+21
-0
contrib/bootstrap
contrib/bootstrap
+6
-0
contrib/src/cddb/rules.mak
contrib/src/cddb/rules.mak
+2
-0
contrib/src/ffmpeg/rules.mak
contrib/src/ffmpeg/rules.mak
+3
-0
contrib/src/gnutls/rules.mak
contrib/src/gnutls/rules.mak
+2
-0
contrib/src/live555/rules.mak
contrib/src/live555/rules.mak
+2
-0
contrib/src/shout/rules.mak
contrib/src/shout/rules.mak
+2
-0
contrib/src/upnp/rules.mak
contrib/src/upnp/rules.mak
+2
-0
contrib/src/vncserver/rules.mak
contrib/src/vncserver/rules.mak
+2
-0
No files found.
contrib/bootstrap
View file @
7eecb5b7
...
...
@@ -27,6 +27,7 @@ usage()
echo
" --disable-FOO configure to not build package FOO"
echo
" --enable-FOO configure to build package FOO"
echo
" --disable-disc configure to not build optical discs packages"
echo
" --disable-net configure to not build networking 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"
...
...
@@ -38,6 +39,7 @@ PREFIX=
PKGS_ENABLE
=
PKGS_DISABLE
=
BUILD_ENCODERS
=
"1"
BUILD_NETWORK
=
"1"
BUILD_DISCS
=
"1"
GPL
=
"1"
...
...
@@ -66,6 +68,9 @@ do
--disable-disc
)
BUILD_DISCS
=
;;
--disable-net
)
BUILD_NETWORK
=
;;
--disable-sout
)
BUILD_ENCODERS
=
;;
...
...
@@ -204,6 +209,7 @@ check_android_sdk()
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
"
$BUILD_NETWORK
"
||
add_make_enabled
"BUILD_NETWORK"
test
-z
"
$ENABLE_SMALL
"
||
add_make_enabled
"ENABLE_SMALL"
test
-z
"
$GPL
"
||
add_make_enabled
"GPL"
...
...
contrib/src/cddb/rules.mak
View file @
7eecb5b7
...
...
@@ -2,9 +2,11 @@
CDDB_VERSION
:=
1.3.2
CDDB_URL
:=
$(SF)
/libcddb/libcddb-
$(CDDB_VERSION)
.tar.bz2
ifdef
BUILD_NETWORK
ifdef
BUILD_DISCS
PKGS
+=
cddb
endif
endif
ifeq
($(call need_pkg,"libcddb"),)
PKGS_FOUND
+=
cddb
endif
...
...
contrib/src/ffmpeg/rules.mak
View file @
7eecb5b7
...
...
@@ -27,6 +27,9 @@ FFMPEGCONF = \
DEPS_ffmpeg
=
zlib gsm openjpeg
# Optional dependencies
ifndef
BUILD_NETWORK
FFMPEGCONF
+=
--disable-network
endif
ifdef
BUILD_ENCODERS
FFMPEGCONF
+=
--enable-libmp3lame
--enable-libvpx
--disable-decoder
=
libvpx
--disable-decoder
=
libvpx_vp8
--disable-decoder
=
libvpx_vp9
DEPS_ffmpeg
+=
lame
$(DEPS_lame)
vpx
$(DEPS_vpx)
...
...
contrib/src/gnutls/rules.mak
View file @
7eecb5b7
...
...
@@ -3,7 +3,9 @@
GNUTLS_VERSION
:=
3.1.12
GNUTLS_URL
:=
ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-
$(GNUTLS_VERSION)
.tar.xz
ifdef
BUILD_NETWORK
PKGS
+=
gnutls
endif
ifeq
($(call need_pkg,"gnutls >= 3.0.20"),)
PKGS_FOUND
+=
gnutls
endif
...
...
contrib/src/live555/rules.mak
View file @
7eecb5b7
...
...
@@ -4,7 +4,9 @@
LIVE555_FILE
:=
live.2012.12.18.tar.gz
LIVEDOTCOM_URL
:=
http://download.videolan.org/pub/contrib/live555/
$(LIVE555_FILE)
ifdef
BUILD_NETWORK
PKGS
+=
live555
endif
$(TARBALLS)/$(LIVE555_FILE)
:
$(
call
download,
$(LIVEDOTCOM_URL)
)
...
...
contrib/src/shout/rules.mak
View file @
7eecb5b7
...
...
@@ -4,8 +4,10 @@ SHOUT_VERSION := 2.3.1
SHOUT_URL
:=
http://downloads.us.xiph.org/releases/libshout/libshout-
$(SHOUT_VERSION)
.tar.gz
ifdef
BUILD_ENCODERS
ifdef
BUILD_NETWORK
PKGS
+=
shout
endif
endif
ifeq
($(call need_pkg,"shout >= 2.1"),)
PKGS_FOUND
+=
shout
endif
...
...
contrib/src/upnp/rules.mak
View file @
7eecb5b7
...
...
@@ -2,7 +2,9 @@
UPNP_VERSION
:=
1.6.18
UPNP_URL
:=
$(SF)
/pupnp/libupnp-
$(UPNP_VERSION)
.tar.bz2
ifdef
BUILD_NETWORK
PKGS
+=
upnp
endif
$(TARBALLS)/libupnp-$(UPNP_VERSION).tar.bz2
:
$(
call
download,
$(UPNP_URL)
)
...
...
contrib/src/vncserver/rules.mak
View file @
7eecb5b7
...
...
@@ -3,7 +3,9 @@
VNCSERVER_VERSION
:=
0.9.9
VNCSERVER_URL
:=
$(SF)
/libvncserver/libvncserver/
$(VNCSERVER_VERSION)
/LibVNCServer-
$(VNCSERVER_VERSION)
.tar.gz
ifdef
BUILD_NETWORK
PKGS
+=
vncserver
endif
ifeq
($(call need_pkg,"libvncclient"),)
PKGS_FOUND
+=
vncserver
endif
...
...
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