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
93ca90e6
Commit
93ca90e6
authored
Jul 23, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix installation of ffmpeg-svn version
parent
e24fb253
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
84 additions
and
1 deletion
+84
-1
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+2
-1
extras/contrib/src/Patches/ffmpeg-install.patch
extras/contrib/src/Patches/ffmpeg-install.patch
+82
-0
No files found.
extras/contrib/src/Makefile
View file @
93ca90e6
...
...
@@ -181,7 +181,7 @@ else
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora
\
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss
\
.live .goom2k4 .caca .mod .x264 .xml .twolame
\
.mpcdec
\
.
png .gpg-error .gcrypt .gnutls .
mpcdec
\
.dvdnav .dvbpsi .wxwidgets .dirac
\
.aclocal .libdca
# .png .gpg-error .gcrypt .gnutls .mpcdec\
...
...
@@ -907,6 +907,7 @@ endif
ifeq
($(HOST),i686-apple-darwin8)
(
cd
$@
;
patch
-p
0 < ../Patches/ffmpeg-svn-mactel.patch
)
endif
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-install.patch
)
ffmpeg-$(FFMPEG_VERSION).tar.gz
:
$(WGET)
$(FFMPEG_URL)
...
...
extras/contrib/src/Patches/ffmpeg-install.patch
0 → 100644
View file @
93ca90e6
Index: configure
===================================================================
--- configure (revision 5813)
+++ configure (working copy)
@@ -1552,6 +1552,13 @@
echo "Creating config.mak and config.h..."
+if test "$force_prefix" = yes; then
+ libdir="${prefix}/lib"
+ incdir="${prefix}/include/ffmpeg"
+ mandir="${prefix}/man"
+ bindir="${prefix}/bin"
+fi
+
date >> config.log
echo " $0 $FFMPEG_CONFIGURATION" >> config.log
echo "# Automatically generated by configure - do not modify!" > config.mak
Index: common.mak
===================================================================
--- common.mak (revision 5813)
+++ common.mak (working copy)
@@ -21,7 +21,7 @@
ln -sf $^ $@
$(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS)
- $(CC) $(SHFLAGS) $(LDFLAGS) -o $@ $^ $(EXTRALIBS) $(EXTRAOBJS)
+ $(CC) $(LDFLAGS) $(SHFLAGS) -o $@ $^ $(EXTRALIBS) $(EXTRAOBJS)
ifeq ($(CONFIG_MINGW),yes)
-lib /machine:i386 /def:$(@:.dll=.def)
endif
@@ -60,7 +60,7 @@
install-libs: $(INSTLIBTARGETS)
install-lib-shared: $(SLIBNAME)
- install -d "$(libdir)"
+ install -d "$(prefix)$(libdir)"
ifeq ($(CONFIG_MINGW),yes)
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
else
@@ -73,14 +73,14 @@
endif
install-lib-static: $(LIB)
- install -d "$(libdir)"
- install -m 644 $(LIB) "$(libdir)"
+ install -d "$(prefix)$(libdir)"
+ install -m 644 $(LIB) "$(prefix)$(libdir)"
install-headers:
- install -d "$(incdir)"
- install -d "$(libdir)/pkgconfig"
- install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(incdir)"
- install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(libdir)/pkgconfig"
+ install -d "$(prefix)$(incdir)"
+ install -d "$(prefix)$(libdir)/pkgconfig"
+ install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(prefix)$(incdir)"
+ install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(prefix)$(libdir)/pkgconfig"
uninstall: uninstall-libs uninstall-headers
@@ -88,15 +88,15 @@
ifeq ($(CONFIG_MINGW),yes)
-rm -f $(prefix)/$(SLIBNAME)
else
- -rm -f $(libdir)/$(SLIBNAME_WITH_MAJOR) \
- $(libdir)/$(SLIBNAME) \
- $(libdir)/$(SLIBNAME_WITH_VERSION)
+ -rm -f $(prefix)$(libdir)/$(SLIBNAME_WITH_MAJOR) \
+ $(prefix)$(libdir)/$(SLIBNAME) \
+ $(prefix)$(libdir)/$(SLIBNAME_WITH_VERSION)
endif
- -rm -f $(libdir)/$(LIB)
+ -rm -f $(prefix)$(libdir)/$(LIB)
uninstall-headers:
rm -f $(addprefix $(incdir)/,$(HEADERS))
- rm -f $(libdir)/pkgconfig/lib$(NAME).pc
+ rm -f $(prefix)$(libdir)/pkgconfig/lib$(NAME).pc
#
# include dependency files if they exist
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