Richard Rahl 2024-06-06 08:40:32 +00:00 committed by Git OBS Bridge
commit b188946ef9
8 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

20
_service Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<services>
<service name="obs_scm" mode="manual">
<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="package-meta">yes</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zstd</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="src">xdg-desktop-portal-cosmic</param>
<param name="update">false</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
vendor.tar.zst Normal file
View File

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

View File

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

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Mar 14 04:16:41 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- initial packaging

View File

@ -0,0 +1,4 @@
name: xdg-desktop-portal-cosmic
version: 0.1.0+git20240530.5f38044
mtime: 1717086453
commit: 5f38044f15656fb946c146b03f479d0931a093e0

View File

@ -0,0 +1,64 @@
#
# spec file for package xdg-desktop-portal-cosmic
#
# Copyright (c) 2024 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: xdg-desktop-portal-cosmic
Version: 0.1.0+git20240530.5f38044
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
BuildRequires: cargo-packaging
BuildRequires: clang-devel
BuildRequires: hicolor-icon-theme
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(xdg-desktop-portal)
BuildRequires: pkgconfig(xkbcommon)
%description
This package contains the xdg portal implementation for COSMIC DE.
%prep
%autosetup -a1
%build
%make_build
%install
%make_install prefix=%{_prefix}
%check
%{cargo_test}
%files
%license LICENSE
%{_libexecdir}/%{name}
%{_iconsdir}/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
%changelog