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/frei0r-plugins
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/frei0r-plugins')
-rw-r--r--media-plugins/frei0r-plugins/Manifest2
-rw-r--r--media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch24
-rw-r--r--media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch47
-rw-r--r--media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch49
-rw-r--r--media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild67
-rw-r--r--media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild62
-rw-r--r--media-plugins/frei0r-plugins/metadata.xml13
7 files changed, 264 insertions, 0 deletions
diff --git a/media-plugins/frei0r-plugins/Manifest b/media-plugins/frei0r-plugins/Manifest
new file mode 100644
index 00000000000..c61cafb0e8b
--- /dev/null
+++ b/media-plugins/frei0r-plugins/Manifest
@@ -0,0 +1,2 @@
+DIST frei0r-plugins-1.3.tar.gz 1092809 SHA256 b25da901115aa7f960cf5e541057266fddf132a7521d628e6cb344c9f16c0236 SHA512 3fcbdb61b656db42b841df6485ca06e2fe2bb8ca16dc054f9154408f843c4170454f8b9fc619b49989f6da9990b67eb7ac6b548dd0fbfb560fdb0f2789346f90 WHIRLPOOL d79a14eae912bd9739b498c7e4d2949529f3e212835a337023bd9760bc9a1dbf239fb4e8cb7f038060d945932df725559fbf283c6362e2777d171126859eff05
+DIST frei0r-plugins-1.4.tar.gz 1164909 SHA256 8470fcabde9f341b729be3be16385ffc8383d6f3328213907a43851b6e83be57 SHA512 48e5da48a8886242bc5f38911f943d28d507d802076f5fcd2b5c9adc29ed40cb37f30316d4f4c253d279f17eb00c6acad47a7be3aeeec0def7a4aca1130b34fa WHIRLPOOL 6245799e4c56e80ca75db0a75836912412b7b91d55719a5d1d76c27f11a1df0f3ca8d3106903b6535a250cd5579be981bf8b01373c2bca7db1cf2857e449eb5e
diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch
new file mode 100644
index 00000000000..70d20329ff8
--- /dev/null
+++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-libdir.patch
@@ -0,0 +1,24 @@
+diff -up frei0r-plugins-1.1.21/src/Makefile.am.libdir frei0r-plugins-1.1.21/src/Makefile.am
+--- frei0r-plugins-1.1.21/src/Makefile.am.libdir 2008-06-07 15:21:48.000000000 +0200
++++ frei0r-plugins-1.1.21/src/Makefile.am 2008-06-07 15:23:30.000000000 +0200
+@@ -112,7 +112,7 @@ AM_CPPFLAGS = -I@top_srcdir@/include
+ AM_CFLAGS = -I@top_srcdir@/include
+ AM_LDFLAGS = -module -avoid-version -Wc,-nostartfiles
+
+-plugindir = @prefix@/lib/frei0r-1
++plugindir = @libdir@/frei0r-1
+
+
+ install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
+diff -up frei0r-plugins-1.1.21/src/Makefile.in.libdir frei0r-plugins-1.1.21/src/Makefile.in
+--- frei0r-plugins-1.1.21/src/Makefile.in.libdir 2008-06-07 15:21:44.000000000 +0200
++++ frei0r-plugins-1.1.21/src/Makefile.in 2008-06-07 15:23:08.000000000 +0200
+@@ -583,7 +583,7 @@ RGB_la_SOURCES = mixer3/RGB/RGB.c
+ AM_CPPFLAGS = -I@top_srcdir@/include
+ AM_CFLAGS = -I@top_srcdir@/include
+ AM_LDFLAGS = -module -avoid-version -Wc,-nostartfiles
+-plugindir = @prefix@/lib/frei0r-1
++plugindir = @libdir@/frei0r-1
+ all: all-am
+
+ .SUFFIXES:
diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch
new file mode 100644
index 00000000000..142a9a8c24f
--- /dev/null
+++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-no-automagic-deps.patch
@@ -0,0 +1,47 @@
+--- orig/configure.ac 2008-10-28 11:57:18.000000000 +0100
++++ patched/configure.ac 2009-07-05 15:19:37.000000000 +0200
+@@ -11,12 +11,18 @@
+ AC_PROG_CC
+ AC_PROG_LIBTOOL
+
++
++AC_ARG_ENABLE([facedetect], [ --enable-facedetect enable facedetect plugin (needs opencv)],
++ [facedetect=${enableval}], [facedetect=no])
++
+ HAVE_OPENCV=false
+-PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, [HAVE_OPENCV=true], [true])
+-if test x$HAVE_OPENCV = xfalse; then
+- AC_MSG_WARN([*** opencv >= 1.0.0 not found - this program enables optional plugin with the Open Source Computer Vision library >= 1.0.0 http://opencvlibrary.sourceforge.net/ ***])
+-else
+- OPENCV_CFLAGS="$OPENCV_CFLAGS -DOPENCV_PREFIX=`pkg-config opencv --variable=prefix`"
++if test "x${facedetect}" = xyes; then
++ PKG_CHECK_MODULES(OPENCV, opencv >= 1.0.0, [HAVE_OPENCV=true], [true])
++ if test x$HAVE_OPENCV = xfalse; then
++ AC_MSG_WARN([*** opencv >= 1.0.0 not found - this program enables optional plugin with the Open Source Computer Vision library >= 1.0.0 http://opencvlibrary.sourceforge.net/ ***])
++ else
++ OPENCV_CFLAGS="$OPENCV_CFLAGS -DOPENCV_PREFIX=`pkg-config opencv --variable=prefix`"
++ fi
+ fi
+ AM_CONDITIONAL([HAVE_OPENCV], [test x$HAVE_OPENCV = xtrue])
+
+@@ -35,11 +41,16 @@
+ AC_FUNC_MALLOC
+ AC_CHECK_FUNCS([floor memset pow sqrt])
+
++
++AC_ARG_ENABLE([scale0tilt], [ --enable-scale0tilt enable scale0tilt plugin (needs gavl)],
++ [scale0tilt=${enableval}], [scale0tilt=no])
++
+ HAVE_GAVL=false
+-PKG_CHECK_MODULES(GAVL, gavl >= 0.2.3, [HAVE_GAVL=true], [true])
+-if test x$HAVE_GAVL = xfalse; then
+- AC_MSG_WARN([*** gavl >= 0.2.3 not found - this program enables optional plugin with the gmerlin audio
+- video library >= 0.2.3 http://gmerlin.sourceforge.net/ ***])
++if test "x${scale0tilt}" = xyes; then
++ PKG_CHECK_MODULES(GAVL, gavl >= 0.2.3, [HAVE_GAVL=true], [true])
++ if test x$HAVE_GAVL = xfalse; then
++ AC_MSG_WARN([*** gavl >= 0.2.3 not found - this program enables optional plugin with the gmerlin audio video library >= 0.2.3 http://gmerlin.sourceforge.net/ ***])
++ fi
+ fi
+ AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue])
+
diff --git a/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch
new file mode 100644
index 00000000000..a60f18f217d
--- /dev/null
+++ b/media-plugins/frei0r-plugins/files/frei0r-plugins-1.1.22-pkgconfig-support.patch
@@ -0,0 +1,49 @@
+From c950588f3e9188aa51e2cd3b9346bf346ad34118 Mon Sep 17 00:00:00 2001
+From: Luca Bigliardi <shammash@artha.org>
+Date: Thu, 09 Apr 2009 15:10:53 +0000
+Subject: Add pkg-config support
+
+---
+diff --git a/Makefile.am b/Makefile.am
+index 8e8dbf9..511dbc0 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,3 +10,7 @@
+
+ SUBDIRS=src include doc
+ EXTRA_DIST = Doxyfile
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = frei0r.pc
++
+diff --git a/configure.ac b/configure.ac
+index ed440a9..49d65b2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -67,6 +67,7 @@ fi
+ AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue])
+
+ AC_CONFIG_FILES([
++ frei0r.pc
+ Makefile
+ include/Makefile
+ src/Makefile
+diff --git a/frei0r.pc.in b/frei0r.pc.in
+new file mode 100644
+index 0000000..3bd60da
+--- a/dev/null
++++ b/frei0r.pc.in
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: frei0r
++Description: minimalistic plugin API for video effects
++Version: @VERSION@
++Libs:
++Cflags: -I${includedir}
++
+--
+cgit v0.7.2-83-g9ec5
diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild
new file mode 100644
index 00000000000..3c727db8c03
--- /dev/null
+++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.3.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit cmake-utils multilib
+
+DESCRIPTION="A minimalistic plugin API for video effects"
+HOMEPAGE="http://www.piksel.org/frei0r/"
+SRC_URI="http://www.piksel.no/frei0r/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ppc x86 ~x86-fbsd"
+IUSE="doc +facedetect +scale0tilt"
+
+RDEPEND="facedetect? ( >=media-libs/opencv-2.3.0 )
+ scale0tilt? ( >=media-libs/gavl-1.2.0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${P/-plugins}
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ cat <<-EOF > "${T}"/frei0r.pc
+ Name: frei0r
+ Description: ${DESCRIPTION}
+ Version: ${PV}
+ EOF
+
+ local f=CMakeLists.txt
+
+ sed -i \
+ -e '/set(CMAKE_C_FLAGS/d' \
+ -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \
+ ${f} || die
+
+ # http://bugs.gentoo.org/418243
+ sed -i \
+ -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \
+ src/filter/*/${f} || die
+
+ use facedetect || sed -i -e '/package.*OpenCV/d' ${f}
+ use scale0tilt || sed -i -e '/modules.*gavl/d' ${f}
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc; then
+ pushd doc
+ doxygen || die
+ popd
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${T}"/frei0r.pc
+
+ use doc && dohtml -r doc/html
+}
diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild
new file mode 100644
index 00000000000..672a979e0b2
--- /dev/null
+++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit cmake-utils multilib
+
+DESCRIPTION="A minimalistic plugin API for video effects"
+HOMEPAGE="http://www.dyne.org/software/frei0r/"
+SRC_URI="http://files.dyne.org/frei0r/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="doc +facedetect +scale0tilt"
+
+RDEPEND="x11-libs/cairo
+ facedetect? ( >=media-libs/opencv-2.3.0 )
+ scale0tilt? ( >=media-libs/gavl-1.2.0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+src_prepare() {
+ local f=CMakeLists.txt
+
+ sed -i \
+ -e '/set(CMAKE_C_FLAGS/d' \
+ -e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \
+ ${f} || die
+
+ # http://bugs.gentoo.org/418243
+ sed -i \
+ -e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \
+ src/filter/*/${f} || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use "!facedetect" "WITHOUT_GAVL" )
+ $(cmake-utils_use "!scale0tilt" "WITHOUT_OPENCV")
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc; then
+ pushd doc
+ doxygen || die
+ popd
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ use doc && dohtml -r doc/html
+}
diff --git a/media-plugins/frei0r-plugins/metadata.xml b/media-plugins/frei0r-plugins/metadata.xml
new file mode 100644
index 00000000000..296444e60bc
--- /dev/null
+++ b/media-plugins/frei0r-plugins/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <use>
+ <flag name='facedetect'>Enables building of facedetect plugin, which
+ depends on <pkg>media-libs/opencv</pkg>
+ </flag>
+ <flag name='scale0tilt'>Enables building of scale0tilt and vectorscope
+ plugins, which depend on <pkg>media-libs/gavl</pkg>
+ </flag>
+ </use>
+</pkgmetadata>