Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e975cd47
Commit
e975cd47
authored
Sep 23, 2005
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* debian/rules: removed useless magic in the faad2/x264 build.
parent
b1e57e2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
41 deletions
+30
-41
debian/rules
debian/rules
+30
-41
No files found.
debian/rules
View file @
e975cd47
...
@@ -7,12 +7,17 @@
...
@@ -7,12 +7,17 @@
#export DH_VERBOSE=1
#export DH_VERBOSE=1
include /usr/share/dpatch/dpatch.make
include /usr/share/dpatch/dpatch.make
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
confflags = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
#
#
# Compilation options
# Compilation options
#
#
vlc_confflags = --enable-release --prefix=/usr
CONFIG_FLAGS = --enable-release --prefix=/usr
vlc_confflags += \
CONFIG_FLAGS += \
--disable-gnome \
--disable-gnome \
--disable-gtk \
--disable-gtk \
--disable-familiar \
--disable-familiar \
...
@@ -66,13 +71,13 @@ CONFIG_FLAGS += \
...
@@ -66,13 +71,13 @@ CONFIG_FLAGS += \
$(NULL)
$(NULL)
# These ones are currently shipped with VLC
# These ones are currently shipped with VLC
CONFIG_FLAGS
+= --enable-faad --with-faad-tree=extras/faad2
vlc_confflags
+= --enable-faad --with-faad-tree=extras/faad2
CONFIG_FLAGS
+= --enable-x264 --with-x264-tree=extras/x264
vlc_confflags
+= --enable-x264 --with-x264-tree=extras/x264
# Glide and svgalib are only for x86
# Glide and svgalib are only for x86
ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU),i386)
ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU),i386)
CONFIG_FLAGS
+= --enable-glide
vlc_confflags
+= --enable-glide
CONFIG_FLAGS
+= --enable-svgalib
vlc_confflags
+= --enable-svgalib
endif
endif
# We need this hack for i386 and amd64
# We need this hack for i386 and amd64
...
@@ -86,7 +91,7 @@ export CC
...
@@ -86,7 +91,7 @@ export CC
endif
endif
# Remove --without-dvdcss in non-totalitarian countries
# Remove --without-dvdcss in non-totalitarian countries
CONFIG_FLAGS
+= --enable-dvd --without-dvdcss
vlc_confflags
+= --enable-dvd --without-dvdcss
# A few shortcuts
# A few shortcuts
VIDDIR = usr/share/vlc
VIDDIR = usr/share/vlc
...
@@ -111,29 +116,25 @@ configure-stamp:
...
@@ -111,29 +116,25 @@ configure-stamp:
# Check that we have an x264 tree in here (can be a symlink)
# Check that we have an x264 tree in here (can be a symlink)
test -d extras/x264
test -d extras/x264
if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/x264 \
cd extras/x264 \
&& ./configure $(confflags) --extra-cflags='$$(ECFLAGS)' \
&& ./configure --extra-cflags='$$(ECFLAGS)' \
&& $(MAKE)
&& $(MAKE); \
fi
# Check that we have an faad2 tree in here (can be a symlink)
# Check that we have an faad2 tree in here (can be a symlink)
test -d extras/faad2
test -d extras/faad2
if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/faad2 \
cd extras/faad2 \
&& touch `find . -name configure.in` \
&& touch `find . -name configure.in` \
&& touch `find . -name aclocal.m4` \
&& touch `find . -name aclocal.m4` \
&& touch `find . -name configure` \
&& touch `find . -name configure` \
&& touch `find . -name config.h.in` \
&& touch `find . -name config.h.in` \
&& touch `find . -name Makefile.in` \
&& touch `find . -name Makefile.in` \
&& ./configure $(confflags) --disable-shared \
&& ./configure --disable-shared \
&& cd libfaad \
&& cd libfaad \
&& $(MAKE)
&& $(MAKE); \
fi
# Configure VLC
# Configure VLC
./configure --mandir=$${prefix}/share/man \
./configure --mandir=$${prefix}/share/man \
--infodir=$${prefix}/share/info $(
CONFIG_FLAGS
)
--infodir=$${prefix}/share/info $(
confflags) $(vlc_confflags
)
touch configure-stamp
touch configure-stamp
...
@@ -147,18 +148,10 @@ build-stamp: patch configure-stamp
...
@@ -147,18 +148,10 @@ build-stamp: patch configure-stamp
$(MAKE) vlc
$(MAKE) vlc
# Hackety hackety hack
# Hackety hackety hack
if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/x264 && $(MAKE) clean && $(MAKE) ECFLAGS=-fPIC
cd extras/x264 \
&& $(MAKE) clean \
&& $(MAKE) ECFLAGS=-fPIC; \
fi
# HACKETY HACKETY HACK
# HACKETY HACKETY HACK
if test ! '(' -d CVS -o -d .svn ')'; then \
cd extras/faad2/libfaad && $(MAKE) clean && $(MAKE) AM_CFLAGS=-fPIC
cd extras/faad2/libfaad \
&& $(MAKE) clean \
&& $(MAKE) AM_CFLAGS=-fPIC; \
fi
# Build all the rest, with the PIC libs
# Build all the rest, with the PIC libs
AM_MAKEFLAGS='builtin=no' $(MAKE)
AM_MAKEFLAGS='builtin=no' $(MAKE)
...
@@ -172,14 +165,10 @@ clean: unpatch
...
@@ -172,14 +165,10 @@ clean: unpatch
# Check that we have an x264 tree in here (can be a symlink)
# Check that we have an x264 tree in here (can be a symlink)
test -d extras/x264
test -d extras/x264
-if test ! '(' -d CVS -o -d .svn ')'; then \
-cd extras/x264 && $(MAKE) distclean
cd extras/x264 && $(MAKE) distclean; \
fi
# Check that we have an faad2 tree in here (can be a symlink)
# Check that we have an faad2 tree in here (can be a symlink)
test -d extras/faad2
test -d extras/faad2
-if test ! '(' -d CVS -o -d .svn ')'; then \
-cd extras/faad2 && $(MAKE) distclean
cd extras/faad2 && $(MAKE) distclean; \
fi
# Clean zsh completion stuff
# Clean zsh completion stuff
rm -f extras/zsh
rm -f extras/zsh
...
...
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