mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-07 12:22:19 +00:00
add noctalia-git
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "noctalia-git.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global commit e18b3699c3fbefe050d3c057e6ea2585e10410d8
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global upstreamname noctalia-shell
|
||||
|
||||
Name: noctalia-git
|
||||
Version: 5.0.0
|
||||
Release: 0.140.git%{shortcommit}%{?dist}
|
||||
Summary: A lightweight Wayland shell and bar built directly on Wayland + OpenGL ES, with no Qt or GTK dependency.
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/noctalia-dev/%{upstreamname}
|
||||
Source0: https://github.com/noctalia-dev/%{upstreamname}/archive/%{commit}/%{upstreamname}-%{commit}.tar.gz
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: git
|
||||
BuildRequires: pipewire-devel
|
||||
BuildRequires: sdbus-cpp-devel
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(glesv2)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(jemalloc)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: pkgconfig(libqalculate)
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(libwebp)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(pam)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
|
||||
Provides: desktop-notification-daemon
|
||||
Provides: PolicyKit-authentication-agent
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: dejavu-sans-fonts
|
||||
Requires: libwebp
|
||||
|
||||
Recommends: ddcutil
|
||||
Recommends: gpu-screen-recorder
|
||||
Recommends: power-profiles-daemon
|
||||
|
||||
Packager: Cypress Reed <cypress@fyralabs.com>
|
||||
|
||||
%description
|
||||
A lightweight Wayland shell and bar built directly on Wayland + OpenGL ES, with no Qt or GTK dependency.
|
||||
|
||||
%autosetup -n %{upstreamname}-%{commit}
|
||||
# Manually insert commit hash
|
||||
sed -i "s/'unknown'/'%{shortcommit}'/g" meson.build
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
install -d %{buildroot}%{_licensedir}/%{name}/third_party
|
||||
find third_party -type f \( -name "LICENSE*" -o -name "COPYING*" -o -name "NOTICE*" \) | while read -r file; do
|
||||
# Create the destination subdirectory
|
||||
dest_dir="%{buildroot}%{_licensedir}/%{name}/$(dirname "$file")"
|
||||
install -d "$dest_dir"
|
||||
# Copy the file to its specific subfolder
|
||||
install -p -m 0644 "$file" "$dest_dir/"
|
||||
done
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_licensedir}/%{name}/third_party/
|
||||
%{_bindir}/noctalia
|
||||
%{_datadir}/noctalia/
|
||||
|
||||
%changelog
|
||||
* Fri Jun 05 2026 Cypress Reed <cypress@fyralabs.com>
|
||||
- Port to terra from Fedora COPR lionheartp/Hyprland
|
||||
@@ -0,0 +1 @@
|
||||
rpm.global("commit", gh_commit("noctalia-dev/noctalia-shell"));
|
||||
Reference in New Issue
Block a user