Re: [proaudio] Ebuilds for libtc and ltc-tools

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


> 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



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