summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-07-23 13:28:26 +0000
committerwiz <wiz@pkgsrc.org>2001-07-23 13:28:26 +0000
commite8c490d1adbe37222121801b67c7c39b6b106dcf (patch)
treeb2093437433c5e126895990d7075cfa7cee009a9 /audio
parentcbee525ae72bf7d2012d44f9d95760000b636a50 (diff)
downloadpkgsrc-e8c490d1adbe37222121801b67c7c39b6b106dcf.tar.gz
Initial import of flac-1.0, the Free Lossless Audio Codec.
Provided by Ben Collver in pkg/13414, with slight changes by me.
Diffstat (limited to 'audio')
-rw-r--r--audio/flac/Makefile50
-rw-r--r--audio/flac/distinfo4
-rw-r--r--audio/flac/pkg/DESCR15
-rw-r--r--audio/flac/pkg/PLIST47
4 files changed, 116 insertions, 0 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
new file mode 100644
index 00000000000..c82ba9a6e4e
--- /dev/null
+++ b/audio/flac/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/23 13:28:26 wiz Exp $
+#
+
+DISTNAME= flac-1.0-src
+PKGNAME= flac-1.0
+WRKSRC= ${WRKDIR}/${PKGNAME}
+CATEGORIES= audio archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://flac.sourceforge.net
+COMMENT= free lossless audio codec
+
+BUILD_DEPENDS+= automake>=1.4:../../devel/automake
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_PLATFORM:MNetBSD-*-i386} != ""
+BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
+.endif
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+pre-configure:
+ (cd ${WRKSRC}/src/libFLAC/ia32 && \
+ ${MV} Makefile.am Makefile.am.orig && \
+ ${CP} Makefile.am.libtool-1.4b Makefile.am)
+ (cd ${WRKSRC} && ${LOCALBASE}/bin/automake)
+
+do-install:
+ ${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/src/flac/flac \
+ ${WRKSRC}/src/metaflac/metaflac ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/FLAC
+ ${INSTALL_DATA} ${WRKSRC}/include/FLAC/*.h ${PREFIX}/include/FLAC
+ ${LIBTOOL} ${INSTALL_DATA} -p ${WRKSRC}/src/libFLAC/libFLAC.la \
+ ${PREFIX}/lib
+ ${INSTALL_MAN} ${WRKSRC}/man/flac.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flac
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flac/images
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flac/ru
+ ${INSTALL_DATA} ${WRKSRC}/doc/images/*.gif \
+ ${WRKSRC}/doc/images/*.jpg \
+ ${PREFIX}/share/doc/flac/images
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
+ ${INSTALL_DATA} ${WRKSRC}/doc/ru/*.html ${PREFIX}/share/doc/flac/ru
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/flac/distinfo b/audio/flac/distinfo
new file mode 100644
index 00000000000..0d96dc8a0e2
--- /dev/null
+++ b/audio/flac/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/23 13:28:26 wiz Exp $
+
+SHA1 (flac-1.0-src.tar.gz) = acfd76e56dafdad843adcf680a51ecf48911142e
+Size (flac-1.0-src.tar.gz) = 384379 bytes
diff --git a/audio/flac/pkg/DESCR b/audio/flac/pkg/DESCR
new file mode 100644
index 00000000000..a85841e0d22
--- /dev/null
+++ b/audio/flac/pkg/DESCR
@@ -0,0 +1,15 @@
+FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
+similar to MP3, but lossless. The FLAC project consists of:
+ * the stream format
+ * libFLAC, which implements reference encoders and decoders
+ * flac, a command-line wrapper around libFLAC to encode and decode .flac
+ files
+ * input plugins for various music players (Winamp, XMMS, and more in the
+ works)
+
+"Free" means that the specification of the stream format is in the public
+domain (the FLAC project reserves the right to set the FLAC specification
+and certify compliance), and that neither the FLAC format nor any of the
+implemented encoding/decoding methods are covered by any patent. It also
+means that the source for libFLAC is available under the LGPL and the
+sources for flac and the plugins are available under the GPL.
diff --git a/audio/flac/pkg/PLIST b/audio/flac/pkg/PLIST
new file mode 100644
index 00000000000..b356fa244b6
--- /dev/null
+++ b/audio/flac/pkg/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/23 13:28:26 wiz Exp $
+bin/flac
+bin/metaflac
+include/FLAC/all.h
+include/FLAC/assert.h
+include/FLAC/file_decoder.h
+include/FLAC/format.h
+include/FLAC/ordinals.h
+include/FLAC/seek_table.h
+include/FLAC/stream_decoder.h
+include/FLAC/stream_encoder.h
+include/FLAC/utility.h
+lib/libFLAC.a
+lib/libFLAC.la
+lib/libFLAC.so
+lib/libFLAC.so.1
+lib/libFLAC.so.1.0
+man/man1/flac.1
+share/doc/flac/images/1x1.gif
+share/doc/flac/images/cafebug.gif
+share/doc/flac/images/logo.jpg
+share/doc/flac/comparison.html
+share/doc/flac/developers.html
+share/doc/flac/documentation.html
+share/doc/flac/download.html
+share/doc/flac/features.html
+share/doc/flac/format.html
+share/doc/flac/goals.html
+share/doc/flac/id.html
+share/doc/flac/index.html
+share/doc/flac/news.html
+share/doc/flac/ru/authors.html
+share/doc/flac/ru/comparison.html
+share/doc/flac/ru/developers.html
+share/doc/flac/ru/documentation.html
+share/doc/flac/ru/download.html
+share/doc/flac/ru/features.html
+share/doc/flac/ru/format.html
+share/doc/flac/ru/goals.html
+share/doc/flac/ru/id.html
+share/doc/flac/ru/index.html
+share/doc/flac/ru/links.html
+share/doc/flac/ru/news.html
+@dirrm include/FLAC
+@dirrm share/doc/flac/images
+@dirrm share/doc/flac/ru
+@dirrm share/doc/flac