From 28cf02de8244873fe82eab02c1980ab802ff070f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 29 Mar 2024 19:27:58 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.0-1mamba;Thu Mar 07 2024] --- README.md | 2 + xwaylandvideobridge.spec | 84 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 xwaylandvideobridge.spec diff --git a/README.md b/README.md index 6baf882..f440959 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xwaylandvideobridge +Utility to allow streaming Wayland windows to X applications. + diff --git a/xwaylandvideobridge.spec b/xwaylandvideobridge.spec new file mode 100644 index 0000000..b282b04 --- /dev/null +++ b/xwaylandvideobridge.spec @@ -0,0 +1,84 @@ +Name: xwaylandvideobridge +Version: 0.4.0 +Release: 1mamba +Summary: Utility to allow streaming Wayland windows to X applications +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://invent.kde.org/system/xwaylandvideobridge +Source: https://download.kde.org/stable/xwaylandvideobridge/xwaylandvideobridge-%{version}.tar.xz +License: LGPL, BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libkf6-kcoreaddons-devel +BuildRequires: libkf6-ki18n-devel +BuildRequires: libkf6-knotifications-devel +BuildRequires: libkf6-kstatusnotifieritem-devel +BuildRequires: libkf6-kwindowsystem-devel +BuildRequires: libkpipewire-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxcb-devel +BuildRequires: libxkbcommon-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtdeclarative-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Utility to allow streaming Wayland windows to X applications. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%cmake \ + -DQT_MAJOR_VERSION=6 + +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/org.kde.xwaylandvideobridge.desktop +%{_bindir}/xwaylandvideobridge +%{_datadir}/applications/org.kde.xwaylandvideobridge.desktop +%{_datadir}/icons/hicolor/scalable/apps/xwaylandvideobridge.svg +%{_metainfodir}/org.kde.xwaylandvideobridge.appdata.xml +%{_datadir}/qlogging-categories6/xwaylandvideobridge.categories +%doc LICENSES + +%changelog +* Thu Mar 07 2024 Silvan Calarco 0.4.0-1mamba +- package created using the webbuild interface