diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-06 14:00:47 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-06 14:00:47 +0800 |
commit | 63b8b17029519f6bc665e85c94ea1bb27d7db693 (patch) | |
tree | b987d1f85f3b4a8d9b36afbbc69d27f071f645a7 /audio | |
parent | 8d26a9ad8318d181dc89ffe32588996e0090cf76 (diff) | |
download | freebsd-ports-gnome-63b8b17029519f6bc665e85c94ea1bb27d7db693.tar.gz freebsd-ports-gnome-63b8b17029519f6bc665e85c94ea1bb27d7db693.tar.zst freebsd-ports-gnome-63b8b17029519f6bc665e85c94ea1bb27d7db693.zip |
New port: audio/py-flac, Python module that provides the Free
Lossless Audio Codec interface
Python module that provides the Free Lossless Audio Codec
interface
PR: ports/91348
Submitted by: Byung-Hee HWANG <bh@izb.knu.ac.kr>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/py-flac/Makefile | 28 | ||||
-rw-r--r-- | audio/py-flac/distinfo | 3 | ||||
-rw-r--r-- | audio/py-flac/files/patch-Makefile | 14 | ||||
-rw-r--r-- | audio/py-flac/pkg-descr | 6 | ||||
-rw-r--r-- | audio/py-flac/pkg-plist | 19 |
6 files changed, 71 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index e1533addfaf0..e6c237080d73 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -395,6 +395,7 @@ SUBDIR += py-ao SUBDIR += py-cddb SUBDIR += py-eyed3 + SUBDIR += py-flac SUBDIR += py-id3 SUBDIR += py-libmpdclient SUBDIR += py-mad diff --git a/audio/py-flac/Makefile b/audio/py-flac/Makefile new file mode 100644 index 000000000000..d1dd632bc38d --- /dev/null +++ b/audio/py-flac/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: py-flac +# Date created: 5 January 2006 +# Whom: Byung-Hee HWANG <bh@izb.knu.ac.kr> +# +# $FreeBSD$ + +PORTNAME= flac +PORTVERSION= 0.0.4 +CATEGORIES= audio python +MASTER_SITES= http://www.sacredchao.net/~piman/software/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyflac-${PORTVERSION} + +MAINTAINER= bh@izb.knu.ac.kr +COMMENT= Python module that provides the Free Lossless Audio Codec interface + +LIB_DEPENDS= FLAC.7:${PORTSDIR}/audio/flac +BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 + +USE_PYTHON= yes +USE_GMAKE= yes +USE_PYDISTUTILS= yes +USE_PYTHON_PREFIX= yes + +do-build: + @cd ${WRKSRC} && ${GMAKE} build + +.include <bsd.port.mk> diff --git a/audio/py-flac/distinfo b/audio/py-flac/distinfo new file mode 100644 index 000000000000..d6200c4caddf --- /dev/null +++ b/audio/py-flac/distinfo @@ -0,0 +1,3 @@ +MD5 (pyflac-0.0.4.tar.gz) = 521bd01bf737030381d5c8aa7de62733 +SHA256 (pyflac-0.0.4.tar.gz) = d156d83de9b1ab4c546e110ee54575b43ba133bcb8f0fa39d6f7101e94d908eb +SIZE (pyflac-0.0.4.tar.gz) = 32875 diff --git a/audio/py-flac/files/patch-Makefile b/audio/py-flac/files/patch-Makefile new file mode 100644 index 000000000000..ef8c66fe5048 --- /dev/null +++ b/audio/py-flac/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2005-09-03 11:43:30.000000000 -0700 ++++ Makefile 2006-01-05 04:04:15.274875303 -0700 +@@ -1,7 +1,10 @@ ++CFLAGS = -I/usr/local/include ++LDFLAGS = -L/usr/local/lib ++ + all: build + + build: flac/sw_metadata_wrap.c flac/decoder_wrap.c flac/encoder_wrap.c +- ./setup.py build ++ CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} ./setup.py build + + %_wrap.c: %.i flac/format.i + swig -python $< diff --git a/audio/py-flac/pkg-descr b/audio/py-flac/pkg-descr new file mode 100644 index 000000000000..a4d58f69af6c --- /dev/null +++ b/audio/py-flac/pkg-descr @@ -0,0 +1,6 @@ +This is a Python module that allows Python programs to use the +Free Lossless Audio Codec library. This module lets you encode +or decode FLAC audio files, and edit the metadata (cue sheets +or Vorbis comments) in them. + +WWW: http://sacredchao.net/~piman/software/python.shtml diff --git a/audio/py-flac/pkg-plist b/audio/py-flac/pkg-plist new file mode 100644 index 000000000000..78ae65a77a0a --- /dev/null +++ b/audio/py-flac/pkg-plist @@ -0,0 +1,19 @@ +%%PYTHON_SITELIBDIR%%/flac/__init__.py +%%PYTHON_SITELIBDIR%%/flac/__init__.pyc +%%PYTHON_SITELIBDIR%%/flac/__init__.pyo +%%PYTHON_SITELIBDIR%%/flac/_decoder.so +%%PYTHON_SITELIBDIR%%/flac/_encoder.so +%%PYTHON_SITELIBDIR%%/flac/_sw_metadata.so +%%PYTHON_SITELIBDIR%%/flac/decoder.py +%%PYTHON_SITELIBDIR%%/flac/decoder.pyc +%%PYTHON_SITELIBDIR%%/flac/decoder.pyo +%%PYTHON_SITELIBDIR%%/flac/encoder.py +%%PYTHON_SITELIBDIR%%/flac/encoder.pyc +%%PYTHON_SITELIBDIR%%/flac/encoder.pyo +%%PYTHON_SITELIBDIR%%/flac/metadata.py +%%PYTHON_SITELIBDIR%%/flac/metadata.pyc +%%PYTHON_SITELIBDIR%%/flac/metadata.pyo +%%PYTHON_SITELIBDIR%%/flac/sw_metadata.py +%%PYTHON_SITELIBDIR%%/flac/sw_metadata.pyc +%%PYTHON_SITELIBDIR%%/flac/sw_metadata.pyo +@dirrm %%PYTHON_SITELIBDIR%%/flac |