Created
April 2, 2016 18:17
-
-
Save Mailaender/5076a0e4ce62abf01848bbfb2314030f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------- | |
Sun Nov 24 16:27:36 UTC 2013 - [email protected] | |
- Adjusted repo to new official GitHub organisation | |
- replace expensive git fetch with https://en.opensuse.org/SourceUrls | |
- Added desurium-cef-5-nss-3.15.patch to fix the build on 13.1 | |
------------------------------------------------------------------- | |
Sun Apr 28 08:06:16 UTC 2013 - [email protected] | |
- update to version 0.8.0_rc10 | |
------------------------------------------------------------------- | |
Sat Mar 9 17:59:07 UTC 2013 - [email protected] | |
- update to version 0.8.0_rc9 | |
- build with support for h264 video tags | |
------------------------------------------------------------------- | |
Sun Feb 24 13:49:36 UTC 2013 - [email protected] | |
- update to version 0.8.0_rc8 | |
------------------------------------------------------------------- | |
Wed Feb 6 15:01:16 UTC 2013 - [email protected] | |
- update to version 0.8.0_rc5 | |
- packaging: wxWidgets is not required anymore | |
------------------------------------------------------------------- | |
Wed Jan 30 22:55:40 UTC 2013 - [email protected] | |
- update to version 0.8.0_rc4 | |
------------------------------------------------------------------- | |
Tue Sep 25 21:51:54 UTC 2012 - [email protected] | |
- initial packaging | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# spec file for package libcef_desura | |
# | |
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. | |
# | |
# 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/ | |
# | |
Name: libcef_desura | |
Summary: Chromium Embedded Framework for Desurium | |
License: BSD-3-Clause | |
Group: Amusements/Games/Other | |
Version: 0.8.0_rc10 | |
Release: 0 | |
Url: http://www.desura.com/groups/desurium | |
BuildRequires: bison | |
BuildRequires: cmake >= 2.8.5 | |
BuildRequires: fdupes | |
BuildRequires: flex | |
BuildRequires: gcc | |
BuildRequires: gcc-c++ | |
BuildRequires: glibc-devel | |
BuildRequires: gperf | |
BuildRequires: libbz2-devel | |
BuildRequires: libgcrypt-devel | |
BuildRequires: libjpeg-devel | |
BuildRequires: libtool | |
BuildRequires: pkg-config | |
BuildRequires: unzip | |
BuildRequires: yasm | |
BuildRequires: pkgconfig(alsa) | |
BuildRequires: pkgconfig(dbus-1) | |
BuildRequires: pkgconfig(dbus-glib-1) | |
BuildRequires: pkgconfig(flac) | |
BuildRequires: pkgconfig(gtk+-2.0) | |
BuildRequires: pkgconfig(libcurl) | |
BuildRequires: pkgconfig(libevent) | |
BuildRequires: pkgconfig(libexslt) | |
BuildRequires: pkgconfig(libnotify) | |
BuildRequires: pkgconfig(libpng) | |
BuildRequires: pkgconfig(libxml-2.0) | |
BuildRequires: pkgconfig(nss) | |
BuildRequires: pkgconfig(openssl) | |
BuildRequires: pkgconfig(python) | |
BuildRequires: pkgconfig(speex) | |
BuildRequires: pkgconfig(x11) | |
BuildRequires: pkgconfig(xi) | |
BuildRequires: pkgconfig(xpm) | |
BuildRequires: pkgconfig(zlib) | |
Requires: bzip2 | |
Requires: curl | |
Source0: https://github.com/desura/Desurium/archive/%{version}.tar.gz | |
Source1: cef-291.tar.gz | |
Source2: chromium-15.0.876.0.tar.bz2 | |
Source3: depot_tools-145556-2.tar.gz | |
# PATCH-FIX-UPSTREAM https://github.com/desura/desurium-overlay/blob/master/media-libs/desurium-cef/files/desurium-cef-5-nss-3.15.patch | |
Patch0: desurium-cef-5-nss-3.15.patch | |
BuildRoot: %{_tmppath}/%{name}-%{version}-build | |
%description | |
The Chromium Embedded Framework (CEF) is an open source framework for implementing HTML based | |
GUIs in desktop application. It comes with bindings for C, C++, .NET, Java, Delphi and Python. | |
This version is only for Desurium and includes many patches from upstream. | |
%prep | |
%setup -n Desurium-%{version} -q | |
%patch0 -p1 | |
# copy dependency source code because build machines don't have internet access: | |
cp %{S:1} . | |
cp %{S:2} . | |
cp %{S:3} . | |
%build | |
mkdir build | |
cd build | |
cmake -DBUILD_ONLY_CEF=TRUE \ | |
-DFORCE_SYS_DEPS=TRUE \ | |
-DH264_SUPPORT=TRUE \ | |
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \ | |
-DRUNTIME_LIBDIR="%{_lib}/desurium" \ | |
-DCEF_URL="file://%{_sourcedir}/cef-291.tar.gz" \ | |
-DDEPOT_TOOLS_URL="file://%{_sourcedir}/depot_tools-145556-2.tar.gz" \ | |
-DCHROMIUM_URL="file://%{_sourcedir}/chromium-15.0.876.0.tar.bz2" \ | |
.. | |
make %{?_smp_mflags} | |
%install | |
cd build | |
%make_install | |
# workaround an OBS cross-distro bug | |
%if 0%{?suse_version} | |
%fdupes %{buildroot} | |
%endif | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%files | |
%defattr(-,root,root) | |
%{_libdir}/desurium/ | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment