Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e4048e1a
Commit
e4048e1a
authored
Dec 02, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: move MPC to the modern SV7 & SV8 library
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
49c6bc96
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
44 deletions
+21
-44
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-16
extras/contrib/src/Patches/libmpc-simple.patch
extras/contrib/src/Patches/libmpc-simple.patch
+16
-0
extras/contrib/src/Patches/mpcdec.patch
extras/contrib/src/Patches/mpcdec.patch
+0
-28
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+1
-0
No files found.
extras/contrib/src/Makefile
View file @
e4048e1a
...
...
@@ -2039,24 +2039,12 @@ DISTCLEAN_PKG += SDL_image-$(SDL_IMAGE_VERSION).tar.gz
# Musepack decoder library (libmpcdec)
# ***************************************************************************
libmpcdec-$(MUSE_VERSION).tar.bz2
:
$(WGET)
$(MUSE_URL)
mpcdec
:
libmpcdec-$(MUSE_VERSION).tar.bz2
$(EXTRACT_BZ2)
patch
-p0
< Patches/mpcdec.patch
(
cd
$@
;
autoreconf
-ivf
)
mpcdec
:
$(SVN)
co
$(MUSE_SVN)
-r
468 mpcdec
cd
$@
;
patch
-p0
< ../Patches/libmpc-simple.patch
.mpcdec
:
mpcdec
ifdef
HAVE_WIN32
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
-D_PTRDIFF_T
=
mpc_int32_t
&&
make
&&
make
install
)
else
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
&&
make
&&
make
install
)
endif
ifdef
HAVE_DARWIN_OS
$(INSTALL_NAME)
endif
touch
$@
(
cd
$<
;
cmake
.
-DCMAKE_TOOLCHAIN_FILE
=
../../toolchain.cmake
-DCMAKE_INSTALL_PREFIX
=
$(PREFIX)
&&
make
install
)
CLEAN_FILE
+=
.mpcdec
CLEAN_PKG
+=
mpcdec
...
...
extras/contrib/src/Patches/libmpc-simple.patch
0 → 100644
View file @
e4048e1a
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (révision 468)
+++ CMakeLists.txt (copie de travail)
@@ -23,11 +23,9 @@
add_subdirectory(libmpcpsy)
add_subdirectory(libmpcenc)
add_subdirectory(libwavformat)
-add_subdirectory(mpcgain)
add_subdirectory(mpcdec)
add_subdirectory(mpcenc)
add_subdirectory(mpc2sv8)
add_subdirectory(mpccut)
-add_subdirectory(mpcchap)
add_subdirectory(wavcmp)
add_subdirectory(include)
extras/contrib/src/Patches/mpcdec.patch
deleted
100644 → 0
View file @
49c6bc96
--- mpcdec/configure.ac 2007-04-17 21:05:32.000000000 +0200
+++ mpcdec/configure.ac 2007-09-06 23:52:09.000000000 +0200
@@ -8,6 +8,9 @@
CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fPIC"
+AC_PROG_CC
+AC_PROG_CXX
+
AC_C_BIGENDIAN(,CFLAGS="$CFLAGS -DMPC_LITTLE_ENDIAN",)
AC_HEADER_STDC
@@ -58,10 +58,15 @@
ac_cv_c_int64_t=int64_t
fi
+if test "x$cross_compiling" = "xyes" ; then
+AC_CHECK_FUNCS([memcmp], [],
+ AC_MSG_ERROR([memcmp is missing.]))
+else
AC_FUNC_MEMCMP
if test "x$ac_cv_func_memcmp_working" = "xno" ; then
AC_MSG_ERROR([working memcmp is not available.])
fi
+fi
AC_CHECK_FUNCS([memmove memset], [],
AC_MSG_ERROR([memset or memmove is missing.]))
extras/contrib/src/packages.mak
View file @
e4048e1a
...
...
@@ -171,6 +171,7 @@ SDL_IMAGE_VERSION=1.2.10
SDL_IMAGE_URL
=
http://www.libsdl.org/projects/SDL_image/release/SDL_image-
$(SDL_IMAGE_VERSION)
.tar.gz
MUSE_VERSION
=
1.2.6
MUSE_URL
=
http://files.musepack.net/source/libmpcdec-
$(MUSE_VERSION)
.tar.bz2
MUSE_SVN
=
http://svn.musepack.net/libmpc/trunk/
#MUSE_URL=http://files2.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
QT4_VERSION
=
4.6.2
QT4_URL
=
$(CONTRIB_VIDEOLAN)
/qt4-
$(QT4_VERSION)
-win32-bin
.tar.bz2
...
...
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