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

Hi,

I have committed libltc with the following changes from your proposed ebuild:

--- libltc-1.1.1.ebuild.a    2013-07-28 23:48:05.306969651 +0200
+++ libltc-1.1.1.ebuild    2013-07-28 23:52:08.571974940 +0200
@@ -1,55 +1,44 @@
-# 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}"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+AUTOTOOLS_AUTORECONF="1"
+inherit autotools-utils

-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 autotools ${GIT_ECLASS}
+RESTRICT="mirror"

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

-IUSE="doc"
-
-if [[ ${PV} != 9999* ]]; then
-    KEYWORDS="~amd64 ~x86"
-fi
+IUSE="doc static-libs"

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

-src_prepare() {
-    eautoreconf
-}
-
 src_compile() {
-    emake
+    autotools-utils_src_compile

-    if use doc ; then
-            emake dox
-    fi
+    use doc && autotools-utils_src_compile dox
 }

 src_install() {
-    emake DESTDIR="${D}" install
+    use doc && HTML_DOCS=( doc/html/ )

-    dodoc README* ChangeLog AUTHORS
-    if use doc ; then
-        dohtml doc/html/*
-    fi
+    autotools-utils_src_install
 }

I will start with ltc-tools soon.

Thank you,
Karl



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