OBS-URL: https://build.opensuse.org/package/show/X11:COSMIC:Factory/cosmic-notifications?expand=0&rev=1
This commit is contained in:
commit
13452b0afa
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
20
_service
Normal file
20
_service
Normal 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/cosmic-notifications.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">cosmic-notifications</param>
|
||||
<param name="update">false</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
3
cosmic-notifications-0.1.0+git20240520.34f44eb.obscpio
Normal file
3
cosmic-notifications-0.1.0+git20240520.34f44eb.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5a9bffc6675f2ebe73d31590ab54b46a6d143c79b1845a1c6b3aad5349d5b864
|
||||
size 456203
|
4
cosmic-notifications.changes
Normal file
4
cosmic-notifications.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 01:07:43 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||
|
||||
- initial packaging
|
4
cosmic-notifications.obsinfo
Normal file
4
cosmic-notifications.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: cosmic-notifications
|
||||
version: 0.1.0+git20240520.34f44eb
|
||||
mtime: 1716252384
|
||||
commit: 34f44eb013e5b3a94f7b14336bf244b33622369d
|
65
cosmic-notifications.spec
Normal file
65
cosmic-notifications.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package cosmic-notifications
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define appname com.system76.CosmicNotifications
|
||||
Name: cosmic-notifications
|
||||
Version: 0.1.0+git20240520.34f44eb
|
||||
Release: 0
|
||||
Summary: Layer for COSMIC Notifications
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/pop-os/cosmic-notifications
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Patch0: switch-to-mold.patch
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: intltool
|
||||
BuildRequires: just
|
||||
BuildRequires: mold
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
|
||||
%description
|
||||
Layer Shell notifications daemon which integrates with COSMIC.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -a1
|
||||
|
||||
%build
|
||||
just build-release
|
||||
|
||||
%install
|
||||
just rootdir=%{buildroot} prefix=%{_prefix} install
|
||||
%suse_update_desktop_file %{appname}
|
||||
|
||||
%check
|
||||
%{cargo_test}
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_iconsdir}/hicolor/scalable/apps/%{appname}.svg
|
||||
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
||||
|
||||
%changelog
|
15
switch-to-mold.patch
Normal file
15
switch-to-mold.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Binary files cosmic-notifications/.git/index and cosmic-notifications-patched/.git/index differ
|
||||
diff -rub cosmic-notifications/justfile cosmic-notifications-patched/justfile
|
||||
--- cosmic-notifications/justfile 2024-03-16 03:28:27.812540497 +0100
|
||||
+++ cosmic-notifications-patched/justfile 2024-03-16 21:29:33.248355375 +0100
|
||||
@@ -12,8 +12,8 @@
|
||||
bin-dst := base-dir / 'bin' / name
|
||||
|
||||
# Use lld linker if available
|
||||
-ld-args := if `which lld || true` != '' {
|
||||
- '-C link-arg=-fuse-ld=lld -C link-arg=-Wl,--build-id=sha1 -Clink-arg=-Wl,--no-rosegment'
|
||||
+ld-args := if `which mold || true` != '' {
|
||||
+ '-C link-arg=-fuse-ld=mold -C link-arg=-Wl,--build-id=sha1 -Clink-arg=-Wl,--no-rosegment'
|
||||
} else {
|
||||
''
|
||||
}
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c362d7ad40ecc904465b1739117bcfe9374dd515aef13a3a9cc84743b6f10c31
|
||||
size 57020040
|
Loading…
Reference in New Issue
Block a user