commit 704b6fcffa2f368ad9daf6db8ea1b0c621445792cdac28fd6bd3336590c0f134 Author: Jan Kužílek Date: Thu Dec 19 18:27:44 2024 +0000 - Update to version 2.38.6 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/spicetify-cli?expand=0&rev=8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..88c8cab --- /dev/null +++ b/_service @@ -0,0 +1,20 @@ + + + https://github.com/spicetify/cli + git + .git + v2.38.6 + @PARENT_TAG@ + enable + v(.*) + + + + *.tar + zst + + + + cli-* + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..0c41487 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/spicetify/cli + fa1070dbde6e2360efbbfaab4861b76caaef51f9 \ No newline at end of file diff --git a/cli-2.38.3.obscpio b/cli-2.38.3.obscpio new file mode 100644 index 0000000..c560bf5 --- /dev/null +++ b/cli-2.38.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6f2cc799a2caea658b5c11e4f185d3af9b2f656616e42b5a423a11f5d1294cd +size 2650124 diff --git a/cli-2.38.4.obscpio b/cli-2.38.4.obscpio new file mode 100644 index 0000000..7c6844d --- /dev/null +++ b/cli-2.38.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b68579cc1a93c067c8410d80b3bb2d69b7cb90b7c0c373f657c41daf0fdcfb8d +size 2651148 diff --git a/cli-2.38.5.obscpio b/cli-2.38.5.obscpio new file mode 100644 index 0000000..28c7ffd --- /dev/null +++ b/cli-2.38.5.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa50513f9e30614379a17a58bef12e72231efba5dfdc5dd3ef64bd6cbd51d487 +size 2651660 diff --git a/cli-2.38.6.obscpio b/cli-2.38.6.obscpio new file mode 100644 index 0000000..f27ad1f --- /dev/null +++ b/cli-2.38.6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53b2c7d3323c79a41788e511ad6b5913ec997ec0e45c58b6773d91481d7ca3e0 +size 2653196 diff --git a/cli.obsinfo b/cli.obsinfo new file mode 100644 index 0000000..f75fa65 --- /dev/null +++ b/cli.obsinfo @@ -0,0 +1,4 @@ +name: cli +version: 2.38.6 +mtime: 1734628360 +commit: fa1070dbde6e2360efbbfaab4861b76caaef51f9 diff --git a/spicetify-cli.changes b/spicetify-cli.changes new file mode 100644 index 0000000..aabe3c9 --- /dev/null +++ b/spicetify-cli.changes @@ -0,0 +1,107 @@ +------------------------------------------------------------------- +Thu Dec 19 18:04:22 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.6: + * fix(wrapper): set `priority` to 1 in `OnChunksLoaded` + * feat: add ability to change cors proxy server + * feat(css-map): add classes for `navLinks` in `1.2.53` + * chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 (#3236) + * chore(deps): bump actions/attest-build-provenance from 1 to 2 (#3235) + * fix(update): use `GetSpotifyPath` from `cmd` + * fix(shuffle+): update GraphQL handling (#3229) + +------------------------------------------------------------------- +Mon Dec 09 17:36:20 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.5: + * fix(new-releases): stop close button propagation (#3224) + * chore(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 (#3218) + * style(trashbin): update used icon (#3212) + * feat(fullAppDisplay): seekable progress and aligned buttons (#3168) + * chore(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 (#3196) + * feat(css-map): add header 1.2.49 classnames (#3208) + * chore: remove stale labeler (#3207) + * fix: svg url in readme.md (#3204) + * chore(sidebarConfig): make phrasing more os inclusive (#3190) + +------------------------------------------------------------------- +Sat Sep 28 14:54:38 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.4: + * fix(preprocess): add new regex to catch variable names for context menu + * chore(sidebarConfig): change how msg is shown + * fix(new-releases): use hardcoded `queryArtistDiscographyAll` def (#3166) + * fix(apply): check for old global navbar existence + +------------------------------------------------------------------- +Wed Sep 11 06:18:10 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.3: + * feat(topbar): cross-version classname support (#3162) + * feat(wrapper): relay on webpack's `OnChunksLoadedRuntimeModule` + +------------------------------------------------------------------- +Mon Sep 09 08:22:35 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.2: + * fix(block-updates): block update folder on `macOS` + * fix(preprocess/contextmenu): fallback when regex doesn't find candicates + * fix(block-updates): go back one folder + +------------------------------------------------------------------- +Sun Sep 08 23:25:58 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.38.0: + * fix(homeConfig): check if `uri` exists too + * feat(preprocess/contextmenu): simplify matches + * fix(apply): remove 4th submatch since it's unnecessary + * fix(navlinks): add support for `1.2.46`'s global navbar + * feat(apply): add ability to call multiple functions to one file + * fix(home-config): support up to 1.2.45 (#3161) + * feat(sidebarConfig): disable functionality when Global navbar is used + * fix(apply): move expFeatures regex to the `insertExpFeatures` + * chore(preprocess): remove console log + * fix(preprocess/contextmenu): adapt regex for `1.2.46` + * chore(wrapper): change check for `os_name` to `osx` + * fix(InitPaths): check for `Apps` folder + * fix(reddit/tabBar): showing context menu in `More` + * fix(new-releases): use `PlatformAPI` to fetch podcasts + * fix(sidebarConfig): remove remaining legacy stuff + * feat(sidebarConfig): remove support for pre-Library X + * feat: remove support for pre-Library X UI + * feat: rename `block-updates` to `spotify-updates` + * feat(wrapper): set buttons heigh for 1.2.45 and older for Library X + * feat(cmd): add `block-updates` cmd to block spotify updates + * revert: check for spotify.exe existence instead of app folder + * chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 (#3156) + * fix(css-map): just fixing a typo (#3152) + +------------------------------------------------------------------- +Thu Aug 29 07:54:55 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.37.7: + * fix(wrapper): sanitize text content to remove all strings + * fix(wrapper): ignore chunks in strings + * fix(wrapper): fire `platformLoaded` event later + * feat(css-map): map `search-searchCategory-carouselButtonVisible` (#3146) + * feat(popupLyrics): add lrclib provider (#3133) + +------------------------------------------------------------------- +Sun Aug 25 19:05:07 UTC 2024 - jan.kuzilek@suse.com + +- Update to version 2.37.4: + * fix(wrapper/webpack): do not return while webpack is loading + * fix(wrapper): wait until all modules loaded (#3143) + * fix(preprocess): match more special characters for `_platform` + * fix(workflows): only run build & linter on main branches (#3137) + * fix(wrapper): replace find string for `Slider` component (#3134) + * fix(preprocess): adapt `_platform` regex for `1.2.44` + * style(lyrics-plus): adjust lyric animation in `karaoke` mode (#3130) + * chore(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 (#3129) + * fix(lyrics-plus/genius): remove `encodeURIComponent` (#3131) + * fix(new-releases): use `50000` as a limit + +------------------------------------------------------------------- +Sun Aug 18 16:34:07 UTC 2024 - Jan Kužílek + +- Initial package, version 2.37.1 diff --git a/spicetify-cli.spec b/spicetify-cli.spec new file mode 100644 index 0000000..245bcec --- /dev/null +++ b/spicetify-cli.spec @@ -0,0 +1,57 @@ +# +# spec file for package spicetify-cli +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sname cli +%define binname spicetify +Name: spicetify-cli +Version: 2.38.6 +Release: 0 +Summary: Command-line tool to customize Spotify client +License: LGPL-2.1-or-later +URL: https://spicetify.app/ +Source0: %{sname}-%{version}.tar.zst +Source1: vendor.tar.gz +BuildRequires: golang-packaging +BuildRequires: zstd +BuildRequires: golang(API) >= 1.21 + +%description +Command-line tool to customize the official Spotify client + +%prep +%autosetup -a1 -n %{sname}-%{version} + +%build +go build -mod=vendor -buildmode=pie -ldflags="-X 'main.version=%{version}'" +printf "#!/bin/sh\n%{_libdir}/%{name}/%{binname} \"\$@\"" > ./shortcut + +%install +install -Dm755 shortcut %{buildroot}%{_bindir}/%{binname} +install -Dm755 %{sname} %{buildroot}%{_libdir}/%{name}/%{binname} +cp -r Themes Extensions CustomApps jsHelper globals.d.ts css-map.json %{buildroot}%{_libdir}/%{name} + +find %{buildroot}%{_libdir}/%{name}/ -type f -executable | grep -v %{name}/%{binname} | xargs chmod a-x + +%files +%{_bindir}/%{binname} +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/* +%license LICENSE +%doc README.md + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..2508e6c --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a39d7d2171e99f8764a58c04f1a4810b1670a1e3d847e9ef9a02a93bd1f26f7b +size 1028265