Package Details: kawaii-player-git v5.0.0.1.r2.g1a12d2d-1

Git Clone URL: https://aur.archlinux.org/kawaii-player-git.git (read-only, click to copy)
Package Base: kawaii-player-git
Description: An Audio/Video Manager and Front End for mpv/mplayer along with functionalities of portable media server
Upstream URL: None
Licenses: GPL3
Conflicts: kawaii-player
Submitter: SolarAquarion
Maintainer: SolarAquarion
Last Packager: SolarAquarion
Votes: 4
Popularity: 0.31
First Submitted: 2018-02-26 13:46 (UTC)
Last Updated: 2021-02-04 03:53 (UTC)

Latest Comments

eclairevoyant commented on 2023-05-27 00:10 (UTC)

On further thought - better yet you can patch the build scripts (in prepare()) to not install the desktop file and you can just install it manually

JordanPlayz158 commented on 2023-03-20 18:09 (UTC) (edited on 2023-03-20 18:13 (UTC) by JordanPlayz158)

Not sure if this is the best approach but I fixed it with these changes

diff PKGBUILD.old PKGBUILD
4c4
< pkgver=v5.0.0.1.r2.g1a12d2d
---
> pkgver=v5.0.0.1.r17.gb1a8731
10c10
< depends=('python' 'qt5-webengine' 'python-pympv' 'python-pyqt5' 'python-pycurl' 'curl' 
---
> depends=('python' 'qt5-webengine' 'python-pympv-git' 'python-pyqt5' 'python-pycurl' 'curl' 
30,31c30,32
<   python setup.py install --root="$pkgdir" --optimize=1 --prefix=/usr 
<   install -D "${pkgdir}/usr/lib/python3.9/site-packages/kawaii_player/resources/kawaii-player.desktop" "${pkgdir}/usr/share/applications/kawaii-player.desktop"
---
>   python setup.py install --root="$pkgdir" --optimize=1 --prefix=/usr
>   PYTHON_VERSION=$(python -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')
>   install -D "${pkgdir}/usr/lib/python$PYTHON_VERSION/site-packages/kawaii_player/resources/kawaii-player.desktop" "${pkgdir}/usr/share/applications/kawaii-player.desktop"
34c35
<  install -D $pkgdir/usr/lib/python3.9/site-packages/kawaii_player/resources/tray.png $pkgdir/usr/share/kawaii-player/resources/tray.png
---
>  install -D $pkgdir/usr/lib/python$PYTHON_VERSION/site-packages/kawaii_player/resources/tray.png $pkgdir/usr/share/kawaii-player/resources/tray.png

Although even with the build not failing, there is still the issue that MPV removed some depreciated APIs kawaii-player used, I did attempt to make an appimage but only got the UI working isolated, the appimage still called/relied on mpv from the host system.

eclairevoyant commented on 2022-11-07 06:48 (UTC) (edited on 2022-11-07 07:10 (UTC) by eclairevoyant)

Missing python-setuptools in the makedepends. I also suggest adding python-opengl-accelerate to the optdepends.

Finally, the folder is no longer located under /usr/lib/python3.9/ but is instead 3.10. Instead of hardcoding this value, I suggest referring to the Python package guidelines which shows a better way to determine the location of the site-packages folder:

local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")

then $site_packages will have something like /usr/lib/python3.10/site-packages stored in it (but instead of 3.10 it will be whatever the correct version is).

soraxas commented on 2021-02-03 14:40 (UTC) (edited on 2021-02-03 14:41 (UTC) by soraxas)

I experience the same kind of error as @arun321.

You are hardcoding the install script to use python3.8, i.e., "${pkgdir}/usr/lib/python3.8/site-packages". But Arch's system python is currently at python3.9.

And yes as @ghotrix had said there are missing dependencies

ghotrix commented on 2021-02-01 15:39 (UTC)

it also depends on python-opengl and python-pyqt5-webengine during runtime

ghotrix commented on 2021-02-01 15:35 (UTC)

will not build for python other than 3.8, can you make this build Python version agnostic?

arun321 commented on 2019-12-07 13:45 (UTC)

install: cannot stat '/home/xxx/.cache/yay/kawaii-player-git/pkg/kawaii-player-git/usr/lib/python3.7/site-packages/kawaii_player/resources/kawaii-player.desktop': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... Error making: kawaii-player-git