summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/gst-plugins-gl
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/gst-plugins-gl')
-rw-r--r--media-plugins/gst-plugins-gl/Manifest1
-rw-r--r--media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch37
-rw-r--r--media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild61
-rw-r--r--media-plugins/gst-plugins-gl/metadata.xml9
4 files changed, 108 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-gl/Manifest b/media-plugins/gst-plugins-gl/Manifest
new file mode 100644
index 000000000000..52824b9f8937
--- /dev/null
+++ b/media-plugins/gst-plugins-gl/Manifest
@@ -0,0 +1 @@
+DIST gst-plugins-gl-0.10.3.tar.gz 1005557 SHA256 689be7a6ddbe2db4648ad7a7aaa8fa667ff98c66710a806e6a80fa98a69b1ce9 SHA512 d42bc537ee94aab2c794a1886c17cc7eb41b89995a086da9a1f53f909f2bb93e95e940d397627589c2e2edd8d4b074736fab70fafda6e26105bb078a3ed7725a WHIRLPOOL 7a62c642cb4b8e14e02f9361a5dea7f842f0eb573c4e6e29cecd7bf96931d12df95a4de2aa90985f975f73ee12feef886ce946ad044b5190fe947b523a4a8f88
diff --git a/media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch b/media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch
new file mode 100644
index 000000000000..6092d3a1e980
--- /dev/null
+++ b/media-plugins/gst-plugins-gl/files/gst-plugins-gl-0.10.3-jpeg-check.patch
@@ -0,0 +1,37 @@
+From d970fc512ecef1b78418156dba34cf6e77e41f94 Mon Sep 17 00:00:00 2001
+From: Alessandro Decina <alessandro.d@gmail.com>
+Date: Sat, 28 Dec 2013 15:10:09 +0100
+Subject: configure: fix libjpeg check
+
+We were setting HAVE_JPEG=no JPEG_LIBS=-ljpeg if libjpeg wasn't found. Unset
+JPEG_LIBS too so that linking doesn't fail.
+
+diff --git a/configure.ac b/configure.ac
+index 6ccb1aa..c4e8e9d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -862,12 +862,18 @@ AC_CHECK_LIB(jpeg-mmx, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
+ JPEG_LIBS="$LIBS -ljpeg-mmx"
+ LIBS="$OLD_LIBS"
+ if test x$HAVE_JPEG != xyes; then
+- AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
+ JPEG_LIBS="-ljpeg"
+- AC_DEFINE(HAVE_JPEG, [1] , [Use libjpeg])
++ AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
++fi
++
++if test x$HAVE_JPEG = xyes; then
++ AC_DEFINE(HAVE_JPEG, [1], [Use libjpeg])
++else
++ AC_DEFINE(HAVE_JPEG, [0], [Use libjpeg])
++ JPEG_LIBS=
+ fi
+-AC_SUBST(HAVE_JPEG)
+ AC_SUBST(JPEG_LIBS)
++AC_SUBST(HAVE_JPEG)
+ AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes")
+
+
+--
+cgit v0.10.2
+
diff --git a/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild b/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild
new file mode 100644
index 000000000000..f768495cecdb
--- /dev/null
+++ b/media-plugins/gst-plugins-gl/gst-plugins-gl-0.10.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GST_TARBALL_SUFFIX="gz"
+
+inherit autotools eutils gstreamer
+
+DESCRIPTION="GStreamer OpenGL plugins"
+HOMEPAGE="http://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="libvisual"
+
+RDEPEND="
+ >=media-libs/glew-1.10.0-r1[${MULTILIB_USEDEP}]
+ >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}]
+ >=media-libs/gstreamer-0.10.36-r2:0.10[${MULTILIB_USEDEP}]
+ >=media-libs/gst-plugins-base-0.10.36:0.10[${MULTILIB_USEDEP}]
+ >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+ virtual/jpeg:0[${MULTILIB_USEDEP}]
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+ >=x11-libs/libSM-1.2.1-r1[${MULTILIB_USEDEP}]
+ libvisual? ( >=media-libs/libvisual-0.4.0-r3[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.3
+"
+
+# FIXME: some deal with gst-plugin-scanner
+RESTRICT=test
+
+src_prepare() {
+ # Fix linking, bug 515014 (from 'master')
+ epatch "${FILESDIR}/${PN}-0.10.3-jpeg-check.patch"
+ eautoreconf
+}
+
+# FIXME: add support for libvisual
+multilib_src_configure() {
+ gstreamer_multilib_src_configure \
+ --disable-examples \
+ --disable-static \
+ --disable-valgrind \
+ $(use_enable libvisual)
+
+ if multilib_is_native_abi; then
+ local d
+ for d in libs plugins; do
+ ln -s "${S}"/docs/${d}/html docs/${d}/html || die
+ done
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files --modules
+}
diff --git a/media-plugins/gst-plugins-gl/metadata.xml b/media-plugins/gst-plugins-gl/metadata.xml
new file mode 100644
index 000000000000..0c83022c9abc
--- /dev/null
+++ b/media-plugins/gst-plugins-gl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gstreamer</herd>
+ <use>
+ <flag name="libvisual">Enable visualization effects via
+ <pkg>media-libs/libvisual</pkg></flag>
+ </use>
+</pkgmetadata>