aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-07-21 22:52:06 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-07-21 22:52:06 +0000
commit1f87d7e2876468472fa2adb5c4b46dfa9ff144c7 (patch)
tree7b6801f631fbaf9d2f091aa305f3c8eae018d194
parentb0e21550e18eed0db347839b9fcaea70d3616355 (diff)
downloadports-1f87d7e2876468472fa2adb5c4b46dfa9ff144c7.tar.gz
ports-1f87d7e2876468472fa2adb5c4b46dfa9ff144c7.zip
Notes
-rw-r--r--LEGAL1
-rw-r--r--audio/Makefile1
-rw-r--r--audio/lpac/Makefile29
-rw-r--r--audio/lpac/distinfo3
-rw-r--r--audio/lpac/pkg-descr14
5 files changed, 48 insertions, 0 deletions
diff --git a/LEGAL b/LEGAL
index 9080bfe3c513..dba3b28f78d9 100644
--- a/LEGAL
+++ b/LEGAL
@@ -386,6 +386,7 @@ l0phtcrack/* security/l0phtcrack Parts are under GPL, so
binaries should not be
distributed. Contains crypto
from OpenSSL
+lpac-* audio/lpac No commercial use
lsh* security/lsh Crypto; export-controlled
l_cc_p*_*.*.*.tar.gz lang/icc No redistribution allowed
l_cc_p*_*.*.*.tar lang/icc7 No redistribution allowed
diff --git a/audio/Makefile b/audio/Makefile
index a99da19e972f..46fcd92ec092 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -327,6 +327,7 @@
SUBDIR += listener
SUBDIR += liteamp
SUBDIR += lopster
+ SUBDIR += lpac
SUBDIR += lplayer
SUBDIR += mac
SUBDIR += mad
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