[packages/freshplayerplugin] new, version 0.3.0

glen glen at pld-linux.org
Wed Jul 15 21:25:13 CEST 2015


commit 296b61b616b58d74fc698529818f685796557537
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jul 15 22:24:39 2015 +0300

    new, version 0.3.0
    
    loosely based on freshplayerplugin-0.3.0.ebuild

 freshplayerplugin.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
---
diff --git a/freshplayerplugin.spec b/freshplayerplugin.spec
new file mode 100644
index 0000000..3cc8c2a
--- /dev/null
+++ b/freshplayerplugin.spec
@@ -0,0 +1,76 @@
+#
+# Conditional build:
+%bcond_with	gtk3		# build with gtk+3 instead of gtk+2
+%bcond_without	jack		# jack
+%bcond_without	pulseaudio	# pulseaudio
+%bcond_without	vaapi		# vaapi
+
+Summary:	PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers
+Name:		freshplayerplugin
+Version:	0.3.0
+Release:	0.1
+License:	MIT
+Group:		X11/Applications/Multimedia
+Source0:	https://github.com/i-rinat/freshplayerplugin/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	e8661cf64acbb6872f4b4aed7f2384a4
+URL:		https://github.com/i-rinat/freshplayerplugin
+BuildRequires:	Mesa-libEGL-devel
+BuildRequires:	Mesa-libGLES-devel
+BuildRequires:	alsa-lib-devel
+BuildRequires:	cmake >= 2.8.8
+BuildRequires:	freetype-devel
+BuildRequires:	glib2-devel
+%{!?with_gtk3:BuildRequires: gtk+2-devel}
+%{?with_gtk3:BuildRequires: gtk+3-devel}
+%{?with_jack:BuildRequires: jack-audio-connection-kit-devel}
+BuildRequires:	libconfig-devel
+BuildRequires:	libevent-devel
+BuildRequires:	libv4l-devel
+%{?with_vaapi:BuildRequires: libva-devel}
+BuildRequires:	openssl-devel
+%{?with_pulseaudio:BuildRequires: pulseaudio-devel}
+BuildRequires:	rpmbuild(macros) >= 1.357
+BuildRequires:	xorg-lib-libXrandr-devel
+BuildRequires:	xorg-lib-libXrender-devel
+Requires:	browser-plugins >= 2.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based
+browsers.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake \
+	-DCMAKE_SKIP_RPATH=1 \
+	%{?with_jack:-DJACK=1} \
+	%{?with_pulseaudio:-DPULSEAUDIO=1} \
+	-DWITH_GTK=%{!?with_gtk3:2}%{?with_gtk3:3} \
+	-DWITH_HWDEC=%{!?with_vaapi:0}%{?with_vaapi:1} \
+	..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_browserpluginsdir}
+install -p build/libfreshwrapper-pepperflash.so $RPM_BUILD_ROOT%{_browserpluginsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_browser_plugins
+
+%postun
+if [ "$1" = 0 ]; then
+	%update_browser_plugins
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog data/freshwrapper.conf.example README.md
+%attr(755,root,root) %{_browserpluginsdir}/libfreshwrapper-pepperflash.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freshplayerplugin.git/commitdiff/296b61b616b58d74fc698529818f685796557537



More information about the pld-cvs-commit mailing list