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
fb09bf19
Commit
fb09bf19
authored
Nov 30, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: make Qt4 available on mac
parent
383afad3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
44 deletions
+37
-44
extras/contrib/src/Patches/QtCoreMac.pc.in
extras/contrib/src/Patches/QtCoreMac.pc.in
+14
-0
extras/contrib/src/Patches/QtGuiMac.pc.in
extras/contrib/src/Patches/QtGuiMac.pc.in
+14
-0
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+7
-40
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+2
-4
No files found.
extras/contrib/src/Patches/QtCoreMac.pc.in
0 → 100644
View file @
fb09bf19
prefix=/Library/Frameworks/QtCore.framework/Versions/4/
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/Headers
Name: Qtcore
Description: Qtcore Library
Version: 4.6.1
Libs: -F/Library/Frameworks -L/Library/Frameworks -framework QtGui -framework QtCore
Cflags: -I/usr/local/Qt4.6/mkspecs/macx-g++ -I. -I${includedir} -DQT_CORE_LIB -DQT_SHARED
extras/contrib/src/Patches/QtGuiMac.pc.in
0 → 100644
View file @
fb09bf19
prefix=/Library/Frameworks/QtGui.framework/Versions/4/
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/Headers
Name: Qtgui
Description: Qtgui Library
Version: 4.6.1
Libs: -F/Library/Frameworks -L/Library/Frameworks -framework QtGui -framework QtCore
Cflags: -I/usr/local/Qt4.6/mkspecs/macx-g++ -I. -I${includedir} -DQT_GUI_LIB -DQT_SHARED
extras/contrib/src/contrib-src.mak
View file @
fb09bf19
...
...
@@ -1599,55 +1599,22 @@ CLEAN_PKG += qt4_win32
DISTCLEAN_PKG
+=
qt4-
$(QT4_VERSION)
-win32-bin
.tar.bz2
# ***************************************************************************
# qt4 (
trolltech binaries
)
# qt4 (
Mac
)
# ***************************************************************************
qt-win-opensource-$(QT4T_VERSION)-mingw.exe
:
wget
$(QT4T_URL)
Qt_win32
:
qt-win-opensource-$(QT4T_VERSION)-mingw.exe
mkdir
Qt
7z
-oQt
x qt-win-opensource-
$(QT4T_VERSION)
-mingw
.exe
\$
$OUTDIR
/bin
\
/bin
\$
$OUTDIR
/bin
\
/lib
\$
$OUTDIR
/bin
\
/include/QtCore
\$
$OUTDIR
/bin
\
/include/QtGui
\$
$OUTDIR
/bin
\
/src/gui
\$
$OUTDIR
/bin
\
/src/corelib
\$
$OUTDIR
/bin
\
/translations
mv
Qt/
\$
$OUTDIR
/bin
\
/
*
Qt/
&&
rmdir
Qt/
\$
$OUTDIR
/bin
\
Qt/
\$
$OUTDIR
find Qt
-name
'* '
-exec
sh
-c
"mv
\"
{}
\"
`
echo
{}
`
"
\;
find Qt/src
-name
'*.cpp'
-exec
rm
{}
\;
find Qt/translations
-type
f
-a
!
-name
'qt_*.qm'
-exec
rm
{}
\;
find Qt/include
-name
'*.h'
-exec
sh
-c
"mv {} {}.tmp; sed 's,..
\/
..
\/
src,..
\/
src,' {}.tmp > {}; rm -f {}.tmp"
\;
mkdir
Qt/lib/pkgconfig
sed
-e
s,@@VERSION@@,
$(QT4T_VERSION)
,
-e
s,@@PREFIX@@,
$(PREFIX)
, Patches/QtCore.pc.in
>
Qt/lib/pkgconfig/QtCore.pc
sed
-e
s,@@VERSION@@,
$(QT4T_VERSION)
,
-e
s,@@PREFIX@@,
$(PREFIX)
, Patches/QtGui.pc.in
>
Qt/lib/pkgconfig/QtGui.pc
.Qt_win32
:
Qt_win32
mkdir
-p
$(PREFIX)
/bin
$(PREFIX)
/include/qt4/src
$(PREFIX)
/lib/pkgconfig
$(PREFIX)
/share/qt4/translations
cp
Qt/bin/moc.exe Qt/bin/rcc.exe Qt/bin/uic.exe
$(PREFIX)
/bin
cp
-r
Qt/include/QtCore Qt/include/QtGui
$(PREFIX)
/include/qt4
cp
-r
Qt/src/corelib Qt/src/gui
$(PREFIX)
/include/qt4/src
cp
Qt/lib/libQtCore4.a Qt/lib/libQtGui4.a
$(PREFIX)
/lib
cp
Qt/lib/pkgconfig/
*
$(PREFIX)
/lib/pkgconfig
cp
Qt/translations/
*
$(PREFIX)
/share/qt4/translations
touch
$@
CLEAN_FILE
+=
.Qt_win32
CLEAN_PKG
+=
Qt_win32
DISTCLEAN_PKG
+=
qt-win-opensource-
$(QT4T_VERSION)
-mingw
.exe
# ***************************************************************************
# qt4 (source-code compilation for Mac)
# ***************************************************************************
qt-everywhere-opensource-src-$(QT4_MAC_VERSION).tar.gz
:
qt-mac-opensource-$(QT4_MAC_VERSION).dmg
:
$(WGET)
$(QT4_MAC_URL)
qt4_mac
:
qt-everywhere-opensource-src-$(QT4_MAC_VERSION).tar.gz
$(EXTRACT_GZ)
qt4_mac
:
qt-mac-opensource-$(QT4_MAC_VERSION).dmg
.qt4_mac
:
qt4_mac
(
cd
qt4_mac
;
./configure
-prefix
$(PREFIX)
-release
-fast
-no-qt3support
-nomake
"examples demos"
-sdk
$(MACOSX_SDK)
-no-framework
-arch
$(ARCH)
&&
make
&&
make
install
)
cp
Patches/QtCoreMac.pc.in
$(PREFIX)
/lib/pkgconfig/QtCore.pc
cp
Patches/QtGuiMac.pc.in
$(PREFIX)
/lib/pkgconfig/QtGui.pc
touch
$@
CLEAN_FILE
+=
.qt4_mac
CLEAN_PKG
+=
qt4_mac
DISTCLEAN_PKG
+=
qt-mac-opensource-
src-
$(QT4_MAC_VERSION)
.tar.gz
DISTCLEAN_PKG
+=
qt-mac-opensource-
$(QT4_MAC_VERSION)
.dmg
# ***************************************************************************
# zlib
...
...
extras/contrib/src/packages.mak
View file @
fb09bf19
...
...
@@ -173,10 +173,8 @@ MUSE_URL=http://files.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
#MUSE_URL=http://files2.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
QT4_VERSION
=
4.6.2
QT4_URL
=
$(CONTRIB_VIDEOLAN)
/qt4-
$(QT4_VERSION)
-win32-bin
.tar.bz2
QT4_MAC_VERSION
=
4.6.3
QT4_MAC_URL
=
http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-
$(QT4_MAC_VERSION)
.tar.gz
QT4T_VERSION
=
4.3.2
QT4T_URL
=
ftp://ftp.trolltech.com/pub/qt/source/qt-win-opensource-
$(QT4T_VERSION)
-mingw
.exe
QT4_MAC_VERSION
=
4.7.1
QT4_MAC_URL
=
http://get.qt.nokia.com/qt/source/qt-mac-opensource-
$(QT4_MAC_VERSION)
.dmg
ZLIB_VERSION
=
1.2.5
ZLIB_URL
=
$(SF)
/libpng/zlib-
$(ZLIB_VERSION)
.tar.gz
XML_VERSION
=
2.7.7
...
...
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