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
34911af6
Commit
34911af6
authored
Jun 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: add musepack
parent
daaa6375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
contrib/src/mpcdec/rules.mak
contrib/src/mpcdec/rules.mak
+54
-0
No files found.
contrib/src/mpcdec/rules.mak
0 → 100644
View file @
34911af6
# Musepack decoder
PKGS
+=
mpcdec
#MUSE_VERSION := 1.2.6
#MUSE_URL := http://files.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
#MUSE_URL := http://files2.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
#MUSE_REV := 435
#MUSE_URL := http://files.musepack.net/source/musepack_src_r$(MUSE_REV).tar.gz
#$(TARBALLS)/musepack_src_r$(MUSE_REV).tar.gz:
# $(call download,$(MUSE_URL))
MUSE_REV
:=
468
MUSE_SVN
:=
http://svn.musepack.net/libmpc/trunk/
$(TARBALLS)/musepack_src_r$(MUSE_REV).tar.gz
:
rm
-Rf
musepack_src_r
$(MUSE_REV)
$(SVN)
export
$(MUSE_SVN)
-r
$(MUSE_REV)
musepack_src_r
$(MUSE_REV)
tar
czv musepack_src_r
$(MUSE_REV)
>
$@
.sum-mpcdec
:
musepack_src_r$(MUSE_REV).tar.gz
$(
warning
$@
not implemented
)
touch
$@
musepack
:
musepack_src_r$(MUSE_REV).tar.gz .sum-mpcdec
$(UNPACK)
sed
-i
.orig
\
-e
's,^add_subdirectory(mpcgain),,g'
\
-e
's,^add_subdirectory(mpcchap),,g'
\
$@
_src_r
$(MUSE_REV)
/CMakeLists.txt
ifdef
HAVE_MACOSX
cd
musepack_src_r
$(MUSE_REV)
&&
\
sed
-e
's%-O3 -Wall%-O3 -Wall
$(CFLAGS)
%'
CMakeLists.txt
endif
mv
$@
_src_r
$(MUSE_REV)
$@
touch
$@
.mpcdec
:
musepack toolchain.cmake
cd
$<
&&
cmake
.
\
-DCMAKE_TOOLCHAIN_FILE
=
../toolchain.cmake
\
-DCMAKE_INSTALL_PREFIX
=
"
$(PREFIX)
"
cd
$<
&&
make
mkdir
-p
--
"
$(PREFIX)
/lib"
ifdef
HAVE_WIN32
cd
$<
&&
cp
libmpcdec/libmpcdec_static.a
"
$(PREFIX)
/lib/libmpcdec.a"
endif
ifdef
HAVE_MACOSX
cd
$<
&&
cp
libmpcdec/libmpcdec.dylib
"
$(PREFIX)
/lib/libmpcdec.dylib"
install_name_tool
-id
"
$(PREFIX)
/lib/libmpcdec.dylib"
\
"
$(PREFIX)
/lib/libmpcdec.dylib"
endif
touch
$@
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