# Template file for 'video-compare'
pkgname=video-compare
version=20260502
revision=1
build_style=gnu-makefile
makedepends="ffmpeg6-devel SDL2-devel SDL2_ttf-devel"
short_desc="Split screen video comparison tool using FFmpeg and SDL2"
maintainer="sunshinehunter <sunshinehunterde@gmail.com>"
license="GPL-2.0-only"
homepage="https://github.com/pixop/video-compare"
changelog="https://github.com/pixop/video-compare/releases"
distfiles="https://github.com/pixop/video-compare/archive/refs/tags/${version}.tar.gz"
checksum=558e9a97e381929fa6c30ec46e5187cf4ceb3505dffe8c0da0a581a0d2b60202

CXXFLAGS="-std=c++14 -D__STDC_CONSTANT_MACROS"

pre_install() {
	vmkdir usr/bin
}

do_install() {
	make BINDIR=${DESTDIR}/usr/bin install
}
