Re: [proaudio] Ebuilds for libtc and ltc-tools |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] Ebuilds for libtc and ltc-tools
- From: Karl Lindén <spray.sucks@xxxxxxxxx>
- Date: Mon, 29 Jul 2013 00:38:12 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rBU2u/2kXwOrzru6aNpjiZC+rzGfbTEDewhuLdCVfkM=; b=riq+SM5Lb/d4M/J9rwwE5wYt4Au+PEj+z+osUMEvuisryhGhSpZE+jSWxDAXbgnvvy dThdyiy2hXX/u33nZGXrELl+Gk11AgQ1OLMlkQ7DqsCmn4G5lMAMiq6NRjm9JtGl5BnC qLdCQoe4E249z5d1WjFMSbkR/vHgG1ysmWBwmTZASenvYb3cN2IAAOVbUNJC/qH2trnu eCA5r9xwnQOCk6FXlU11kzQmV80q4hpQFfxIpfX9Cs8prLDyBL3kIGmOM54+9vgouBrG OkFyo/5rAHGBWEIwyixJ96AGV6nNpzMAiplrDFXc56BWL3wT5uPNn0GjNeYcfWMjdrQY Tnmg==
> 2013/7/28 Jannis Achstetter <kripton@xxxxxxxxxxxxxx>:
>> -----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-----
>
ltc-tools committed with the following changes:
--- ltc-tools-0.6.3.ebuild.1 2013-07-29 00:33:03.849028319 +0200
+++ ltc-tools-0.6.3.ebuild 2013-07-29 00:13:20.301002588 +0200
@@ -1,43 +1,36 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
-unset GIT_ECLASS
+[[ "${PV}" = "9999" ]] && inherit git-2
-GITHUB_MAINTAINER="x42"
-GITHUB_PROJECT="${PN}"
+inherit toolchain-funcs
-if [[ ${PV} = 9999* ]]; then
- EGIT_REPO_URI="git://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}.git"
- GIT_ECLASS="git-2"
+if [[ "${PV}" = "9999" ]]; then
+ EGIT_REPO_URI="git://github.com/x42/${PN}.git"
SRC_URI=""
+ KEYWORDS=""
else
- SRC_URI="http://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz
-> ${PN}-v${PV}.tar.gz"
+ SRC_URI="http://github.com/x42/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
fi
-inherit ${GIT_ECLASS}
+RESTRICT="mirror"
-DESCRIPTION="Linear/Logitudinal Time Code (LTC) Library"
-HOMEPAGE="https://github.com/${GITHUB_MAINTAINER}/${GITHUB_PROJECT}"
-LICENSE="GPL"
+DESCRIPTION="Linear/Logitudinal Time Code (LTC) Library tools"
+HOMEPAGE="https://github.com/x42/ltc-tools"
+LICENSE="GPL-2"
SLOT="0"
-if [[ ${PV} != 9999* ]]; then
- KEYWORDS="~amd64 ~x86"
-fi
-
-RDEPEND=""
-DEPEND="media-libs/libltc
+RDEPEND=">=media-libs/libltc-1.1.0
+ media-libs/libsndfile
media-sound/jack-audio-connection-kit"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
-src_configure() {
- return
-}
-
-src_install() {
- dobin jltc2mtc jltcdump jltcgen ltcdump ltcgen
- doman jltc2mtc.1 jltcdump.1 jltcgen.1 ltcdump.1 ltcgen.1
- dodoc README*
+src_compile() {
+ tc-export CC
+ default
}
Thanks,
Karl