diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/gnonlin/gnonlin-0.10.17.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/gnonlin/gnonlin-0.10.17.ebuild')
-rw-r--r-- | media-libs/gnonlin/gnonlin-0.10.17.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/gnonlin/gnonlin-0.10.17.ebuild b/media-libs/gnonlin/gnonlin-0.10.17.ebuild new file mode 100644 index 000000000000..578c1e78f822 --- /dev/null +++ b/media-libs/gnonlin/gnonlin-0.10.17.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +DESCRIPTION="Gnonlin is a set of GStreamer elements to ease the creation of non-linear multimedia editors" +HOMEPAGE="http://gnonlin.sourceforge.net" +SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0.10" +KEYWORDS="amd64 x86" +IUSE="doc test" + +RDEPEND=">=media-libs/gstreamer-0.10.30:0.10 + >=media-libs/gst-plugins-base-0.10.30:0.10" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( || ( + >=dev-util/gtk-doc-am-1.13 + >=dev-util/gtk-doc-1.3 ) ) + test? ( dev-libs/check + media-libs/gst-plugins-good:0.10 )" # videomixer + +src_configure() { + econf \ + $(use_enable doc gtk-doc) \ + $(use_enable doc docbook) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README RELEASE + + # For some reason, make install doesn't do this + if use doc; then + local htmldir="/usr/share/gtk-doc/html" + cd "${S}/docs/libs/html" + gtkdoc-rebase --html-dir=${htmldir} || die "gtkdoc-rebase failed" + insinto "${htmldir}/gnonlin" + doins "${S}"/docs/libs/html/* || die "doins docs failed" + fi +} |