void-packages/srcpkgs/photofilmstrip/template

25 lines
983 B
Bash

# Template file for 'photofilmstrip'
pkgname=photofilmstrip
version=4.0.0
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools gst1-python3 python3-Sphinx gettext"
depends="python3 gst1-python3 gst1-editing-services python3-Pillow wxPython"
checkdepends="$depends"
short_desc="Slideshow creator with Ken Burns effect"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://www.photofilmstrip.org/"
distfiles="https://github.com/PhotoFilmStrip/PFS/archive/refs/tags/v${version}.tar.gz"
checksum=1e0ced0a25f752100a68286833d35fd976a59bafd927eb4eae54b837974578ee
post_patch() {
vsed -i -e 's/gstreamer1.0-libav/gst-libav/' \
-e 's/gstreamer1.0-plugins-base/gst-plugins-base1/' \
-e 's/gstreamer1.0-plugins-good/gst-plugins-good1/' \
-e 's/gstreamer1.0-plugins-bad/gst-plugins-bad1/' \
-e 's/gstreamer1.0-plugins-ugly/gst-plugins-ugly1/' \
photofilmstrip/core/renderer/GStreamerRenderer.py \
po/*.po
}