Package Details: lib32-libgme 0.6.3-3

Git Clone URL: https://aur.archlinux.org/lib32-libgme.git (read-only, click to copy)
Package Base: lib32-libgme
Description: Video game music file emulation/playback library (32-bit)
Upstream URL: https://bitbucket.org/mpyne/game-music-emu
Licenses: LGPL
Submitter: orumin
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 8
Popularity: 0.000000
First Submitted: 2016-06-06 07:52 (UTC)
Last Updated: 2020-11-26 15:45 (UTC)

Latest Comments

SolarAquarion commented on 2020-06-11 18:15 (UTC) (edited on 2020-06-11 18:15 (UTC) by SolarAquarion)

it depends on sdl2, or it is a makedepend

rodrigo21 commented on 2020-05-15 16:57 (UTC)

@MR-2 Thanks for the patch.

MR-2 commented on 2020-05-15 16:18 (UTC) (edited on 2020-05-15 16:25 (UTC) by MR-2)

For building with gcc10 I changed the following lines in the PKGBUILD (basically adding a patch for making cmake recognize gcc versions > 9):
source=("https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$pkgver.tar.xz"{,.asc})
was changed to
source=("https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$pkgver.tar.xz"
"https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$pkgver.tar.xz.asc"
"gcc10.patch")

and
sha256sums=('5046cb471d422dbe948b5f5dd4e5552aaef52a0899c4b2688e5a68a556af7342'
'SKIP')

was changed to
sha256sums=('5046cb471d422dbe948b5f5dd4e5552aaef52a0899c4b2688e5a68a556af7342'
'SKIP'
'9d6638483f572b9df2204ce0c3b2c573db72b2aac0540d29c4cf7da7810083f5')

and before the build()-directive the prepare()-directive was added:
prepare() {
cd "$srcdir/game-music-emu-$pkgver"
patch -p1 -i ../gcc10.patch
}

gcc10.patch looks like this:
diff -urN game-music-emu-0.6.2-gcc9/CMakeLists.txt game-music-emu-0.6.2-gcc10/CMakeLists.txt
--- game-music-emu-0.6.2-gcc9/CMakeLists.txt 2017-12-07 04:19:39.000000000 +0100
+++ game-music-emu-0.6.2-gcc10/CMakeLists.txt 2020-05-15 17:16:00.700148477 +0200
@@ -66,7 +66,7 @@
if (__LIBGME_TEST_VISIBILITY)
# get the gcc version
exec_program(${CMAKE_CXX_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)
- string (REGEX MATCH "[3-9]\.[0-9]\.[0-9]" _gcc_version "${_gcc_version_info}")
+ string (REGEX MATCH "[3-9]|10\.[0-9]\.[0-9]" _gcc_version "${_gcc_version_info}")

   # gcc <4.1 had poor support for symbol visibility<br>
   if ((${_gcc_version} VERSION_GREATER "4.1") OR (${_gcc_version} VERSION_EQUAL "4.1"))


Edit: The formatting is strange here...

Tomato commented on 2018-05-05 12:50 (UTC)

run

gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 0BAF0C9C7B6AE9F2

before building to import keys

agapito commented on 2017-11-21 15:44 (UTC)

https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.1.tar.bz2