GhostNaN / mpvpaper

A video wallpaper program for wlroots based wayland compositors.
GNU General Public License v3.0
713 stars 21 forks source link

MPV not found???? #60

Closed orcbolg3612 closed 5 months ago

orcbolg3612 commented 5 months ago

I installed mpv by sudo dnf install mpv but it said that not found??? ╭─keyhost505@fedora ~ ╰─$ # Clone git clone --single-branch https://github.com/GhostNaN/mpvpaper

Build

cd mpvpaper meson build --prefix=/usr/local ninja -C build

Install

ninja -C build install fatal: destination path 'mpvpaper' already exists and is not an empty directory. The Meson build system Version: 1.3.1 Source dir: /home/keyhost505/mpvpaper Build dir: /home/keyhost505/mpvpaper/build Build type: native build Project name: mpvpaper Project version: undefined C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6)") C linker for the host machine: cc ld.bfd 2.40-14 Host machine cpu family: x86_64 Host machine cpu: x86_64 Library dl found: YES Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 Run-time dependency wayland-protocols found: YES 1.33 Run-time dependency wayland-client found: YES 1.22.0 Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency egl found: YES 1.5 Found CMake: /usr/bin/cmake (3.27.7) Run-time dependency mpv found: NO (tried pkgconfig and cmake)

meson.build:9:4: ERROR: Dependency "mpv" not found, tried pkgconfig and cmake

A full log can be found at /home/keyhost505/mpvpaper/build/meson-logs/meson-log.txt WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated. ninja: Entering directory build' ninja: error: loading 'build.ninja': No such file or directory ninja: Entering directorybuild' ninja: error: loading 'build.ninja': No such file or directory

GhostNaN commented 5 months ago

I made a commit to the README to address this: https://github.com/GhostNaN/mpvpaper/commit/bc62e9ee762dda8e8cf05292d25a54fd66ca7844

But essentially you are missing libmpv Which on Fedora seems like it can be installed with the mpv-libs package