contrib/ffmpegfs/Pkgfile

24 lines
1.1 KiB
Plaintext

# Description: FUSE-based transcoding filesystem from many formats to MP3 or MP4 including video transcoding.
# URL: https://nschlia.github.io/ffmpegfs/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: asciidoc chromaprint fuse lame libbluray libchardet libcue libdvdnav libgmp libpcre util-linux w3m
# Optional: fdk-aac libass libbluray x264 x265 expat fontconfig freetype fribidi fuse glib gnutls harfbuzz libffi libidn2 libogg libpng libtasn1 libtheora libunistring libva libvorbis libvpx libwebp libxml2 nettle opus p11-kit libdrm libvdpau xorg-libx11 xorg-libxau xorg-libxcb xorg-libxdmcp xorg-libxext xorg-libxfixes
name=ffmpegfs
version=2.13
release=1
source=(https://github.com/nschlia/ffmpegfs/archive/v$version/ffmpegfs-$version.tar.gz)
build() {
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}