audio/libgme: Update to latest commit upstream

- Update WWW, project moved to github
- Utilize USES= pathfix

PR:		281027
Reported by:	diizzy
This commit is contained in:
Emanuel Haupt 2024-09-08 11:40:13 +02:00
parent 0669576f13
commit 04ff6dd7a4
4 changed files with 10 additions and 29 deletions

View file

@ -1,20 +1,19 @@
PORTNAME= libgme
DISTVERSION= 0.6.3
PORTREVISION= 1
DISTVERSION= 0.6.3-183
DISTVERSIONSUFFIX= -g05a2aa2
CATEGORIES= audio
MASTER_SITES= https://bitbucket.org/mpyne/game-music-emu/downloads/ \
LOCAL/ehaupt
DISTNAME= game-music-emu-${DISTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Collection of video game music emulators
WWW= https://bitbucket.org/mpyne/game-music-emu
WWW= https://github.com/libgme/game-music-emu
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/license.txt
USES= cmake compiler:c++11-lang dos2unix tar:xz
USES= cmake compiler:c++11-lang dos2unix pathfix
DOS2UNIX_FILES= ${PORTDOCS}
USE_GITHUB= yes
GH_PROJECT= game-music-emu
USE_LDCONFIG= yes
CMAKE_OFF= ENABLE_UBSAN
@ -23,10 +22,6 @@ PORTDOCS= changes.txt design.txt gme.txt readme.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/s/lib[[:>:]]/libdata/' \
${WRKSRC}/gme/CMakeLists.txt
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1681316189
SHA256 (game-music-emu-0.6.3.tar.xz) = aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d
SIZE (game-music-emu-0.6.3.tar.xz) = 234412
TIMESTAMP = 1724490683
SHA256 (libgme-game-music-emu-0.6.3-183-g05a2aa2_GH0.tar.gz) = 3dd621457e6ae9100ff85dda76b7bed5ef9eb0c960fc8d0203ef54aac109434c
SIZE (libgme-game-music-emu-0.6.3-183-g05a2aa2_GH0.tar.gz) = 343648

View file

@ -1,13 +0,0 @@
--- gme/blargg_endian.h.orig 2021-02-10 16:11:06 UTC
+++ gme/blargg_endian.h
@@ -33,9 +33,7 @@
#if defined (LSB_FIRST) || defined (__LITTLE_ENDIAN__) || BLARGG_CPU_X86 || \
(defined (LITTLE_ENDIAN) && LITTLE_ENDIAN+0 != 1234)
#define BLARGG_LITTLE_ENDIAN 1
-#endif
-
-#if defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
+#elif defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
defined (__sparc__) || BLARGG_CPU_POWERPC || \
(defined (BIG_ENDIAN) && BIG_ENDIAN+0 != 4321)
#define BLARGG_BIG_ENDIAN 1

View file

@ -1,6 +1,5 @@
include/gme/blargg_source.h
include/gme/gme.h
lib/libgme.so
lib/libgme.so.0
lib/libgme.so.0.6.3
lib/libgme.so.0.6.4
libdata/pkgconfig/libgme.pc