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
3133dd30
Commit
3133dd30
authored
Nov 01, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contribs: add GME target and patch it for static
parent
5bc4c10e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
extras/contrib/src/Patches/gme-static.patch
extras/contrib/src/Patches/gme-static.patch
+19
-0
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+18
-0
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+3
-1
No files found.
extras/contrib/src/Patches/gme-static.patch
0 → 100644
View file @
3133dd30
--- game-music-emu-0.5.5/gme/CMakeLists.txt 2009-07-13 06:53:08.000000000 +0200
+++ game-music-emu-0.5.5.new/gme/CMakeLists.txt 2010-11-01 14:39:13.570651361 +0100
@@ -148,7 +148,7 @@
include_directories(${CMAKE_CURRENT_BINARY_DIR})
# Add library to be compiled.
-add_library(gme SHARED ${libgme_SRCS})
+add_library(gme STATIC ${libgme_SRCS})
# The version is the release. The "soversion" is the API version. As long
# as only build fixes are performed (i.e. no changes/additions to API) the
@@ -158,6 +158,6 @@
SOVERSION 0)
# TODO: Libsuffix for 64-bit?
-install(TARGETS gme LIBRARY DESTINATION lib)
+install(TARGETS gme ARCHIVE DESTINATION lib)
install(FILES ${EXPORTED_HEADERS} DESTINATION include/gme)
extras/contrib/src/contrib-src.mak
View file @
3133dd30
...
...
@@ -2576,6 +2576,24 @@ CLEAN_FILE += .sqlite3
CLEAN_PKG
+=
sqlite-
$(SQLITE_VERSION)
DISTCLEAN_PKG
+=
sqlite-amalgamation-
$(SQLITE_VERSION)
.tar.gz
# *****************************
# GME
# *****************************
game-music-emu-$(GME_VERSION).tbz2
:
$(WGET)
$(GME_URL)
game-music-emu-$(GME_VERSION)
:
game-music-emu-$(GME_VERSION).tbz2
$(EXTRACT_BZ2)
patch
-p0
< Patches/gme-static.patch
.gme
:
game-music-emu-$(GME_VERSION)
(
cd
$<
;
$(HOSTCC)
CPPFLAGS
=
"
$(CPPFLAGS)
"
cmake
.
-DCMAKE_TOOLCHAIN_FILE
=
../../toolchain.cmake
-DCMAKE_INSTALL_PREFIX
=
$(PREFIX)
&&
make
&&
make
install
)
touch
$@
CLEAN_FILE
+=
.gme
CLEAN_PKG
+=
game-music-emu-
$(GME_VERSION)
DISTCLEAN_PKG
+=
game-music-emu-
$(GME_VERSION)
.tbz2
# ***************************************************************************
# Make sure the build tools are built before the other targets
# ***************************************************************************
...
...
extras/contrib/src/packages.mak
View file @
3133dd30
...
...
@@ -235,5 +235,7 @@ SQLITE_VERSION=3.6.20
SQLITE_URL
=
http://www.sqlite.org/sqlite-amalgamation-
$(SQLITE_VERSION)
.tar.gz
DXVA2_URL
=
$(CONTRIB_VIDEOLAN)
/dxva2api.h
D2D_URL
=
http://nodeload.github.com/2of1/d2d1headers/tarball/master
VPX_VERSION
=
0.9.
0
VPX_VERSION
=
0.9.
2
VPX_URL
=
http://webm.googlecode.com/files/libvpx-
$(VPX_VERSION)
.tar.bz2
GME_VERSION
=
0.5.5
GME_URL
=
http://game-music-emu.googlecode.com/files/game-music-emu-
$(GME_VERSION)
.tbz2
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