Remove unneeded dirs
This commit is contained in:
parent
41b597dfc0
commit
b2b2630e39
7 changed files with 0 additions and 256 deletions
39
.github/ISSUE_TEMPLATE/bug_report.md
vendored
39
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -1,39 +0,0 @@
|
||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: bug
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Describe the bug**
|
|
||||||
A clear and concise description of what the bug is.
|
|
||||||
|
|
||||||
**To Reproduce**
|
|
||||||
Steps to reproduce the behavior:
|
|
||||||
1. Go to '...'
|
|
||||||
2. Click on '....'
|
|
||||||
3. Scroll down to '....'
|
|
||||||
4. See error
|
|
||||||
|
|
||||||
**Expected behavior**
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
**Screenshots**
|
|
||||||
If applicable, add screenshots to help explain your problem.
|
|
||||||
|
|
||||||
**General information:**
|
|
||||||
- Distribution:
|
|
||||||
- Installation method [e. g. built from source, installed from Flathub...]:
|
|
||||||
- Version [e.g. 0.1.0]:
|
|
||||||
- Device used [e. g. desktop, phone...]:
|
|
||||||
|
|
||||||
**Stack trace:**
|
|
||||||
If applicable, run the application from a terminal and paste relevant log output.
|
|
||||||
```
|
|
||||||
flatpak run --env=RUST_BACKTRACE=full dev.alextren.Spot
|
|
||||||
```
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context about the problem here.
|
|
11
.github/dependabot.yml
vendored
11
.github/dependabot.yml
vendored
|
@ -1,11 +0,0 @@
|
||||||
# To get started with Dependabot version updates, you'll need to specify which
|
|
||||||
# package ecosystems to update and where the package manifests are located.
|
|
||||||
# Please see the documentation for all configuration options:
|
|
||||||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
||||||
|
|
||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "cargo" # See documentation for possible values
|
|
||||||
directory: "/" # Location of package manifests
|
|
||||||
schedule:
|
|
||||||
interval: "weekly"
|
|
22
.github/workflows/spot-development.yml
vendored
22
.github/workflows/spot-development.yml
vendored
|
@ -1,22 +0,0 @@
|
||||||
name: spot-development
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [development]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
flatpak-builder:
|
|
||||||
name: "Flatpak Builder"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
|
|
||||||
options: --privileged
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
|
||||||
with:
|
|
||||||
bundle: "spot.flatpak"
|
|
||||||
manifest-path: "dev.alextren.Spot.development.json"
|
|
||||||
cache-key: flatpak-builder-${{ github.sha }}
|
|
||||||
run-tests: true
|
|
36
.github/workflows/spot-quality.yml
vendored
36
.github/workflows/spot-quality.yml
vendored
|
@ -1,36 +0,0 @@
|
||||||
name: spot-quality
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ci-check:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Install Rust toolchain
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
profile: minimal
|
|
||||||
default: true
|
|
||||||
components: rustfmt
|
|
||||||
|
|
||||||
- name: Add empty config.rs
|
|
||||||
run: |
|
|
||||||
echo >> src/config.rs
|
|
||||||
|
|
||||||
- name: Format
|
|
||||||
uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: fmt
|
|
||||||
args: --all -- --check
|
|
||||||
|
|
||||||
shellcheck:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- run: |
|
|
||||||
sudo apt-get -y update && sudo apt-get -y install shellcheck
|
|
||||||
find $GITHUB_WORKSPACE -type f -and \( -name "*.sh" \) | xargs shellcheck
|
|
24
.github/workflows/spot-snapshots.yml
vendored
24
.github/workflows/spot-snapshots.yml
vendored
|
@ -1,24 +0,0 @@
|
||||||
name: spot-snapshots
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
pull_request:
|
|
||||||
branches: [master]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
flatpak-builder:
|
|
||||||
name: "Flatpak Builder"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-42
|
|
||||||
options: --privileged
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
|
||||||
with:
|
|
||||||
bundle: "spot.flatpak"
|
|
||||||
manifest-path: "dev.alextren.Spot.snapshots.json"
|
|
||||||
cache-key: flatpak-builder-${{ github.sha }}
|
|
||||||
run-tests: true
|
|
51
.vscode/tasks.json
vendored
51
.vscode/tasks.json
vendored
|
@ -1,51 +0,0 @@
|
||||||
{
|
|
||||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
||||||
// for the documentation about the tasks.json format
|
|
||||||
"version": "2.0.0",
|
|
||||||
"options": {
|
|
||||||
"env": {
|
|
||||||
"RUST_BACKTRACE": "1",
|
|
||||||
"RUST_LOG": "spot=debug",
|
|
||||||
"LANG": "C",
|
|
||||||
//"https_proxy": "localhost:8080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tasks": [
|
|
||||||
{
|
|
||||||
"label": "meson",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "meson setup target -Dbuildtype=debug -Doffline=false --prefix=\"$HOME/.local\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "build",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "ninja install -C target",
|
|
||||||
"problemMatcher": [],
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true
|
|
||||||
},
|
|
||||||
"presentation": {
|
|
||||||
"clear": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "run",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "$HOME/.local/bin/spot",
|
|
||||||
"presentation": {
|
|
||||||
"reveal": "always",
|
|
||||||
"clear": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "test",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "meson test -C target --verbose",
|
|
||||||
"group": {
|
|
||||||
"kind": "test",
|
|
||||||
"isDefault": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
73
spot.nix
73
spot.nix
|
@ -1,73 +0,0 @@
|
||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, fetchgit
|
|
||||||
, nix-update-script
|
|
||||||
, meson
|
|
||||||
, ninja
|
|
||||||
, gettext
|
|
||||||
, desktop-file-utils
|
|
||||||
, cargo
|
|
||||||
, rustPlatform
|
|
||||||
, rustc
|
|
||||||
, pkg-config
|
|
||||||
, glib
|
|
||||||
, libadwaita
|
|
||||||
, libhandy
|
|
||||||
, gtk4
|
|
||||||
, openssl
|
|
||||||
, alsa-lib
|
|
||||||
, libpulseaudio
|
|
||||||
, wrapGAppsHook4
|
|
||||||
, blueprint-compiler
|
|
||||||
, gst_all_1
|
|
||||||
}:
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "spot";
|
|
||||||
version = "0.6.0";
|
|
||||||
|
|
||||||
src = fetchgit {
|
|
||||||
url = "https://github.com/stevenleadbeater/spot.git";
|
|
||||||
rev = "b2291e0834d9a1a6e7ce1020fc88c483dfbc0b24";
|
|
||||||
hash = "sha256-JFBwTAYKBwmjUI3B67zB60dLM+DjIzzbO/1iLsn+5TE=";
|
|
||||||
};
|
|
||||||
cargoHash = "sha256-HIjA+oDFegsnnV3EViaWfsNhmqPB1yl8rIVS5LbTu/A=";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
gettext
|
|
||||||
meson
|
|
||||||
ninja
|
|
||||||
pkg-config
|
|
||||||
gtk4 # for gtk-update-icon-cache
|
|
||||||
glib # for glib-compile-schemas
|
|
||||||
desktop-file-utils
|
|
||||||
cargo
|
|
||||||
rustPlatform.cargoSetupHook
|
|
||||||
rustc
|
|
||||||
wrapGAppsHook4
|
|
||||||
blueprint-compiler
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
glib
|
|
||||||
gtk4
|
|
||||||
libadwaita
|
|
||||||
libhandy
|
|
||||||
openssl
|
|
||||||
alsa-lib
|
|
||||||
libpulseaudio
|
|
||||||
gst_all_1.gst-plugins-base
|
|
||||||
gst_all_1.gstreamer
|
|
||||||
];
|
|
||||||
|
|
||||||
# https://github.com/xou816/spot/issues/313
|
|
||||||
mesonBuildType = "release";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Native Spotify client for the GNOME desktop";
|
|
||||||
mainProgram = "spot";
|
|
||||||
homepage = "https://github.com/stevenleadbeater/spot";
|
|
||||||
maintainers = [];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue