summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2014-04-18 12:41:09 +0000
committerwiz <wiz>2014-04-18 12:41:09 +0000
commit751121fc4717480261672d42bf3056fb3bc3e160 (patch)
treea3346959ec8238ef9067b8f81b8eebd26eeea63e
parentddd19bee535b3b98dcd9560253a71d78f4dd770a (diff)
downloadpkgsrc-751121fc4717480261672d42bf3056fb3bc3e160.tar.gz
Import libreplaygain-0rc475 as audio/libreplaygain.
This library has been stripped down from replaygain. ReplayGain is the name of a technique invented to achieve the same perceived playback loudness of audio files. It defines an algorithm to measure the perceived loudness of audio data.
-rw-r--r--audio/libreplaygain/DESCR5
-rw-r--r--audio/libreplaygain/Makefile19
-rw-r--r--audio/libreplaygain/PLIST6
-rw-r--r--audio/libreplaygain/buildlink3.mk12
-rw-r--r--audio/libreplaygain/distinfo5
5 files changed, 47 insertions, 0 deletions
diff --git a/audio/libreplaygain/DESCR b/audio/libreplaygain/DESCR
new file mode 100644
index 00000000000..b0b736b8c7b
--- /dev/null
+++ b/audio/libreplaygain/DESCR
@@ -0,0 +1,5 @@
+This library has been stripped down from replaygain.
+
+ReplayGain is the name of a technique invented to achieve the same
+perceived playback loudness of audio files. It defines an algorithm
+to measure the perceived loudness of audio data.
diff --git a/audio/libreplaygain/Makefile b/audio/libreplaygain/Makefile
new file mode 100644
index 00000000000..973965dd985
--- /dev/null
+++ b/audio/libreplaygain/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2014/04/18 12:41:09 wiz Exp $
+
+DISTNAME= libreplaygain_r475
+PKGNAME= libreplaygain-0rc475
+CATEGORIES= audio
+MASTER_SITES= http://files.musepack.net/source/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.musepack.net/
+COMMENT= ReplayGain library for the musepack decoder
+LICENSE= gnu-lgpl-v2.1
+
+USE_CMAKE= yes
+INSTALLATION_DIRS= include/replaygain
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/include/replaygain/* ${DESTDIR}${PREFIX}/include/replaygain
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libreplaygain/PLIST b/audio/libreplaygain/PLIST
new file mode 100644
index 00000000000..852a7e9d1b1
--- /dev/null
+++ b/audio/libreplaygain/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2014/04/18 12:41:09 wiz Exp $
+include/replaygain/gain_analysis.h
+lib/libreplaygain.a
+lib/libreplaygain.so
+lib/libreplaygain.so.1
+lib/libreplaygain.so.1.0.0
diff --git a/audio/libreplaygain/buildlink3.mk b/audio/libreplaygain/buildlink3.mk
new file mode 100644
index 00000000000..4d6775e7b6a
--- /dev/null
+++ b/audio/libreplaygain/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/04/18 12:41:09 wiz Exp $
+
+BUILDLINK_TREE+= libreplaygain
+
+.if !defined(LIBREPLAYGAIN_BUILDLINK3_MK)
+LIBREPLAYGAIN_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libreplaygain+= libreplaygain>=0rc475
+BUILDLINK_PKGSRCDIR.libreplaygain?= ../../audio/libreplaygain
+.endif # LIBREPLAYGAIN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libreplaygain
diff --git a/audio/libreplaygain/distinfo b/audio/libreplaygain/distinfo
new file mode 100644
index 00000000000..2da6a59c85a
--- /dev/null
+++ b/audio/libreplaygain/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/04/18 12:41:09 wiz Exp $
+
+SHA1 (libreplaygain_r475.tar.gz) = 7739b4b9cf46e0846663f707a9498a4db0345eaf
+RMD160 (libreplaygain_r475.tar.gz) = b61b087d2b795d8f8dce1bad917dc78fb0170430
+Size (libreplaygain_r475.tar.gz) = 8693 bytes