Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:michals
ladybird
ladybird.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ladybird.spec of Package ladybird
# # spec file for package ladybird # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define tz_version 2024a %define cldr_version 45.0.0 %define cacert_version 2023-12-12 %define ucd_version 15.1.0 %define emoji_version 15.1 %define cc_version 13 %define _lto_cflags %{nil} %if 0%{?suse_version} && 0%{?suse_version} <= 1500 %define cmake_extra_args -DCMAKE_CXX_COMPILER=g++-%{cc_version} -DCMAKE_C_COMPILER=gcc-%{cc_version} BuildRequires: gcc%{cc_version}-c++ BuildRequires: python311 %else BuildRequires: gcc-c++ >= 12 BuildRequires: python3 %endif Name: ladybird Version: 0+1724781170.36b7cac605 Release: 0 Summary: Web browser built on the LibWeb and LibJS engines from SerenityOS License: BSD-2-clause URL: https://github.com/SerenityOS/serenity/tree/master/Ladybird Source: serenity-%{version}.tar.gz Source1: https://data.iana.org/time-zones/releases/tzdata%{tz_version}.tar.gz Source2: https://github.com/unicode-org/cldr-json/releases/download/%{cldr_version}/cldr-%{cldr_version}-json-modern.zip Source3: https://curl.se/ca/cacert-%{cacert_version}.pem Source4: https://www.unicode.org/Public/%{ucd_version}/ucd/UCD.zip Source5: https://www.unicode.org/Public/idna/%{ucd_version}/IdnaMappingTable.txt Source6: https://www.unicode.org/Public/emoji/%{emoji_version}/emoji-test.txt Source7: https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat Source8: https://spec.commonmark.org/0.30/spec.json#/commonmark.spec.json Source9: https://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfilesCS4Win_end-user.zip Patch1: LibJS-ppc64le.patch BuildRequires: ccache BuildRequires: cmake >= 3.23 BuildRequires: libglvnd-devel BuildRequires: libpulse-devel BuildRequires: ninja BuildRequires: qt6-base-devel BuildRequires: qt6-multimedia-devel BuildRequires: qt6-tools-devel BuildRequires: qt6-wayland-devel %description Ladybird is a web browser built on the LibWeb and LibJS engines from SerenityOS with a cross-platform GUI in Qt. %package devel Summary: Development files for Ladybird web browser Requires: %{name}-%{version}-%{release} %description devel Development files for Ladybird web browser %prep %setup -q -n serenity-%{version}/Ladybird cd .. %autopatch -p1 %build install -v -D %{_sourcedir}/tzdata%{tz_version}.tar.gz build/caches/TZDB/tzdb.tar.gz echo %{tz_version} > build/caches/TZDB/version.txt install -v -D %{_sourcedir}/cldr-%{cldr_version}-json-modern.zip build/caches/CLDR/cldr.zip echo %{cldr_version} > build/caches/CLDR/version.txt install -v -D %{_sourcedir}/cacert-%{cacert_version}.pem build/caches/CACERT/cacert-%{cacert_version}.pem echo %{cacert_version} > build/caches/CACERT/version.txt install -v -D -t build/caches/UCD %{_sourcedir}/UCD.zip %{_sourcedir}/IdnaMappingTable.txt %{_sourcedir}/emoji-test.txt echo %{ucd_version} > build/caches/UCD/version.txt install -v -D -t build/caches/PublicSuffix %{_sourcedir}/public_suffix_list.dat install -v -D -t build/caches %{_sourcedir}/commonmark.spec.json install -v -D %{_sourcedir}/AdobeICCProfilesCS4Win_end-user.zip build/caches/AdobeICCProfiles/adobe-icc-profiles.zip %cmake -GNinja %{?cmake_extra_args} LD_LIBRARY_PATH="$(pwd)/$(basename %{_libdir})" ninja -v %{?_smp_mflags} %install cd build DESTDIR=%{buildroot} ninja -v install %check #LD_LIBRARY_PATH="$(pwd)/$(basename %{_libdir})" %%ctest %post %postun %files %license ../LICENSE %{_datadir}/Lagom %{_datadir}/Ladybird %{_libdir}/liblagom-* %exclude %{_libdir}/liblagom-*.so %{_bindir}/Ladybird %{_libexecdir}/ImageDecoder %{_libexecdir}/RequestServer %{_libexecdir}/SQLServer %{_libexecdir}/WebContent %{_libexecdir}/WebWorker %files devel %exclude %{_libdir}/liblagom-*.so %{_includedir}/Ladybird %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor