Commit e78a61c1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: add gme

parent 6ae95f45
dcf341bf0ab8237a98bceef3b0bc8e8bd11851179f989c561878ff421912158bfdbae4bf613ecc9f6a569b02dce4fbd41acf68a3c9c5ea137938bd5cdc353ff4 game-music-emu-0.5.5.tar.bz2
--- 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)
# Game Music Emu
GME_VERSION := 0.5.5
GME_URL := http://game-music-emu.googlecode.com/files/game-music-emu-$(GME_VERSION).tbz2
$(TARBALLS)/game-music-emu-$(GME_VERSION).tar.bz2:
$(call download,$(GME_URL))
.sum-gme: game-music-emu-$(GME_VERSION).tar.bz2
game-music-emu: game-music-emu-$(GME_VERSION).tar.bz2 .sum-gme
$(UNPACK)
$(APPLY) $(SRC)/gme/gme-static.patch
$(MOVE)
.gme: game-music-emu toolchain.cmake
cd $< && $(CMAKE) .
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment