File phoc.spec of Package phoc-hwcomposer
#
# spec file for package phoc-hwcomposer
#
# 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/
#
Name: phoc-hwcomposer
Version: 0.26.0
Release: 0%{?dist}
Summary: Display compositor designed for phones
License: GPL-3.0-or-later
URL: https://source.puri.sm/Librem5/phoc
Source0: phoc-%{version}.tar.xz
BuildRequires: ffmpeg-5-mini-libs
BuildRequires: gcc
BuildRequires: glslang-devel
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: unzip
BuildRequires: wlroots0.12-hwcomposer-devel
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(freerdp2)
BuildRequires: pkgconfig(gbm) >= 17.1.0
BuildRequires: pkgconfig(gio-2.0) >= 2.50.0
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gobject-2.0) >= 2.50.0
BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libdrm) >= 2.4.95
BuildRequires: pkgconfig(libinput)
BuildRequires: pkgconfig(libseat)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols) >= 1.16
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(xcb-errors)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xcb-renderutil)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xwayland)
Provides: phoc
Conflicts: phoc
%description
Phoc is a wlroots based Phone compositor as used on the Librem5. Phoc is
pronounced like the English word fog.
%prep
%autosetup -p1 -n phoc-%{version}
%build
%meson -Dtests=false -Dembed-wlroots=disabled
%meson_build
%install
%meson_install
%{__install} -Dm0755 -t %{buildroot}%{_bindir} helpers/scale-to-fit
%files
%doc README.md
%license COPYING
%{_bindir}/phoc
%{_bindir}/scale-to-fit
%{_datadir}/glib-2.0/schemas/sm.puri.phoc.gschema.xml
%{_datadir}/applications/sm.puri.Phoc.desktop
%{_datadir}/icons/hicolor/symbolic/apps/sm.puri.Phoc.svg
%changelog