chore: remove pop-launcher (#3142) (#3153)

(cherry picked from commit b3d9f62eec)

Co-authored-by: sadlerm4 <sad_lerm@hotmail.com>
This commit is contained in:
Raboneko
2025-01-27 21:44:37 -08:00
committed by GitHub
parent 213c7ad350
commit 053d230b51
8 changed files with 0 additions and 129 deletions
-5
View File
@@ -1,5 +0,0 @@
*.rpm
*.src.rpm
*.log
build/
*.tar*
@@ -1,13 +0,0 @@
diff --git a/justfile b/justfile
index 06793e9..5b57310 100644
--- a/justfile
+++ b/justfile
@@ -70,7 +70,7 @@ install-plugins:
dest={{plugin-dir}}${plugin}
mkdir -p ${dest}
install -Dm0644 plugins/src/${plugin}/*.ron ${dest}
- ln -srf {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
+ cp -af {{bin-path}} {{plugin-dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/')
done
# Install pop-launcher scripts
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "pop-launcher.spec"
}
}
@@ -1,65 +0,0 @@
%global debug_package %{nil}
%define _disable_source_fetch 0
%bcond_without check
%global debug_package %{nil}
%global crate pop-launcher
Name: %{crate}
Version: 1.2.4
Release: 1%?dist
Summary: Library for writing plugins and frontends for pop-launcher
# Upstream license specification: MPL-2.0
License: MPL-2.0
URL: https://github.com/pop-os/launcher/
Source: %{url}/archive/refs/tags/%{version}.tar.gz
Patch: 0001-Copy-instead-of-symlink.patch
Provides: rust-%{crate} = 1.2.4
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
BuildRequires: just
BuildRequires: anda-srpm-macros
BuildRequires: fdupes
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: mold
Requires: (gnome-shell-extension-pop-shell or cosmic-launcher)
%global _description %{expand:
Library for writing plugins and frontends for pop-launcher.}
%description %{_description}
%prep
%autosetup -n launcher-%{version_no_tilde}
%cargo_prep_online
%build
%set_build_flags
just build-release
%install
just rootdir=%{buildroot} install
chmod +x %buildroot%_prefix/lib/pop-launcher/scripts/{session,system76-power}/*.sh
%fdupes %buildroot%_prefix/
%if %{with check}
%check
%cargo_test
%endif
%files
%doc README.md
%license LICENSE
%{_bindir}/pop-launcher
%{_prefix}/lib/pop-launcher/
%changelog
%autochangelog
-26
View File
@@ -1,26 +0,0 @@
#!/bin/bash
set -x
spectool -g pop-launcher.spec || true
FOLDER="$PWD"
# Extract the tarball to /tmp/src/
mkdir -p /tmp/src
tar -xzf ./1.*.tar.gz -C /tmp/src
pushd /tmp/src/* || exit
just vendor
mv -v ./vendor.tar "$FOLDER"/vendor.tar
# tarball the .cargo folder
tar -czf "$FOLDER"/cargo-config.tar.gz .cargo
popd || exit
rm -rf /tmp/src
set +x
-9
View File
@@ -1,9 +0,0 @@
[umpkg]
srcdir = $PWD
git_repo =
git_ref =
build_script =
build_mode = local
tag =
spec =
-5
View File
@@ -1,5 +0,0 @@
[package]
build_method = "mock"
spec = "pop-launcher.spec"
git_repo = "https://github.com/Ultramarine-Linux/pop-launcher.git"
build_script = "bash prepare.sh"
-1
View File
@@ -1 +0,0 @@
rpm.version(gh("pop-os/launcher"));