mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
audio/minimp3: Replace 19MB tarball with direct download files 126KB, add file minimp3_ex.h
The minimp3_ex.h file is reqired by devel/allegro5 to support mp3 using this port. PR: 288838 Approved by: yuri (maintainer, timeout 2 weeks)
This commit is contained in:
+18
-6
@@ -1,7 +1,13 @@
|
||||
PORTNAME= minimp3
|
||||
PORTVERSION= g20211130
|
||||
DISTVERSION= g20211130
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= audio
|
||||
# Use direct link to 126KB files instead of 19+MB tarball:
|
||||
# https://github.com/${GH_ACCOUNT}/${PORTNAME}/tar.gz/${GH_TAGNAME}?dummy=/${GH_ACCOUNT}-${PORTNAME}-${DISTVERSION}-${GH_TAGNAME}_GH0.tar.gz
|
||||
MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${PORTNAME}/${GH_TAGNAME}/
|
||||
DISTFILES= LICENSE minimp3.h minimp3_ex.h
|
||||
DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= C++ single-header, minimalistic library for decoding MP3
|
||||
@@ -10,16 +16,22 @@ WWW= https://github.com/lieff/minimp3
|
||||
LICENSE= CC0-1.0
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
USE_GITHUB= nodefault
|
||||
GH_ACCOUNT= lieff
|
||||
GH_TAGNAME= afb604c06bc8beb145fecd42c0ceb5bda8795144
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
EXTRACT_CMD= ${CP}
|
||||
EXTRACT_BEFORE_ARGS= #
|
||||
EXTRACT_AFTER_ARGS= ${WRKSRC}
|
||||
|
||||
PLIST_FILES= include/minimp3.h
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_FILES= ${DISTFILES:M*.h:C|^|include/|}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/minimp3.h ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${DISTFILES:M*.h:C|^|${WRKSRC}/|} \
|
||||
${STAGEDIR}${PREFIX}/include
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
TIMESTAMP = 1653982911
|
||||
SHA256 (lieff-minimp3-g20211130-afb604c06bc8beb145fecd42c0ceb5bda8795144_GH0.tar.gz) = 21672c32aaac29cf4b7e6f8e0154767080ae87faa79c682498453e5a9bc5e0d3
|
||||
SIZE (lieff-minimp3-g20211130-afb604c06bc8beb145fecd42c0ceb5bda8795144_GH0.tar.gz) = 19743923
|
||||
TIMESTAMP = 1755080808
|
||||
SHA256 (minimp3-g20211130/LICENSE) = 6a1ee543e5282cd9061881edf462e6fdab181f328da71fc2c9a6950a80e94d01
|
||||
SIZE (minimp3-g20211130/LICENSE) = 6556
|
||||
SHA256 (minimp3-g20211130/minimp3.h) = 5fb296a790734772b65a5514438cc06d14f24e539c13475ff2a7f737681c82c0
|
||||
SIZE (minimp3-g20211130/minimp3.h) = 76802
|
||||
SHA256 (minimp3-g20211130/minimp3_ex.h) = bb001301b8666ea7a45ae057b62b17074483213b0d410555d97cc4d076e110df
|
||||
SIZE (minimp3-g20211130/minimp3_ex.h) = 49511
|
||||
|
||||
Reference in New Issue
Block a user