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.
This commit is contained in:
nia 2021-09-11 10:29:15 +00:00
parent e149acec2f
commit d5c622e3c7
6 changed files with 49 additions and 1 deletions

View file

@ -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

6
audio/libltc/DESCR Normal file
View file

@ -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.

18
audio/libltc/Makefile Normal file
View file

@ -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"

5
audio/libltc/PLIST Normal file
View file

@ -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

View file

@ -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

6
audio/libltc/distinfo Normal file
View file

@ -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