commit b188946ef94438593b6ffb844306d3ffe66411919d78d3bcd470f319c5ced217 Author: Richard Rahl Date: Thu Jun 6 08:40:32 2024 +0000 OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Factory/xdg-desktop-portal-cosmic?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..eadd940 --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + + https://github.com/pop-os/xdg-desktop-portal-cosmic.git + git + master + 0.1.0+git%cd.%h + yes + + + + *.tar + zstd + + + xdg-desktop-portal-cosmic + false + + + diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..805f90f --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3087008d4e9ef143659afaa9268c979cce962e7979c977501889808a78562217 +size 66697725 diff --git a/xdg-desktop-portal-cosmic-0.1.0+git20240530.5f38044.obscpio b/xdg-desktop-portal-cosmic-0.1.0+git20240530.5f38044.obscpio new file mode 100644 index 0000000..1af0135 --- /dev/null +++ b/xdg-desktop-portal-cosmic-0.1.0+git20240530.5f38044.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dba4e16d8141384d6b3865f1ce9636d1b3546e6ed706385c3de939b1d030e11e +size 581132 diff --git a/xdg-desktop-portal-cosmic.changes b/xdg-desktop-portal-cosmic.changes new file mode 100644 index 0000000..d5a8a6b --- /dev/null +++ b/xdg-desktop-portal-cosmic.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 14 04:16:41 UTC 2024 - Richard Rahl + +- initial packaging diff --git a/xdg-desktop-portal-cosmic.obsinfo b/xdg-desktop-portal-cosmic.obsinfo new file mode 100644 index 0000000..1185972 --- /dev/null +++ b/xdg-desktop-portal-cosmic.obsinfo @@ -0,0 +1,4 @@ +name: xdg-desktop-portal-cosmic +version: 0.1.0+git20240530.5f38044 +mtime: 1717086453 +commit: 5f38044f15656fb946c146b03f479d0931a093e0 diff --git a/xdg-desktop-portal-cosmic.spec b/xdg-desktop-portal-cosmic.spec new file mode 100644 index 0000000..35e5303 --- /dev/null +++ b/xdg-desktop-portal-cosmic.spec @@ -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