Projects
Multimedia
omxplayer
omxplayer.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File omxplayer.spec of Package omxplayer (Revision 15)
Currently displaying revision
15
,
Show latest
# # spec file for package omxplayer # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 Guillaume GARDET <guillaume@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_with external_ffmpeg Name: omxplayer Version: 2016.08.03 Release: 0 Summary: omxplayer for Raspberry Pi License: GPL-2.0+ Group: Productivity/Multimedia/Video/Editors and Convertors Url: https://github.com/popcornmix/omxplayer Source: omxplayer-%{version}.tar.gz Patch0: Makefile.include.diff Patch1: Makefile.ffmpeg.diff Patch2: Makefile.diff Patch3: omxplayer.cpp.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: alsa-devel BuildRequires: boost-devel BuildRequires: dbus-1-devel BuildRequires: freetype-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: pcre-devel BuildRequires: pkg-config BuildRequires: raspberrypi-userland-devel %if %{with external_ffmpeg} BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) %else # Internal ffmpeg enables openssl and libsmbclient BuildRequires: libopenssl-devel BuildRequires: libsmbclient-devel BuildRequires: libssh-devel %endif Requires: gnu-free-fonts ExclusiveArch: armv6l armv6hl %arm %description omxplayer is a player for Raspberry Pi. %prep %setup -q %patch0 -p1 %if !%{with external_ffmpeg} %patch1 -p1 %endif %patch2 -p1 %patch3 -p1 %build %if !%{with external_ffmpeg} make -f Makefile.ffmpeg configure make -f Makefile.ffmpeg compile make -f Makefile.ffmpeg install %endif # Workaround for latest firmwares export INCLUDES="$INCLUDES -I/opt/vc/include/interface/vmcs_host/linux" # Add missing include path (freetype2 and dbus) export INCLUDES="$INCLUDES -I/usr/include/freetype2" export INCLUDES="$INCLUDES -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" make %{?_smp_mflags} make dist %install tar -xzf omxplayer-dist.tgz rm -rf omxplayer-dist/usr/share mv omxplayer-dist/* %{buildroot}/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_libdir}/omxplayer %{_bindir}/omxplayer %{_bindir}/omxplayer.bin %if !%{with external_ffmpeg} %{_libdir}/omxplayer/libavcodec.so %{_libdir}/omxplayer/libavcodec.so.* %{_libdir}/omxplayer/libavdevice.so %{_libdir}/omxplayer/libavdevice.so.* %{_libdir}/omxplayer/libavfilter.so %{_libdir}/omxplayer/libavfilter.so.* %{_libdir}/omxplayer/libavformat.so %{_libdir}/omxplayer/libavformat.so.* %{_libdir}/omxplayer/libavutil.so %{_libdir}/omxplayer/libavutil.so.* %{_libdir}/omxplayer/libswresample.so %{_libdir}/omxplayer/libswresample.so.* %{_libdir}/omxplayer/libswscale.so %{_libdir}/omxplayer/libswscale.so.* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.