diff --git a/README.md b/README.md index d1a9d96..ee6cd8e 100644 --- a/README.md +++ b/README.md @@ -17,14 +17,14 @@ proper tags, cover art and synced lyrics. This is the Rust port of the Python/Py ## Install a release -Downloads are on the [Releases page](https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi/releases); check them against `SHA256SUMS-`. The Linux builds +Downloads are on the [Releases page](https://astar76.com/git/astar76/Audiphi/releases); check them against `SHA256SUMS-`. The Linux builds are made on Arch Linux and need a recent glibc (the version is named in the packages and checked by the installer), so they run on Arch and other up-to-date distributions; on older ones, build from source. - **Arch Linux:** `sudo pacman -U Audiphi--arch-x86_64.pkg.tar.zst` (package `audiphi-bin`; remove it with `sudo pacman -R audiphi-bin`). `packaging/arch/PKGBUILD` builds the same package from the release. - **Debian, Ubuntu and other apt systems:** `sudo apt install ./Audiphi--amd64.deb`. -- **Nix:** `nix profile install git+https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi` (this repo is a flake), or `callPackage ./packaging/nix { }`. +- **Nix:** `nix profile install git+https://astar76.com/git/astar76/Audiphi` (this repo is a flake), or `callPackage ./packaging/nix { }`. - **Any distribution:** unpack `Audiphi--Linux-x86_64.tar.gz` and run `sh install.sh` inside (your home, `~/.local`, no root) or `sh install.sh --system` (`/usr/local`). `sh uninstall.sh` removes it; `--purge` also deletes settings and data. `installer.sh` from this repo does the same next to a downloaded tar.gz or AppImage. diff --git a/packaging/arch/.SRCINFO b/packaging/arch/.SRCINFO index 47e35e1..7b05d83 100644 --- a/packaging/arch/.SRCINFO +++ b/packaging/arch/.SRCINFO @@ -2,7 +2,7 @@ pkgbase = audiphi-bin pkgdesc = Material 3 music downloader and quick player for any music service pkgver = 0.2.1 pkgrel = 1 - url = https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi + url = https://astar76.com/git/astar76/Audiphi arch = x86_64 license = MIT depends = glibc>=2.35 @@ -27,7 +27,7 @@ pkgbase = audiphi-bin conflicts = audiphi options = !strip options = !debug - source = Audiphi-0.2.1-Linux-x86_64.tar.gz::https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi/releases/download/v0.2.1/Audiphi-0.2.1-Linux-x86_64.tar.gz + source = Audiphi-0.2.1-Linux-x86_64.tar.gz::https://astar76.com/git/astar76/Audiphi/releases/download/v0.2.1/Audiphi-0.2.1-Linux-x86_64.tar.gz sha256sums = 47092173f702e950ff6c3098911f7a931b6a372fe05b0f1d9785c1296b44e815 pkgname = audiphi-bin diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index a1345b8..2719157 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -6,7 +6,7 @@ pkgver=0.2.1 pkgrel=1 pkgdesc='Material 3 music downloader and quick player for any music service' arch=('x86_64') -url='https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi' +url='https://astar76.com/git/astar76/Audiphi' license=('MIT') depends=('glibc>=2.35' 'gcc-libs' 'mpv' 'yt-dlp' 'ffmpeg' 'fontconfig' 'libglvnd' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libx11' 'libxcb' 'libxcursor' 'libxi' 'libxrender' 'hicolor-icon-theme') optdepends=( diff --git a/packaging/audiphi.iss b/packaging/audiphi.iss index e5e1a95..c295999 100644 --- a/packaging/audiphi.iss +++ b/packaging/audiphi.iss @@ -16,7 +16,7 @@ AppName=Audiphi AppVersion={#Version} AppVerName=Audiphi {#Version} AppPublisher=astar76 -AppPublisherURL=https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi +AppPublisherURL=https://astar76.com/git/astar76/Audiphi VersionInfoVersion={#Version} VersionInfoProductName=Audiphi VersionInfoDescription=Audiphi Setup diff --git a/packaging/nix/default.nix b/packaging/nix/default.nix index 8d6d10f..25317cb 100644 --- a/packaging/nix/default.nix +++ b/packaging/nix/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { pname = "audiphi"; version = "0.2.1"; src = fetchurl { - url = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi/releases/download/v${version}/Audiphi-${version}-Linux-x86_64.tar.gz"; + url = "https://astar76.com/git/astar76/Audiphi/releases/download/v${version}/Audiphi-${version}-Linux-x86_64.tar.gz"; hash = "sha256-Rwkhc/cC6VD/bDCYkR96kxtqNy/gWw8dl4XBKWtE6BU="; }; nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { postFixup = "wrapProgram $out/bin/audiphi --prefix PATH : ${lib.makeBinPath [ yt-dlp ffmpeg ]}"; meta = { description = "Material 3 music downloader and quick player for any music service"; - homepage = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi"; + homepage = "https://astar76.com/git/astar76/Audiphi"; license = lib.licenses.mit; platforms = [ "x86_64-linux" ]; mainProgram = "audiphi"; diff --git a/src/lib.rs b/src/lib.rs index dad5065..a2075f2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,4 +8,4 @@ pub mod player; pub const APP_NAME: &str = "Audiphi"; pub const APP_ID: &str = "audiphi"; pub const VERSION: &str = env!("CARGO_PKG_VERSION"); -pub const HOMEPAGE: &str = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi"; +pub const HOMEPAGE: &str = "https://astar76.com/git/astar76/Audiphi"; diff --git a/tools/package.sh b/tools/package.sh index ef8def2..b123f3b 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -3,7 +3,7 @@ set -euo pipefail root=$(cd "$(dirname "$0")/.." && pwd) APP=audiphi NAME=Audiphi DESKTOP=audiphi.desktop -URL=https://archlinux.tail7c4f5e.ts.net/git/astar76/Audiphi +URL=https://astar76.com/git/astar76/Audiphi ver=$(sed -n 's/^version = "\(.*\)"/\1/p' "$root/Cargo.toml" | head -n 1) BINS=(audiphi) LICENSE=MIT NIX_LICENSE=mit SUMMARY='Material 3 music downloader and quick player for any music service' @@ -126,7 +126,7 @@ cat > "$d/control/control" < +Maintainer: astar76 Installed-Size: $size Depends: libc6 (>= $glibc)${DEB_DEPENDS:+, $DEB_DEPENDS} ${DEB_RECOMMENDS:+Recommends: $DEB_RECOMMENDS