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
2d537948
Commit
2d537948
authored
Jun 27, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: add FLAC
parent
d8388be5
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
404 additions
and
0 deletions
+404
-0
contrib/src/flac/SHA512SUMS
contrib/src/flac/SHA512SUMS
+1
-0
contrib/src/flac/flac-win32.patch
contrib/src/flac/flac-win32.patch
+351
-0
contrib/src/flac/libFLAC-pc.patch
contrib/src/flac/libFLAC-pc.patch
+10
-0
contrib/src/flac/rules.mak
contrib/src/flac/rules.mak
+42
-0
No files found.
contrib/src/flac/SHA512SUMS
0 → 100644
View file @
2d537948
39b216239341fbfe210c3a2fc0d0531ecae26c425365c4b6d4fc1081e44e6dc7a9aba8d4c79cc8025386d0a7bb0d25c413c9b64cf7da9ab04ca34a56d2699787 flac-1.2.1.tar.gz
contrib/src/flac/flac-win32.patch
0 → 100644
View file @
2d537948
This diff is collapsed.
Click to expand it.
contrib/src/flac/libFLAC-pc.patch
0 → 100644
View file @
2d537948
--- flac/src/libFLAC/flac.pc.in 2007-02-07 02:07:32.000000000 +0100
+++ flac.new/src/libFLAC/flac.pc.in 2011-06-10 17:53:44.337825845 +0200
@@ -6,5 +6,6 @@
Name: FLAC
Description: Free Lossless Audio Codec Library
Version: @VERSION@
-Libs: -L${libdir} -lFLAC -lm
+Libs: -L${libdir} -lFLAC -logg -lm
Cflags: -I${includedir}/FLAC
+Requires.private: ogg
contrib/src/flac/rules.mak
0 → 100644
View file @
2d537948
# FLAC
FLAC_VERSION
:=
1.2.1
FLAC_URL
:=
$(SF)
/flac/flac-
$(FLAC_VERSION)
.tar.gz
PKGS
+=
flac
$(TARBALLS)/flac-$(FLAC_VERSION).tar.gz
:
$(DOWNLOAD)
$(FLAC_URL)
.sum-flac
:
$(TARBALLS)/flac-$(FLAC_VERSION).tar.gz
$(CHECK_SHA512)
touch
$@
flac
:
$(TARBALLS)/flac-$(FLAC_VERSION).tar.gz .sum-flac
$(UNPACK_GZ)
(
cd
$@
-
$(FLAC_VERSION)
&&
patch
-p1
)
<
$(SRC)
/flac/flac-win32.patch
(
cd
$@
-
$(FLAC_VERSION)
&&
patch
-p1
)
<
$(SRC)
/flac/libFLAC-pc.patch
ifdef
HAVE_MACOSX
cd
$<
-
$(FLAC_VERSION)
&&
sed
-e
's,-dynamiclib,-dynamiclib -arch
$(ARCH)
,'
-i
.orig configure
endif
mv
$@
-
$(FLAC_VERSION)
$@
touch
$@
FLACCONF
:=
$(HOSTCONF)
\
--disable--thorough-tests
\
--disable-doxygen-docs
\
--disable-xmms-plugin
\
--disable-cpplibs
\
--disable-oggtest
# TODO? --enable-sse
ifdef
HAVE_MACOSX
ifneq
($(findstring $(ARCH),i386 x86_64),)
FLAC_DISABLE_FLAGS
+=
--disable-asm-optimizations
endif
endif
.flac
:
flac .ogg
cd
$<
&&
$(HOSTVARS)
./configure
$(FLACCONF)
cd
$<
/src
&&
$(MAKE)
-C
libFLAC
install
cd
$<
&&
$(MAKE)
-C
include
install
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