aboutsummaryrefslogtreecommitdiffstats
path: root/audio/lpac
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-07-22 06:52:06 +0800
committersat <sat@FreeBSD.org>2006-07-22 06:52:06 +0800
commite184f025113788e060598f721b99511a02cb6d9b (patch)
tree73a150f4093e523161c946804c560a540991de3e /audio/lpac
parent3c21a1a9fc95979cd30f7856f031110cbcff1425 (diff)
downloadfreebsd-ports-gnome-e184f025113788e060598f721b99511a02cb6d9b.tar.gz
freebsd-ports-gnome-e184f025113788e060598f721b99511a02cb6d9b.tar.zst
freebsd-ports-gnome-e184f025113788e060598f721b99511a02cb6d9b.zip
Add port audio/lpac:
LPAC is a codec (coder / decoder) for lossless compression of digital audio files. "Lossless" means that any compressed file can be decompressed in a way it will be bit-wise identical with the original. This is the main advantage of LPAC compared to lossy formats like MP3, WMA or RealAudio. On the other hand, lossy codecs can achieve higher compression ratios. For example, MP3 at 128 kbit/s achieves a (fixed) compression ratio of 11, whereas LPAC's compression ratios range from 1.5 to 4, strongly depending on the audio material. Typically they are around 2 for pop music and 2.5 for classical music. This may not seem much, but remember you will get back every single bit, no matter how often you subsequently compress and decompress a file. It is true that general archivers (Zip, LZH, gzip) are lossless, too, but they often achieve nearly no compression on audio files. WWW: http://www.nue.tu-berlin.de/wer/liebchen/lpac.html
Diffstat (limited to 'audio/lpac')
-rw-r--r--audio/lpac/Makefile29
-rw-r--r--audio/lpac/distinfo3
-rw-r--r--audio/lpac/pkg-descr14
3 files changed, 46 insertions, 0 deletions
diff --git a/audio/lpac/Makefile b/audio/lpac/Makefile
new file mode 100644
index 000000000000..650963ffee85
--- /dev/null
+++ b/audio/lpac/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: lpac
+# Date created: 22 July 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lpac
+PORTVERSION= 1.40
+CATEGORIES= audio linux
+MASTER_SITES= http://bsd1.csme.ru/myports/ \
+ http://bsd2.csme.ru/myports/ \
+ http://bsd3.csme.ru/myports/
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Lossless audio codec
+
+ONLY_FOR_ARCHS= amd64 i386
+
+NO_CDROM= No commercial use
+NO_BUILD= yes
+USE_LINUX= yes
+PLIST_FILES= bin/lpac
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKDIR}/lpac ${PREFIX}/bin/
+ @${BRANDELF} -t Linux ${PREFIX}/bin/lpac
+
+.include <bsd.port.mk>
diff --git a/audio/lpac/distinfo b/audio/lpac/distinfo
new file mode 100644
index 000000000000..0558bf25de33
--- /dev/null
+++ b/audio/lpac/distinfo
@@ -0,0 +1,3 @@
+MD5 (lpac-1.40.tar.gz) = 21f598e54ad1c2ea156962f30c7095dd
+SHA256 (lpac-1.40.tar.gz) = ef6a8ca55adfcf288addc8276bee72f0f7853db76a9e1a5b52328323472de56b
+SIZE (lpac-1.40.tar.gz) = 25551
diff --git a/audio/lpac/pkg-descr b/audio/lpac/pkg-descr
new file mode 100644
index 000000000000..c62d613efd96
--- /dev/null
+++ b/audio/lpac/pkg-descr
@@ -0,0 +1,14 @@
+LPAC is a codec (coder / decoder) for lossless compression of digital audio
+files. "Lossless" means that any compressed file can be decompressed in a way
+it will be bit-wise identical with the original. This is the main advantage
+of LPAC compared to lossy formats like MP3, WMA or RealAudio. On the other
+hand, lossy codecs can achieve higher compression ratios. For example, MP3 at
+128 kbit/s achieves a (fixed) compression ratio of 11, whereas LPAC's
+compression ratios range from 1.5 to 4, strongly depending on the audio
+material. Typically they are around 2 for pop music and 2.5 for classical
+music. This may not seem much, but remember you will get back every single
+bit, no matter how often you subsequently compress and decompress a file. It
+is true that general archivers (Zip, LZH, gzip) are lossless, too, but they
+often achieve nearly no compression on audio files.
+
+WWW: http://www.nue.tu-berlin.de/wer/liebchen/lpac.html