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
1172b71c
Commit
1172b71c
authored
Jun 10, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: flac building simplification
parent
77ea8af6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
extras/contrib/src/Patches/libFLAC-pc.patch
extras/contrib/src/Patches/libFLAC-pc.patch
+10
-0
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+4
-9
No files found.
extras/contrib/src/Patches/libFLAC-pc.patch
0 → 100644
View file @
1172b71c
--- 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
extras/contrib/src/contrib-src.mak
View file @
1172b71c
...
...
@@ -743,21 +743,16 @@ endif
ifdef
HAVE_MACOSX
(
cd
$@
;
sed
-e
's%-dynamiclib%-dynamiclib -arch
$(ARCH)
%'
-i
.orig configure
)
endif
patch
-p0
< Patches/libFLAC-pc.patch
FLAC_DISABLE_FLAGS
=
--disable-oggtest
--disable-xmms-plugin
--disable-cpplibs
.flac
:
flac .ogg
ifdef
HAVE_MACOSX_ON_INTEL
cd
$<
&&
\
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
--disable-asm-optimizations
$(FLAC_DISABLE_FLAGS)
else
cd
$<
&&
\
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
$(FLAC_DISABLE_FLAGS)
FLAC_DISABLE_FLAGS
+=
--disable-asm-optimizations
endif
cd
$<
/src
&&
\
make
-C
libFLAC
&&
\
echo
'Requires.private: ogg'
>>
libFLAC/flac.pc
&&
\
make
-C
libFLAC
install
cd
$<
&&
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
$(FLAC_DISABLE_FLAGS)
cd
$</src
&&
make
-C
libFLAC
&&
make
-C
libFLAC
install
cd
$<
&&
make
-C
include
install
$(INSTALL_NAME)
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