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
512766b4
Commit
512766b4
authored
Apr 09, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Updated the contrib system to work with the new id gcc-4 returns for Tiger
parent
83d7472b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
extras/contrib/bootstrap
extras/contrib/bootstrap
+1
-1
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+12
-5
No files found.
extras/contrib/bootstrap
View file @
512766b4
...
@@ -46,7 +46,7 @@ echo "BUILD = $BUILD" >> config.mak
...
@@ -46,7 +46,7 @@ echo "BUILD = $BUILD" >> config.mak
echo
"HOST =
$HOST
"
>>
config.mak
echo
"HOST =
$HOST
"
>>
config.mak
case
$HOST
in
case
$HOST
in
ppc-darwin
)
p
owerpc-apple-darwin8
|
p
pc-darwin
)
echo
"EXTRA_CPPFLAGS = -no-cpp-precomp"
>>
config.mak
echo
"EXTRA_CPPFLAGS = -no-cpp-precomp"
>>
config.mak
echo
"CONTRIB_URL = http://download.videolan.org/pub/videolan/devtools/contrib-macosx.tar.bz2"
>>
config.mak
echo
"CONTRIB_URL = http://download.videolan.org/pub/videolan/devtools/contrib-macosx.tar.bz2"
>>
config.mak
;;
;;
...
...
extras/contrib/src/Makefile
View file @
512766b4
...
@@ -30,6 +30,13 @@ include ./packages.mak
...
@@ -30,6 +30,13 @@ include ./packages.mak
# ***************************************************************************
# ***************************************************************************
ifeq
($(HOST),ppc-darwin)
ifeq
($(HOST),ppc-darwin)
HAVE_DARWIN_OS
=
1
endif
ifeq
($(HOST),powerpc-apple-darwin8)
HAVE_DARWIN_OS
=
1
endif
ifdef
HAV_DARWIN_OS
export
PATH
=
$(PREFIX)
/bin:/bin:/usr/bin
export
PATH
=
$(PREFIX)
/bin:/bin:/usr/bin
export
DYLD_LIBRARY_PATH
=
$(PREFIX)
/lib
export
DYLD_LIBRARY_PATH
=
$(PREFIX)
/lib
endif
endif
...
@@ -74,7 +81,7 @@ endif
...
@@ -74,7 +81,7 @@ endif
# Standard rules
# Standard rules
# ***************************************************************************
# ***************************************************************************
if
eq
($(HOST),ppc-darwin)
if
def
HAVE_DARWIN_OS
all
:
.autoconf .libtool .automake .iconv .intl .pkgcfg .freetype .fribidi
\
all
:
.autoconf .libtool .automake .iconv .intl .pkgcfg .freetype .fribidi
\
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora
\
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora
\
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .openslp
\
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .openslp
\
...
@@ -130,7 +137,7 @@ endef
...
@@ -130,7 +137,7 @@ endef
# $(INSTALL_NAME)
# $(INSTALL_NAME)
# touch $@
# touch $@
if
eq
($(HOST),ppc-darwin)
if
def
HAVE_DARWIN_OS
define
INSTALL_NAME_LIB
define
INSTALL_NAME_LIB
install_name_tool
\
install_name_tool
\
-change
$(PREFIX)/lib/$(shell
cd
$(PREFIX)/lib;
ls
|
grep
"lib$(INSTALL_LIB).[0-9]*.dylib"
)
\
-change
$(PREFIX)/lib/$(shell
cd
$(PREFIX)/lib;
ls
|
grep
"lib$(INSTALL_LIB).[0-9]*.dylib"
)
\
...
@@ -208,7 +215,7 @@ DISTCLEAN_PKG += autoconf-$(AUTOCONF_VERSION).tar.gz
...
@@ -208,7 +215,7 @@ DISTCLEAN_PKG += autoconf-$(AUTOCONF_VERSION).tar.gz
# libtool
# libtool
# ***************************************************************************
# ***************************************************************************
if
eq
($(BUILD),ppc-darwin)
if
def
HAVE_DARWIN_OS
.libtool
:
.libtool
:
if
test
-x
/usr/bin/glibtoolize
;
then
\
if
test
-x
/usr/bin/glibtoolize
;
then
\
ln
-sf
/usr/bin/glibtoolize
$(PREFIX)
/bin/libtoolize
;
\
ln
-sf
/usr/bin/glibtoolize
$(PREFIX)
/bin/libtoolize
;
\
...
@@ -761,7 +768,7 @@ libdvdnav-$(LIBDVDNAV_VERSION).tar.gz:
...
@@ -761,7 +768,7 @@ libdvdnav-$(LIBDVDNAV_VERSION).tar.gz:
libdvdnav
:
libdvdnav-$(LIBDVDNAV_VERSION).tar.gz
libdvdnav
:
libdvdnav-$(LIBDVDNAV_VERSION).tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
patch
-p
0 < Patches/dvdnav.patch
patch
-p
0 < Patches/dvdnav.patch
if
eq
($(BUILD),ppc-darwin)
if
def
HAVE_DARWIN_OS
(
cd
$@
;
autoconf
)
(
cd
$@
;
autoconf
)
else
else
(
cd
$@
;
./autogen.sh noconfig
)
(
cd
$@
;
./autogen.sh noconfig
)
...
@@ -942,7 +949,7 @@ vcdimager-$(VCDIMAGER_VERSION).tar.gz:
...
@@ -942,7 +949,7 @@ vcdimager-$(VCDIMAGER_VERSION).tar.gz:
vcdimager
:
vcdimager-$(VCDIMAGER_VERSION).tar.gz
vcdimager
:
vcdimager-$(VCDIMAGER_VERSION).tar.gz
$(EXTRACT_GZ)
$(EXTRACT_GZ)
if
eq
($(HOST),ppc-darwin)
if
def
HAVE_DARWIN_OS
.vcdimager
:
vcdimager
.vcdimager
:
vcdimager
(
cd
$<
;
./configure
--prefix
=
$(PREFIX)
--disable-shared
--enable-static
LDFLAGS
=
"
$(LDFLAGS)
-framework CoreFoundation -framework IOKit"
&&
make
&&
make
install
)
(
cd
$<
;
./configure
--prefix
=
$(PREFIX)
--disable-shared
--enable-static
LDFLAGS
=
"
$(LDFLAGS)
-framework CoreFoundation -framework IOKit"
&&
make
&&
make
install
)
touch
$@
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