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
922b5784
Commit
922b5784
authored
Aug 09, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: compile whole modplug on Win32
It now compiles fine
parent
ddb682a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
83 deletions
+47
-83
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+47
-59
extras/contrib/src/Patches/libmodplug-win32.patch
extras/contrib/src/Patches/libmodplug-win32.patch
+0
-24
No files found.
extras/contrib/src/Makefile
View file @
922b5784
...
...
@@ -884,6 +884,53 @@ CLEAN_FILE += .faad
CLEAN_PKG
+=
faad2
DISTCLEAN_PKG
+=
faad2-
$(FAAD2_VERSION)
.tar.gz
# ***************************************************************************
# libebml
# ***************************************************************************
libebml-$(LIBEBML_VERSION).tar.bz2
:
$(WGET)
$(LIBEBML_URL)
libebml
:
libebml-$(LIBEBML_VERSION).tar.bz2
$(EXTRACT_BZ2)
.ebml
:
libebml
ifdef
HAVE_WIN32
(
cd
$<
;
make
-C
make/mingw32
prefix
=
$(PREFIX)
$(HOSTCC)
SHARED
=
no
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
$(HOSTCC)
)
else
(
cd
$<
;
make
-C
make/linux
prefix
=
$(PREFIX)
$(HOSTCC2)
staticlib
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
)
$(RANLIB)
$(PREFIX)
/lib/libebml.a
endif
touch
$@
CLEAN_FILE
+=
.ebml
CLEAN_PKG
+=
libebml
DISTCLEAN_PKG
+=
libebml-
$(LIBEBML_VERSION)
.tar.bz2
# ***************************************************************************
# libmatroska
# ***************************************************************************
libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
:
$(WGET)
$(LIBMATROSKA_URL)
libmatroska
:
libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
$(EXTRACT_BZ2)
.matroska
:
libmatroska .ebml
ifdef
HAVE_WIN32
(
cd
$<
;
make
-C
make/mingw32
prefix
=
$(PREFIX)
$(HOSTCC)
SHARED
=
no
EBML_DLL
=
no libmatroska.a
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
$(HOSTCC)
)
else
(
cd
$<
;
make
-C
make/linux
prefix
=
$(PREFIX)
$(HOSTCC)
staticlib
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
)
$(RANLIB)
$(PREFIX)
/lib/libmatroska.a
endif
touch
$@
CLEAN_FILE
+=
.matroska
CLEAN_PKG
+=
libmatroska
DISTCLEAN_PKG
+=
libmatroska-
$(LIBMATROSKA_VERSION)
.tar.bz2
# ***************************************************************************
# libvp8
...
...
@@ -946,52 +993,6 @@ CLEAN_FILE += .lame
CLEAN_PKG
+=
lame
DISTCLEAN_PKG
+=
lame-
$(LAME_VERSION)
.tar.gz
# ***************************************************************************
# libebml
# ***************************************************************************
libebml-$(LIBEBML_VERSION).tar.bz2
:
$(WGET)
$(LIBEBML_URL)
libebml
:
libebml-$(LIBEBML_VERSION).tar.bz2
$(EXTRACT_BZ2)
.ebml
:
libebml
ifdef
HAVE_WIN32
(
cd
$<
;
make
-C
make/mingw32
prefix
=
$(PREFIX)
$(HOSTCC)
SHARED
=
no
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
$(HOSTCC)
)
else
(
cd
$<
;
make
-C
make/linux
prefix
=
$(PREFIX)
$(HOSTCC2)
staticlib
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
)
$(RANLIB)
$(PREFIX)
/lib/libebml.a
endif
touch
$@
CLEAN_FILE
+=
.ebml
CLEAN_PKG
+=
libebml
DISTCLEAN_PKG
+=
libebml-
$(LIBEBML_VERSION)
.tar.bz2
# ***************************************************************************
# libmatroska
# ***************************************************************************
libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
:
$(WGET)
$(LIBMATROSKA_URL)
libmatroska
:
libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
$(EXTRACT_BZ2)
.matroska
:
libmatroska .ebml
ifdef
HAVE_WIN32
(
cd
$<
;
make
-C
make/mingw32
prefix
=
$(PREFIX)
$(HOSTCC)
SHARED
=
no
EBML_DLL
=
no libmatroska.a
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
$(HOSTCC)
)
else
(
cd
$<
;
make
-C
make/linux
prefix
=
$(PREFIX)
$(HOSTCC)
staticlib
&&
make
-C
make/linux install_staticlib install_headers
prefix
=
$(PREFIX)
)
$(RANLIB)
$(PREFIX)
/lib/libmatroska.a
endif
touch
$@
CLEAN_FILE
+=
.matroska
CLEAN_PKG
+=
libmatroska
DISTCLEAN_PKG
+=
libmatroska-
$(LIBMATROSKA_VERSION)
.tar.bz2
# ***************************************************************************
# libamrnb
...
...
@@ -1143,15 +1144,6 @@ CLEAN_FILE += .dvdcss
CLEAN_PKG
+=
libdvdcss
DISTCLEAN_PKG
+=
libdvdcss-
$(LIBDVDCSS_VERSION)
.tar.bz2
# ***************************************************************************
# dummy dvdread to trigger the INSTALL_NAME script
# ***************************************************************************
# .dvdread: .dvdnav
# $(INSTALL_NAME)
# touch $@
#
# CLEAN_FILE += .dvdread
# ***************************************************************************
# libdvdread: We use dvdnav's dvdread
# ***************************************************************************
...
...
@@ -1420,10 +1412,6 @@ libmodplug-$(MODPLUG_VERSION).tar.gz:
libmodplug
:
libmodplug-$(MODPLUG_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef
HAVE_WIN32
patch
-p0
< Patches/libmodplug-win32.patch
(
cd
$@
;
autoreconf
-ivf
)
endif
.mod
:
libmodplug
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
--disable-shared
--enable-static
&&
make
&&
make
install
)
...
...
extras/contrib/src/Patches/libmodplug-win32.patch
deleted
100644 → 0
View file @
ddb682a6
--- libmodplug-0.8.4/src/Makefile.am 2006-11-02 04:48:13.000000000 +0100
+++ libmodplug/src/Makefile.am 2008-04-06 07:55:35.000000000 +0200
@@ -32,9 +32,6 @@
load_j2b.cpp \
load_mt2.cpp \
load_psm.cpp \
- load_abc.cpp \
- load_mid.cpp \
- load_pat.cpp \
modplug.cpp
libmodplugincludedir = $(includedir)/libmodplug
diff -ru libmodplug/src/sndfile.cpp libmodplug-new/src/sndfile.cpp
--- libmodplug/src/sndfile.cpp 2006-11-02 04:31:26.000000000 +0000
+++ libmodplug-new/src/sndfile.cpp 2008-04-12 20:56:39.000000000 +0100
@@ -143,8 +143,5 @@
#ifndef MODPLUG_BASIC_SUPPORT
/* Sequencer File Format Support */
- && (!ReadABC(lpStream, dwMemLength))
- && (!ReadMID(lpStream, dwMemLength))
- && (!ReadPAT(lpStream, dwMemLength))
&& (!ReadSTM(lpStream, dwMemLength))
&& (!ReadMed(lpStream, dwMemLength))
&& (!ReadMTM(lpStream, dwMemLength))
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