Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:plater
ytmdesktop
ytmdesktop.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ytmdesktop.spec of Package ytmdesktop
# # spec file for package ytmdesktop # # 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/ #https://github.com/ytmdesktop/ytmdesktop/archive/refs/heads/development.zip %define rev development Name: ytmdesktop Version: 2.0.5~git17102024 Release: 0 Summary: YouTube Music Desktop App License: GPL-3.0 URL: https://ytmdesktop.app Source0: https://github.com/%{name}/%{name}/archive/refs/heads/%{rev}.tar.gz#/%{name}-%{version}.tar.gz Source1: https://github.com/nvm-sh/nvm/archive/refs/tags/v0.40.1.tar.gz #https://github.com/nvm-sh/nvm/archive/refs/tags/v0.40.1.tar.gz Source2: https://aur.archlinux.org/cgit/aur.git/tree/ytmdesktop.desktop BuildRequires: git BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: python311 BuildRequires: yarn #Requires: alsa gtk3-branding-upstream libnotify-tools libxtst6 nss xdg-utils %description A desktop app for YouTube Music that's able to download tracks to listen offline, the same as the mobile app %prep %setup -q -n %{name}-%{rev} tar -xf %{S:1} cp -v nvm-0.40.1/nvm.sh . ln -s nvm.sh nvm git config --global user.email "you@example.com" git config --global user.name "abuild" git init git config --global init.defaultBranch v%{version} git add * git commit -m "to build" %build #export GIT_DISCOVERY_ACROSS_FILESYSTEM="1" export YARN_CACHE_FOLDER="yarn-cache"build ./nvm install 0.40.1 yarn --immutable yarn make --targets="@electron-forge/maker-rpm" %install mkdir -p %{buildroot}%{_libexecdir}/youtube-music-desktop-app cp -vr out/"YouTube Music Desktop App-linux-x64"/* %{buildroot}%{_libexecdir}/youtube-music-desktop-app/ install -Dm644 %{S:2} -t %{buildroot}%{_datadir}/applications install -Dm644 src/assets/icons/ytmd.png %{buildroot}%{_datadir}/pixmaps/%{name}.png mv %{buildroot}%{_libexecdir}/youtube-music-desktop-app/LICENS* . %files %license LICENSE LICENSES.chromium.html %doc README.md %{_libexecdir}/youtube-music-desktop-app/ %{_datadir}/applications/ytmdesktop.desktop %{_datadir}/pixmaps/ytmdesktop.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor