diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index cdb8d7b..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -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. diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index c1ce3c3..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -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" diff --git a/.github/workflows/spot-development.yml b/.github/workflows/spot-development.yml deleted file mode 100644 index 9a25fc1..0000000 --- a/.github/workflows/spot-development.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/spot-quality.yml b/.github/workflows/spot-quality.yml deleted file mode 100644 index 984b43f..0000000 --- a/.github/workflows/spot-quality.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/spot-snapshots.yml b/.github/workflows/spot-snapshots.yml deleted file mode 100644 index d3cc56d..0000000 --- a/.github/workflows/spot-snapshots.yml +++ /dev/null @@ -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 diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 49d86c6..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -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 - } - } - ] -} \ No newline at end of file diff --git a/spot.nix b/spot.nix deleted file mode 100644 index a613875..0000000 --- a/spot.nix +++ /dev/null @@ -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 = []; - }; -} -