321.4. celluloid-0.30
GTK 4 video player over libmpv
0.30-1 · GPL-3.0-or-later · 1.8 SBU · 601.7 KiB, 12 files · 44_apps, 403 of 422 · ports/core/video-players/celluloid
Homepage: https://celluloid-player.github.io/
Depends on: meson, ninja, pkgconf, gettext, glib, gtk4, libadwaita, libepoxy, mpv, yt-dlp, gsettings-desktop-schemas, librsvg, desktop-file-utils.
Required by: no port names it.
Sources: celluloid-0.30.tar.xz (356.7 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install celluloid'
build.sh:
meson setup build --prefix=/usr --sysconfdir=/etc --libdir=lib \
--buildtype=release
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
for s in 48 64 128; do
install -d "$PKG/usr/share/icons/hicolor/${s}x${s}/apps"
rsvg-convert -w $s -h $s data/io.github.celluloid_player.Celluloid.svg \
-o "$PKG/usr/share/icons/hicolor/${s}x${s}/apps/io.github.celluloid_player.Celluloid.png"
done
cat > "$PKG/usr/share/applications/io.github.celluloid_player.Celluloid.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=Celluloid
GenericName=Video Player
Comment=Play movies and videos
TryExec=celluloid
Exec=celluloid %U
Icon=io.github.celluloid_player.Celluloid
Terminal=false
StartupNotify=true
StartupWMClass=io.github.celluloid_player.Celluloid
Categories=GTK;AudioVideo;Player;Video;
Keywords=video;movie;film;clip;player;dvd;mpv;celluloid;
Actions=new-window;
[Desktop Action new-window]
Name=New Window
Exec=celluloid --new-window
DESKTOP
chmod 644 "$PKG/usr/share/applications/io.github.celluloid_player.Celluloid.desktop"
Programs: celluloid.
Directories: /usr/share/licenses/celluloid.