From d5c622e3c73b552e77336e5d0ca3dead09e3baf1 Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 11 Sep 2021 10:29:15 +0000 Subject: [PATCH] Add audio/libltc Linear (or Longitudinal) Timecode (LTC) is an encoding of SMPTE timecode data as a Manchester-Biphase encoded audio signal. The audio signal is commonly recorded on a VTR track or other storage media. libltc provides functionality to encode and decode LTC audio from/to SMPTE or EBU timecode, including SMPTE date support. --- audio/Makefile | 3 ++- audio/libltc/DESCR | 6 ++++++ audio/libltc/Makefile | 18 ++++++++++++++++++ audio/libltc/PLIST | 5 +++++ audio/libltc/buildlink3.mk | 12 ++++++++++++ audio/libltc/distinfo | 6 ++++++ 6 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 audio/libltc/DESCR create mode 100644 audio/libltc/Makefile create mode 100644 audio/libltc/PLIST create mode 100644 audio/libltc/buildlink3.mk create mode 100644 audio/libltc/distinfo diff --git a/audio/Makefile b/audio/Makefile index f4ef92941066..61d058896adf 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.638 2021/09/08 10:43:46 pin Exp $ +# $NetBSD: Makefile,v 1.639 2021/09/11 10:29:15 nia Exp $ # COMMENT= Audio tools, players, and libraries @@ -239,6 +239,7 @@ SUBDIR+= libid3tag SUBDIR+= libifp SUBDIR+= liblastfm SUBDIR+= liblo +SUBDIR+= libltc SUBDIR+= libmad SUBDIR+= libmatemixer SUBDIR+= libmikmod diff --git a/audio/libltc/DESCR b/audio/libltc/DESCR new file mode 100644 index 000000000000..e75e91755bb9 --- /dev/null +++ b/audio/libltc/DESCR @@ -0,0 +1,6 @@ +Linear (or Longitudinal) Timecode (LTC) is an encoding of SMPTE timecode +data as a Manchester-Biphase encoded audio signal. The audio signal is +commonly recorded on a VTR track or other storage media. + +libltc provides functionality to encode and decode LTC audio from/to SMPTE +or EBU timecode, including SMPTE date support. diff --git a/audio/libltc/Makefile b/audio/libltc/Makefile new file mode 100644 index 000000000000..29c10ea2f778 --- /dev/null +++ b/audio/libltc/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2021/09/11 10:29:15 nia Exp $ + +DISTNAME= libltc-1.3.1 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_GITHUB:=x42/} +GITHUB_RELEASE= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://x42.github.io/libltc/ +COMMENT= Linear/Logitudinal Time Code (LTC) Library +LICENSE= gnu-lgpl-v3 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +PKGCONFIG_OVERRIDE+= ltc.pc.in + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libltc/PLIST b/audio/libltc/PLIST new file mode 100644 index 000000000000..ab691d643a7e --- /dev/null +++ b/audio/libltc/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2021/09/11 10:29:15 nia Exp $ +include/ltc.h +lib/libltc.la +lib/pkgconfig/ltc.pc +man/man3/ltc.h.3 diff --git a/audio/libltc/buildlink3.mk b/audio/libltc/buildlink3.mk new file mode 100644 index 000000000000..272bf8cd0915 --- /dev/null +++ b/audio/libltc/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2021/09/11 10:29:15 nia Exp $ + +BUILDLINK_TREE+= libltc + +.if !defined(LIBLTC_BUILDLINK3_MK) +LIBLTC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libltc+= libltc>=1.3.1 +BUILDLINK_PKGSRCDIR.libltc?= ../../audio/libltc +.endif # LIBLTC_BUILDLINK3_MK + +BUILDLINK_TREE+= -libltc diff --git a/audio/libltc/distinfo b/audio/libltc/distinfo new file mode 100644 index 000000000000..0cd783853461 --- /dev/null +++ b/audio/libltc/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/09/11 10:29:15 nia Exp $ + +SHA1 (libltc-1.3.1.tar.gz) = 999ddbf4edf18b20d3dbf228977044f05a7eade0 +RMD160 (libltc-1.3.1.tar.gz) = 0c6b45c0d3914e13f77a9568e9e2122085fb4cc5 +SHA512 (libltc-1.3.1.tar.gz) = e4ba96560f04155d022d2c975fa36d4bb77efb9a877344041e1bd12bd5e7d04dccb452f3a4e061aba961bd0c3c0d1d53dc98ac469e04e61a934feeedc20e09b3 +Size (libltc-1.3.1.tar.gz) = 440790 bytes