[proaudio] Ebuilds for libtc and ltc-tools

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

attached are ebuilds for media-libs/libtc
(https://github.com/x42/libltc) and media-sound/ltc-tools
(https://github.com/x42/ltc-tools). Both ebuilds also work as live
ebuilds when renamed or symlinked to ${PN}-9999.ebuild

Best regards,
	Jannis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEUEARECAAYFAlH1Xt8ACgkQeYlewm37lbgcNACY6sT2RnV/9BGS1sgTQtHmoG0k
BACfQ9GBHVvcv0jC87mVMaeKX8lnFT8=
=TX4S
-----END PGP SIGNATURE-----
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

unset GIT_ECLASS

GITHUB_MAINTAINER="x42"
GITHUB_PROJECT="${PN}"

if [[ ${PV} = 9999* ]]; then
	EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git"
	GIT_ECLASS="git-2"
	SRC_URI=""
else
	SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"
fi

inherit autotools ${GIT_ECLASS}

DESCRIPTION="Linear/Logitudinal Time Code (LTC) Library"
HOMEPAGE="https://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}";
LICENSE="GPL"
SLOT="0"

IUSE="doc"

if [[ ${PV} != 9999* ]]; then
	KEYWORDS="~amd64 ~x86"
fi

RDEPEND=""
DEPEND="doc? ( app-doc/doxygen )"

src_prepare() {
	eautoreconf
}

src_compile() {
	emake

	if use doc ; then
        	emake dox
	fi	
}

src_install() {
	emake DESTDIR="${D}" install

	dodoc README* ChangeLog AUTHORS
	if use doc ; then
		dohtml doc/html/*
	fi
}
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

unset GIT_ECLASS

GITHUB_MAINTAINER="x42"
GITHUB_PROJECT="${PN}"

if [[ ${PV} = 9999* ]]; then
	EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git"
	GIT_ECLASS="git-2"
	SRC_URI=""
else
	SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"
fi

inherit ${GIT_ECLASS}

DESCRIPTION="Linear/Logitudinal Time Code (LTC) Library"
HOMEPAGE="https://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}";
LICENSE="GPL"
SLOT="0"

if [[ ${PV} != 9999* ]]; then
	KEYWORDS="~amd64 ~x86"
fi

RDEPEND=""
DEPEND="media-libs/libltc
	media-sound/jack-audio-connection-kit"

src_configure() {
	return
}

src_install() {
	dobin jltc2mtc jltcdump jltcgen ltcdump ltcgen
	doman jltc2mtc.1 jltcdump.1 jltcgen.1 ltcdump.1 ltcgen.1
	dodoc README*
}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/