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 24)
Currently displaying revision
24
,
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/ # %if 0%{?suse_version} > 1210 %define with_equalizer 1 %if 0%{?suse_version} > 1320 %define with_qt5 1 %endif %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: texinfo BuildRequires: update-desktop-files BuildRequires: xz BuildRequires: pkgconfig(glew) >= 1.6.0 BuildRequires: pkgconfig(libass) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(openal) %if 0%{?with_equalizer} BuildRequires: pkgconfig(Equalizer) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) %if 0%{?with_qt5} BuildRequires: pkgconfig(Qt5OpenGL) %else BuildRequires: pkgconfig(QtOpenGL) %endif %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. %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 0%{?with_equalizer} --with-equalizer \ %endif %if 0%{?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 %desktop_database_post %install_info --info-dir="%{_infodir}" "%{_infodir}/bino".info* %postun %desktop_database_postun %install_info_delete --info-dir="%{_infodir}" "%{_infodir}/bino".info* %files -f "%{name}.lang" %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %doc doc/*.html doc/*.jpg doc/*.png %{_bindir}/bino %doc %{_mandir}/man1/bino.1%{ext_man} %doc %{_infodir}/bino.info%{ext_info} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/*/*/apps/bino.* %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
.