# Template file for 'vidcutter'
pkgname=vidcutter
version=4.0.0
revision=2
noarch=yes
build_style=python3-module
pycompile_module="vidcutter"
hostmakedepends="python3-setuptools"
makedepends="mpv-devel python3-devel"
depends="desktop-file-utils hicolor-icon-theme ffmpeg mpv mediainfo
 python3-setuptools python3-PyOpenGL python3-PyQt5-opengl"
short_desc="Video cutter and joiner based on FFmpeg"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3"
homepage="https://github.com/ozmartian/vidcutter"
distfiles="https://github.com/ozmartian/vidcutter/archive/${version}.tar.gz"
checksum=18686af2454480f6aa2ba2c27cd32f8a1b580309460c6b3ee9fb03ccfeecf513

pre_configure() {
	sed -i "s/pypi/arch/" vidcutter/__init__.py
}
