void-packages/srcpkgs/vidcutter/template

26 lines
970 B
Bash

# Template file for 'vidcutter'
pkgname=vidcutter
version=6.0.5.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="mpv-devel python3-devel"
depends="desktop-file-utils hicolor-icon-theme ffmpeg mpv mediainfo
python3-PyOpenGL python3-PyQt5 python3-setuptools"
short_desc="Video cutter and joiner based on FFmpeg"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/ozmartian/vidcutter"
# pympv isn't packaged because it will create a package conflicts with
# python3-mpv
distfiles="https://github.com/ozmartian/vidcutter/archive/refs/tags/${version}.tar.gz
https://github.com/marcan/pympv/archive/refs/tags/v0.7.1.tar.gz"
checksum="c6374eaedb845f9e580e555dd12c1db1cf2ffa28d3756b08e2ae28c1a4cd4a96
1d262e7fb2531d27633bdc2334fbc1c3ce094457a6a8f3cfc1c6c9799c1ef202"
post_extract() {
mv vidcutter-*/* .
rm -rf vidcutter/libs/pympv
mv pympv-* vidcutter/libs/pympv
}