Richard Rahl 2024-08-07 06:40:07 +00:00 committed by Git OBS Bridge
parent e2e3f2db61
commit 930a21a245
7 changed files with 41 additions and 9 deletions

View File

@ -4,7 +4,7 @@
<param name="url">https://github.com/pop-os/xdg-desktop-portal-cosmic.git</param>
<param name="scm">git</param>
<param name="revision">master</param>
<param name="versionformat">0.1.0+git%cd.%h</param>
<param name="versionformat">1.0.0.a1</param>
<param name="package-meta">yes</param>
</service>
<service name="recompress" mode="manual">

11
leap-fix-libexec.patch Normal file
View File

@ -0,0 +1,11 @@
--- Makefile.orig 2024-07-29 19:11:10.189698162 +0300
+++ Makefile 2024-07-29 19:12:48.420183313 +0300
@@ -1,7 +1,7 @@
prefix ?= /usr/local
bindir = $(prefix)/bin
libdir = $(prefix)/lib
-libexecdir = $(prefix)/libexec
+libexecdir = $(prefix)/lib
includedir = $(prefix)/include
datarootdir = $(prefix)/share
datadir = $(datarootdir)

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7694dbe3c9fc0795741c65da0cacb5e2549fa77e5c79de185eed2052418152e
size 93051170
oid sha256:605fe19af864abd5f75a18e938af95fea28c0884d27d42e308829444f5eee116
size 99876144

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12abe745a0dabf23b78313cce6bc30ef41d34a9c354fcf685e69b8262c4cce3b
size 279031

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be5db1b6b781bdce77ad2b193b4a1216f77fd21e80726a8e677016a0086abfd4
size 296229

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Aug 7 02:12:58 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.0.0-alpha1:
* Fix compile warnings
* Add scrolling for list of toplevels
* Hover and selected styles for outputs in screencast dialog
* Use custom widget instead of global subscription for keybindings
* screencopy: Respect source_type option
* Allow multiple select for screencast only when requested
* Arrange screen capture outputs horiozontally
* Display name of application requiring screen capture
* Show preview of outputs in screencast dialog
* Show toplevel icons in screencast dialog
* Fix button text color
- enable leap (thanks to vyvir)
-------------------------------------------------------------------
Sat Jul 06 17:07:55 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>

View File

@ -17,13 +17,14 @@
Name: xdg-desktop-portal-cosmic
Version: 0.1.0+git20240717.813352e
Version: 1.0.0.a1
Release: 0
Summary: COSMIC xdg portal
License: GPL-3.0-only
URL: https://github.com/pop-os/xdg-desktop-portal-cosmic
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Patch0: leap-fix-libexec.patch
BuildRequires: cargo-packaging
BuildRequires: clang-devel
BuildRequires: git-core
@ -43,7 +44,10 @@ BuildRequires: pkgconfig(xkbcommon)
This package contains the xdg portal implementation for COSMIC DE.
%prep
%autosetup -a1
%autosetup -N -a1
%if 0%{?suse_version} < 1600
%autopatch -p0
%endif
%build
%make_build
@ -57,7 +61,7 @@ This package contains the xdg portal implementation for COSMIC DE.
%files
%license LICENSE
%{_libexecdir}/%{name}
%{_iconsdir}/hicolor/scalable/actions/*.svg
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.cosmic.service
%{_datadir}/xdg-desktop-portal/cosmic-portals.conf
%{_datadir}/xdg-desktop-portal/portals/cosmic.portal