commit 345c84b0bfa738955d38310faf98dc373f3dd41e
Author: Hans de Goede <hdegoede(a)redhat.com>
Date: Sat Jul 9 16:01:16 2016 +0200
Import gstreamer1-plugins-bad-nonfree-1.4.5-1.fc19.src.rpm
.gitignore | 1 +
gstreamer1-plugins-bad-nonfree.spec | 69 +++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 71 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9fef0db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gst-plugins-bad-1.4.5.tar.xz
diff --git a/gstreamer1-plugins-bad-nonfree.spec b/gstreamer1-plugins-bad-nonfree.spec
new file mode 100644
index 0000000..ab0a039
--- /dev/null
+++ b/gstreamer1-plugins-bad-nonfree.spec
@@ -0,0 +1,69 @@
+# which plugins to actually build and install
+%global extdirs ext/faac
+
+Summary: GStreamer 1.0 streaming media framework "bad" non-free
plug-ins
+Name: gstreamer1-plugins-bad-nonfree
+Version: 1.4.5
+Release: 1%{?dist}
+License: LGPLv2+
+Group: Applications/Multimedia
+URL:
http://gstreamer.freedesktop.org/
+Source0:
http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{ve...
+BuildRequires: gstreamer1-devel >= 1.4.0
+BuildRequires: gstreamer1-plugins-base-devel >= 1.4.0
+BuildRequires: check
+BuildRequires: gettext-devel
+BuildRequires: libXt-devel
+BuildRequires: gtk-doc
+BuildRequires: orc-devel
+BuildRequires: libdca-devel
+BuildRequires: faac-devel
+
+%description
+GStreamer is a streaming media framework, based on graphs of elements which
+operate on media data.
+
+This package contains plug-ins that depend on libraries which use a non-free
+license.
+
+
+%prep
+%setup -q -n gst-plugins-bad-%{version}
+
+
+%build
+# Note we don't bother with disabling everything which is in Fedora, that
+# is unmaintainable, instead we selectively run make in subdirs
+%configure \
+ --with-package-name="gst-plugins-bad 1.0 nonfree rpmfusion rpm" \
+ --with-package-origin="http://rpmfusion.org/" \
+ --enable-debug --disable-static --enable-experimental
+# Don't use rpath!
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+for i in %{extdirs}; do
+ pushd $i
+ make %{?_smp_mflags} V=2
+ popd
+done
+
+
+%install
+for i in %{extdirs}; do
+ pushd $i
+ make install V=2 DESTDIR=$RPM_BUILD_ROOT
+ popd
+done
+rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
+
+
+%files
+%doc AUTHORS NEWS README RELEASE
+%license COPYING.LIB
+# Plugins with external dependencies
+%{_libdir}/gstreamer-1.0/libgstfaac.so
+
+
+%changelog
+* Sat Aug 22 2015 Hans de Goede <j.w.r.degoede(a)gmail.com> - 1.4.5-1
+- Initial gstreamer1-plugins-bad-nonfree rpmfusion package
diff --git a/sources b/sources
index e69de29..89472aa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e0bb39412cf4a48fe0397bcf3a7cd451 gst-plugins-bad-1.4.5.tar.xz