Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions multimedia/video-compare/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0
PortGroup makefile 1.0

github.setup pixop video-compare 20250928
github.tarball_from archive
revision 0

categories multimedia
maintainers nomaintainer
license GPL-2.0
description A tool for comparing video files visually.
long_description Split screen video comparison tool using FFmpeg and SDL2

checksums rmd160 2c55262f1692237a0b5528e6aea6748064e9d4b3 \
sha256 cdcdb764868cf358ef5337f68e7bfd4526ec3efac27cc35db70c4158e3dea99f \
size 1184614

compiler.cxx_standard 2014
depends_lib port:ffmpeg8 \
port:libsdl2 \
port:libsdl2_ttf
build.env-append {
CXXFLAGS="-I${prefix}/libexec/ffmpeg8/include"
LDFLAGS="-L${prefix}/libexec/ffmpeg8/lib"
PKG_CONFIG_PATH="${prefix}/libexec/ffmpeg8/lib/pkgconfig:${env(PKG_CONFIG_PATH)}"
}
Comment on lines +25 to +29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the usual way would be to use:
configure.cxxflags-append, configure.ldflags-append, and configure.pkg_config_path-append
that would also retain whatever else is put in these flags already, either by MacPorts ifself or by the build.


destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
}