2.0.4: Arch, apt and Nix packages, packaging/ restored; Windows opens links and folders in Explorer, no console windows
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
e6e48fe902
commit
90d79a1ad9
6 changed files with 587 additions and 14 deletions
35
packaging/arch/.SRCINFO
Normal file
35
packaging/arch/.SRCINFO
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
pkgbase = mulberry-bin
|
||||
pkgdesc = Material You music player
|
||||
pkgver = 2.0.4
|
||||
pkgrel = 1
|
||||
url = https://archlinux.tail7c4f5e.ts.net/git/astar76/Mulberry
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
depends = glibc>=2.35
|
||||
depends = gcc-libs
|
||||
depends = mpv
|
||||
depends = dbus
|
||||
depends = fontconfig
|
||||
depends = libglvnd
|
||||
depends = wayland
|
||||
depends = libxkbcommon
|
||||
depends = libxkbcommon-x11
|
||||
depends = libx11
|
||||
depends = libxcb
|
||||
depends = libxcursor
|
||||
depends = libxi
|
||||
depends = libxrender
|
||||
depends = hicolor-icon-theme
|
||||
optdepends = xdg-desktop-portal: open and save dialogs
|
||||
optdepends = ffmpeg: visualizer analysis and CD encoding
|
||||
optdepends = cdparanoia: CD ripping
|
||||
optdepends = yt-dlp: web links
|
||||
optdepends = libpulse: visualizer for radio streams (parec)
|
||||
provides = mulberry
|
||||
conflicts = mulberry
|
||||
options = !strip
|
||||
options = !debug
|
||||
source = Mulberry-2.0.4-Linux-x86_64.tar.gz::https://archlinux.tail7c4f5e.ts.net/git/astar76/Mulberry/releases/download/v2.0.4/Mulberry-2.0.4-Linux-x86_64.tar.gz
|
||||
sha256sums = 87dab251e23593457ad3e3b2b8ca7903f79af385b805d276ec29e701785e5e5f
|
||||
|
||||
pkgname = mulberry-bin
|
||||
33
packaging/arch/PKGBUILD
Normal file
33
packaging/arch/PKGBUILD
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: astar76
|
||||
# Built by tools/package.sh from the release tar.gz (TARBALL=file://… for an offline build); it keeps pkgver,
|
||||
# sha256sums and the glibc floor current.
|
||||
pkgname=mulberry-bin
|
||||
pkgver=2.0.4
|
||||
pkgrel=1
|
||||
pkgdesc='Material You music player'
|
||||
arch=('x86_64')
|
||||
url='https://archlinux.tail7c4f5e.ts.net/git/astar76/Mulberry'
|
||||
license=('MIT')
|
||||
depends=('glibc>=2.35' 'gcc-libs' 'mpv' 'dbus' 'fontconfig' 'libglvnd' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libx11' 'libxcb' 'libxcursor' 'libxi' 'libxrender' 'hicolor-icon-theme')
|
||||
optdepends=(
|
||||
'xdg-desktop-portal: open and save dialogs'
|
||||
'ffmpeg: visualizer analysis and CD encoding'
|
||||
'cdparanoia: CD ripping'
|
||||
'yt-dlp: web links'
|
||||
'libpulse: visualizer for radio streams (parec)'
|
||||
)
|
||||
provides=('mulberry')
|
||||
conflicts=('mulberry')
|
||||
options=('!strip' '!debug')
|
||||
source=("Mulberry-$pkgver-Linux-x86_64.tar.gz::${TARBALL:-$url/releases/download/v$pkgver/Mulberry-$pkgver-Linux-x86_64.tar.gz}")
|
||||
sha256sums=('87dab251e23593457ad3e3b2b8ca7903f79af385b805d276ec29e701785e5e5f')
|
||||
|
||||
package() {
|
||||
cd "$srcdir/mulberry-$pkgver"
|
||||
install -d "$pkgdir/usr"
|
||||
for d in bin lib share; do [ ! -d "$d" ] || cp -R "$d" "$pkgdir/usr/"; done
|
||||
if [ -d "$pkgdir/usr/share/licenses/mulberry" ] && [ "$pkgname" != mulberry ]; then
|
||||
mv "$pkgdir/usr/share/licenses/mulberry" "$pkgdir/usr/share/licenses/$pkgname"
|
||||
fi
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 364 KiB |
|
|
@ -1,18 +1,22 @@
|
|||
; Inno Setup script: per-user install (no admin), Start menu entry, uninstaller.
|
||||
; Built on Linux under wine: iscc /DVersion=2.0.1 /DSrc=<folder with mulberry.exe and libmpv-2.dll> mulberry.iss
|
||||
; Built by tools/package.sh under wine: iscc /DVersion=<v> /DSrc=<folder with mulberry.exe> /DOut=<output folder> mulberry.iss
|
||||
#ifndef Version
|
||||
#define Version "0.0.0"
|
||||
#endif
|
||||
#ifndef Src
|
||||
#define Src "..\dist\Mulberry"
|
||||
#endif
|
||||
#ifndef Out
|
||||
#define Out "..\dist"
|
||||
#endif
|
||||
|
||||
[Setup]
|
||||
AppId={{B4F0C1D2-7A63-4E59-8C1B-52D9E0A7F3C6}
|
||||
AppId={{}
|
||||
AppName=Mulberry
|
||||
AppVersion={#Version}
|
||||
AppVerName=Mulberry {#Version}
|
||||
AppPublisher=Mulberry
|
||||
AppPublisher=astar76
|
||||
AppPublisherURL=https://archlinux.tail7c4f5e.ts.net/git/astar76/Mulberry
|
||||
VersionInfoVersion={#Version}
|
||||
VersionInfoProductName=Mulberry
|
||||
VersionInfoDescription=Mulberry Setup
|
||||
|
|
@ -22,11 +26,12 @@ DisableDirPage=auto
|
|||
PrivilegesRequired=lowest
|
||||
ArchitecturesAllowed=x64compatible
|
||||
ArchitecturesInstallIn64BitMode=x64compatible
|
||||
OutputDir=..\dist
|
||||
OutputDir={#Out}
|
||||
OutputBaseFilename=Mulberry-{#Version}-Setup
|
||||
SetupIconFile=mulberry.ico
|
||||
UninstallDisplayIcon={app}\mulberry.exe
|
||||
UninstallDisplayName=Mulberry
|
||||
LicenseFile=..\LICENSE
|
||||
Compression=lzma2/max
|
||||
SolidCompression=yes
|
||||
WizardStyle=modern
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
|
||||
<defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#cdb4ff"/><stop offset="1" stop-color="#f0a6d8"/></linearGradient></defs>
|
||||
<defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#feb2c2"/><stop offset="1" stop-color="#dd4677"/></linearGradient></defs>
|
||||
<path d="M250.00,128.00 L249.45,132.24 L247.84,136.38 L245.33,140.33 L242.13,144.04 L238.53,147.49 L234.84,150.71 L231.34,153.77 L228.30,156.76 L225.92,159.82 L224.30,163.05 L223.46,166.57 L223.32,170.44 L223.72,174.69 L224.44,179.28 L225.20,184.12 L225.74,189.08 L225.81,193.97 L225.19,198.61 L223.76,202.82 L221.46,206.42 L218.31,209.31 L214.42,211.45 L209.95,212.87 L205.12,213.65 L200.15,213.98 L195.25,214.07 L190.60,214.16 L186.35,214.51 L182.56,215.31 L179.24,216.75 L176.34,218.91 L173.74,221.78 L171.32,225.30 L168.92,229.27 L166.39,233.47 L163.62,237.61 L160.52,241.41 L157.06,244.57 L153.27,246.87 L149.19,248.15 L144.91,248.34 L140.56,247.48 L136.23,245.69 L132.02,243.19 L128.00,240.24 L124.19,237.16 L120.57,234.24 L117.09,231.77 L113.67,229.96 L110.20,228.92 L106.59,228.71 L102.76,229.24 L98.64,230.38 L94.25,231.88 L89.61,233.47 L84.82,234.86 L80.01,235.78 L75.34,235.98 L70.95,235.30 L67.00,233.66 L63.60,231.06 L60.82,227.60 L58.65,223.45 L57.04,218.82 L55.85,213.98 L54.91,209.17 L54.02,204.61 L52.94,200.48 L51.49,196.89 L49.50,193.87 L46.87,191.39 L43.58,189.33 L39.70,187.56 L35.37,185.88 L30.80,184.12 L26.23,182.11 L21.96,179.72 L18.25,176.86 L15.33,173.52 L13.36,169.73 L12.43,165.55 L12.52,161.11 L13.53,156.54 L15.26,151.96 L17.47,147.49 L19.84,143.20 L22.08,139.13 L23.91,135.28 L25.11,131.59 L25.52,128.00 L25.11,124.41 L23.91,120.72 L22.08,116.87 L19.84,112.80 L17.47,108.51 L15.26,104.04 L13.53,99.46 L12.52,94.89 L12.43,90.45 L13.36,86.27 L15.33,82.48 L18.25,79.14 L21.96,76.28 L26.23,73.89 L30.80,71.88 L35.37,70.12 L39.70,68.44 L43.58,66.67 L46.87,64.61 L49.50,62.13 L51.49,59.11 L52.94,55.52 L54.02,51.39 L54.91,46.83 L55.85,42.02 L57.04,37.18 L58.65,32.55 L60.82,28.40 L63.60,24.94 L67.00,22.34 L70.95,20.70 L75.34,20.02 L80.01,20.22 L84.82,21.14 L89.61,22.53 L94.25,24.12 L98.64,25.62 L102.76,26.76 L106.59,27.29 L110.20,27.08 L113.67,26.04 L117.09,24.23 L120.57,21.76 L124.19,18.84 L128.00,15.76 L132.02,12.81 L136.23,10.31 L140.56,8.52 L144.91,7.66 L149.19,7.85 L153.27,9.13 L157.06,11.43 L160.52,14.59 L163.62,18.39 L166.39,22.53 L168.92,26.73 L171.32,30.70 L173.74,34.22 L176.34,37.09 L179.24,39.25 L182.56,40.69 L186.35,41.49 L190.60,41.84 L195.25,41.93 L200.15,42.02 L205.12,42.35 L209.95,43.13 L214.42,44.55 L218.31,46.69 L221.46,49.58 L223.76,53.18 L225.19,57.39 L225.81,62.03 L225.74,66.92 L225.20,71.88 L224.44,76.72 L223.72,81.31 L223.32,85.56 L223.46,89.43 L224.30,92.95 L225.92,96.18 L228.30,99.24 L231.34,102.23 L234.84,105.29 L238.53,108.51 L242.13,111.96 L245.33,115.67 L247.84,119.62 L249.45,123.76 L250.00,128.00Z" fill="url(#g)"/>
|
||||
<g transform="translate(56,200) scale(0.15)"><path fill="#3a2360" d="M286.5-163.5Q243-207 243-270t43.5-106.5Q330-420 393-420q28 0 50.5 8t39.5 22v-420q0-13 8.5-21.5T513-840h174q13 0 21.5 8.5T717-810v75q0 13-8.5 21.5T687-705H543v435q0 63-43.5 106.5T393-120q-63 0-106.5-43.5Z"/></g>
|
||||
<g transform="translate(56,200) scale(0.15)"><path fill="#3c101d" d="M286.5-163.5Q243-207 243-270t43.5-106.5Q330-420 393-420q28 0 50.5 8t39.5 22v-420q0-13 8.5-21.5T513-840h174q13 0 21.5 8.5T717-810v75q0 13-8.5 21.5T687-705H543v435q0 63-43.5 106.5T393-120q-63 0-106.5-43.5Z"/></g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
33
packaging/nix/default.nix
Normal file
33
packaging/nix/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Mulberry for Nix, from the release tar.gz. Written by tools/package.sh (version and hash); edit the header there.
|
||||
# nix build .#default or nix profile install . (from the repo), or callPackage this file.
|
||||
{ lib, stdenv, fetchurl, autoPatchelfHook, makeWrapper, libGL, wayland, libxkbcommon, xorg, fontconfig, dbus, mpv-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mulberry";
|
||||
version = "2.0.4";
|
||||
src = fetchurl {
|
||||
url = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Mulberry/releases/download/v${version}/Mulberry-${version}-Linux-x86_64.tar.gz";
|
||||
hash = "sha256-h9qyUeI1k0V60+OyuMp5A/ea84W4BdJ27CnnAXheXl8=";
|
||||
};
|
||||
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
|
||||
buildInputs = [ mpv-unwrapped stdenv.cc.cc.lib ];
|
||||
# Loaded with dlopen at run time, so autoPatchelf can't see them.
|
||||
runtimeDependencies = [ libGL wayland libxkbcommon xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr fontconfig dbus ];
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
for d in bin lib share; do [ ! -d $d ] || cp -R $d $out/; done
|
||||
install -Dm644 README.md $out/share/doc/mulberry/README.md
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Material You music player";
|
||||
homepage = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Mulberry";
|
||||
license = lib.licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "mulberry";
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue