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
b2cb8c3e
Commit
b2cb8c3e
authored
May 19, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contrib: Include lua as a contrib lib. (Please review for your arch).
parent
add15152
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
6 deletions
+59
-6
extras/contrib/bootstrap
extras/contrib/bootstrap
+20
-6
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+37
-0
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+2
-0
No files found.
extras/contrib/bootstrap
View file @
b2cb8c3e
...
...
@@ -69,6 +69,26 @@ if test "$HOST" != "$BUILD"; then
AR
=
"
${
HOST
}
-ar"
fi
# Check the HAVE_{OS}
case
$HOST
in
*
darwin
*
)
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_BSD = 1"
>>
config.mak
;;
*
linux
*
)
echo
"HAVE_LINUX = 1"
>>
config.mak
;;
*
bsd
*
)
echo
"HAVE_BSD = 1"
>>
config.mak
;;
*
wince
*
)
echo
"HAVE_WINCE = 1"
>>
config.mak
;;
*
beos
*
)
echo
"HAVE_BEOS = 1"
>>
config.mak
;;
esac
case
$HOST
in
ppc-darwin
)
# Mac OS X < 10.4
...
...
@@ -83,7 +103,6 @@ case $HOST in
# SDK 10.2.8 requires gcc-3.3 (so we cannot use that SDK)
SDK_TARGET
=
10.4
echo
"SDK_TARGET =
${
SDK_TARGET
}
"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk"
>>
config.mak
CFLAGS_TUNING
=
" -arch ppc -mtune=G4"
...
...
@@ -95,7 +114,6 @@ case $HOST in
i686-apple-darwin8
)
SDK_TARGET
=
10.4
echo
"SDK_TARGET =
${
SDK_TARGET
}
"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_DARWIN_OS_ON_INTEL = 1"
>>
config.mak
echo
"ENVP = MACOSX_DEPLOYMENT_TARGET=
${
SDK_TARGET
}
"
>>
config.mak
echo
"MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk"
>>
config.mak
...
...
@@ -108,7 +126,6 @@ case $HOST in
powerpc-apple-darwin9
)
SDK_TARGET
=
10.4
echo
"SDK_TARGET =
${
SDK_TARGET
}
"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
# echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
# echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
CFLAGS_TUNING
=
" -arch ppc -mtune=G4"
...
...
@@ -120,7 +137,6 @@ case $HOST in
i686-apple-darwin9
)
SDK_TARGET
=
10.4
echo
"SDK_TARGET =
${
SDK_TARGET
}
"
>>
config.mak
echo
"HAVE_DARWIN_OS = 1"
>>
config.mak
echo
"HAVE_DARWIN_OS_ON_INTEL = 1"
>>
config.mak
# echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
# echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
...
...
@@ -131,7 +147,6 @@ case $HOST in
cat
src/Distributions/darwin.mak
>>
distro.mak
;;
i586-pc-beos
)
echo
"HAVE_BEOS = 1"
>>
config.mak
if
test
-f
/boot/beos/system/lib/libbind.so
;
then
EXTRA_LDFLAGS
=
" -lbind -lsocket"
else
...
...
@@ -173,7 +188,6 @@ case $HOST in
cat
src/Distributions/win32.mak
>>
distro.mak
;;
arm-wince-pe
)
echo
"HAVE_WINCE = 1"
>>
config.mak
echo
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
>>
config.mak
EXTRA_CPPFLAGS
=
" -D_WIN32_WCE"
cat
src/Distributions/wince.mak
>>
distro.mak
...
...
extras/contrib/src/Makefile
View file @
b2cb8c3e
...
...
@@ -542,6 +542,43 @@ CLEAN_FILE += .id3tag
CLEAN_PKG
+=
libid3tag
DISTCLEAN_PKG
+=
libid3tag-
$(LIBID3TAG_VERSION)
.tar.gz
# ***************************************************************************
# lua
# ***************************************************************************
ifdef
HAVE_WIN32
LUA_MAKEPLATEFORM
=
mingw
else
ifdef
HAVE_DARWIN_OS
LUA_MAKEPLATEFORM
=
macosx
else
ifdef
HAVE_LINUX
LUA_MAKEPLATEFORM
=
linux
else
ifdef
HAVE_BSD
LUA_MAKEPLATEFORM
=
bsd
else
LUA_MAKEPLATEFORM
=
generic
endif
endif
endif
endif
lua-$(LUA_VERSION).tar.gz
:
$(WGET)
$(LUA_URL)
lua
:
lua-$(LUA_VERSION).tar.gz
$(EXTRACT_GZ)
.lua
:
lua
(
cd
$<
;
$(HOSTCC)
make
$(LUA_MAKEPLATEFORM)
&&
make
install
INSTALL_TOP
=
$(PREFIX)
)
touch
$@
CLEAN_FILE
+=
.lua
CLEAN_PKG
+=
lua
DISTCLEAN_PKG
+=
lua-
$(LUA_VERSION)
.tar.gz
# ***************************************************************************
# libmad
# ***************************************************************************
...
...
extras/contrib/src/packages.mak
View file @
b2cb8c3e
...
...
@@ -189,3 +189,5 @@ ZVBI_VERSION=0.2.22
ZVBI_URL
=
$(SF)
/zapping/zvbi-
$(ZVBI_VERSION)
.tar.bz2
TAGLIB_VERSION
=
1.4
TAGLIB_URL
=
http://developer.kde.org/~wheeler/files/src/taglib-
$(TAGLIB_VERSION)
.tar.gz
LUA_VERSION
=
5.1
LUA_URL
=
http://www.lua.org/ftp/lua-
$(LUA_VERSION)
.tar.gz
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