switch to GitHub source and include extract.py as bin/fsb5-extract which is

the one useful CLI application that was missing.
input on script logistics and ok sthen@
This commit is contained in:
thfr 2021-10-05 13:19:46 +00:00
parent 94fef63528
commit 657ef24383
3 changed files with 15 additions and 8 deletions

View File

@ -1,22 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/09/17 13:41:50 thfr Exp $
# $OpenBSD: Makefile,v 1.2 2021/10/05 13:19:46 thfr Exp $
COMMENT = extract audio from FSB5 (FMOD Sample Bank) files
MODPY_EGG_VERSION = 1.0
DISTNAME = fsb5-${MODPY_EGG_VERSION}
DISTNAME = fsb5-${MODPY_EGG_VERSION}pl0
PKGNAME = py-${DISTNAME}
GH_ACCOUNT = HearthSim
GH_PROJECT = python-fsb5
GH_TAGNAME = b7bf605
CATEGORIES = audio
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
HOMEPAGE = https://github.com/HearthSim/python-fsb5
# MIT
PERMIT_PACKAGE = Yes
# requires audio/libogg and audio/libvorbis to decode ogg samples
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
@ -25,4 +26,9 @@ FLAVOR = python3
# No tests upstream
NO_TEST = Yes
# install extract.py as fsb5-extract.py to avoid possible name collisions
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/extract.py \
${PREFIX}/bin/fsb5-extract
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (fsb5-1.0.tar.gz) = MS0otYDpxKADLKrIC8w1RnIhYyf0MNBjw760pPP+Yh0=
SIZE (fsb5-1.0.tar.gz) = 8371
SHA256 (fsb5-1.0pl0.tar.gz) = G5tpmHfb4PaeCC6ljWIQhgiJUUbyFcTYSRc8Voq1elU=
SIZE (fsb5-1.0pl0.tar.gz) = 441489

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/09/17 13:41:50 thfr Exp $
@comment $OpenBSD: PLIST,v 1.2 2021/10/05 13:19:46 thfr Exp $
bin/fsb5-extract
lib/python${MODPY_VERSION}/site-packages/fsb5/
lib/python${MODPY_VERSION}/site-packages/fsb5-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/fsb5-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO