Projects
Multimedia
bino
bino.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bino.spec of Package bino (Revision 28)
Currently displaying revision
28
,
Show latest
# # spec file for package bino # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # Copyright (c) 2014 Packman team: http://packman.links2linux.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_without equalizer %if 0%{?suse_version} == 1315 && 0%{?is_opensuse} %define Leap_verSP 4210 %endif %if 0%{?Leap_verSP} == 4210 || 0%{?suse_version} > 1320 %bcond_without qt5 %endif Name: bino Version: 1.6.1 Release: 0 Summary: Video Player with 3D and Multi-Display Video Support License: GPL-2.0+ Group: Productivity/Multimedia/Video/Players Url: http://bino3d.org Source: http://download-mirror.savannah.gnu.org/releases/bino/bino-%{version}.tar.xz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: hicolor-icon-theme BuildRequires: libtool BuildRequires: lirc-devel BuildRequires: make BuildRequires: pkgconfig BuildRequires: makeinfo BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: pkgconfig(glewmx) >= 1.6.0 BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libavcodec) = 56.60.100 BuildRequires: pkgconfig(libavdevice) = 56.4.100 BuildRequires: pkgconfig(libavformat) = 56.40.101 BuildRequires: pkgconfig(libavutil) = 54.31.100 BuildRequires: pkgconfig(libswscale) = 3.1.101 BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) %if %{with equalizer} BuildRequires: pkgconfig(Equalizer) %endif %if %{with qt5} BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5OpenGL) %else BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(QtOpenGL) %endif Requires: %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Bino is a video player with two special features: * support for 3D videos, with a wide variety of input and output formats. * support for multi-display video, e.g. for powerwalls, Virtual Reality installations and other multi-projector setups. %lang_package %prep %setup -q # Compile your code with -fPIC (Qt5) sed -i '/CXXFLAGS/s/fPIE/fPIC/;/LDFLAGS/s/pie/fpic/' configure # fix removal of translations pushd po mv zh{_cn,_CN}.po mv zh{_cn,_CN}.gmo sed -i 's/_cn/_CN/' LINGUAS popd %build %if 0%{?suse_version} >= 1230 # hangle 'multiple definition of' export LDFLAGS="%{optflags} -zmuldefs" %endif # support via liblircclient export liblircclient_CFLAGS="-I%{_includedir}" export liblircclient_LIBS="-L%{_libdir} -llirc_client" %configure \ --disable-silent-rules \ %if !%{with equalizer} --without-equalizer \ %endif %if %{with qt5} --with-qt-version=5 %endif make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install rm -rf "%{buildroot}%{_datadir}/doc" %suse_update_desktop_file -r "%{name}" AudioVideo Video Player %find_lang "%{name}" || echo -n >"%{name}.lang" %post %icon_theme_cache_post %desktop_database_post %info_add %{name}.info %postun %icon_theme_cache_postun %desktop_database_postun if [ $1 = 0 ]; then %info_del %{name}.info fi %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %doc doc/*.html doc/*.jpg doc/*.png %{_bindir}/bino %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/*/*/apps/%{name}.* %{_mandir}/man1/bino.1%{ext_man} %{_infodir}/bino.info%{ext_info} %files lang -f "%{name}.lang" %defattr(-,root,root) %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
.