Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
396a94e3
Commit
396a94e3
authored
Nov 30, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Dec 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play youtube-music: add arm support; fix x86_64 AppImage download (eterbug #17865)
parent
deacb778
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
youtube-music.sh
play.d/youtube-music.sh
+25
-2
No files found.
play.d/youtube-music.sh
View file @
396a94e3
#!/bin/sh
PKGNAME
=
YouTube-Music
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64
armv7l aarch64
"
VERSION
=
"
$2
"
DESCRIPTION
=
"YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)"
URL
=
"https://github.com/th-ch/youtube-music"
.
$(
dirname
$0
)
/common.sh
PKGURL
=
"
$(
eget
--list
--latest
https://github.com/th-ch/youtube-music/releases/
"YouTube-Music-
$VERSION
.AppImage"
)
"
# hack for YouTube-Music-3.6.2.AppImage. eget trying to download armv7l ver instead of x86_64
get_x86_64_ver
(){
if
[
"
$VERSION
"
=
"*"
]
;
then
VERSION
=
$(
eget
--list
--latest
"https://github.com/th-ch/youtube-music/releases"
"YouTube-Music-*.AppImage"
\
|
grep
-oE
'YouTube-Music-[0-9]+\.[0-9]+(\.[0-9]+)?'
|
grep
-oE
'[0-9]+\.[0-9]+(\.[0-9]+)?'
)
mask
=
"YouTube-Music-
$VERSION
.AppImage"
else
mask
=
"YouTube-Music-
$VERSION
.AppImage"
fi
}
case
$(
epm print info
-a
)
in
x86_64
)
get_x86_64_ver
;;
armv7l
)
mask
=
"YouTube-Music-
$VERSION
-armv7l.AppImage"
;;
aarch64
)
mask
=
"YouTube-Music-
$VERSION
-arm64.AppImage"
;;
*
)
fatal
"Unsupported arch
$arch
for
$(
epm print info
-d
)
"
;;
esac
PKGURL
=
"
$(
eget
--list
--latest
https://github.com/th-ch/youtube-music/releases/
$mask
)
"
install_pkgurl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment