libdv: distribute all patches via rsync

This commit is contained in:
John McQuah 2023-01-28 19:27:36 -05:00
parent bd60f197c6
commit ebcfc916b5
4 changed files with 14 additions and 10 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF348RbTZWiwB61cX4KN3Y+IozkLmt5nTH7nt2rAWZyBXUiv6w+R857/w1WLN41wRjFO2OQ3ZWzqYHejWBRuZNJQ8=
SHA256 (Pkgfile) = 3e9e487362b10ba51638c64ed32e6fa6ae78d7938d63ed3c1f3e1802b57bc040
RWSagIOpLGJF36yodU3mIJ03j8vkeF3wabnqRHngN/CK2ClZebmyzQRKGykVhLDL8IDpd4tEu1PIoNevQm+2Ld9bNnQ1BC2nlw4=
SHA256 (Pkgfile) = 4868db8d0813dca17d59348e6266e689bceb86a8074eba7fba198fc278f6b1fb
SHA256 (.footprint) = 93d2bc4d2ff2f13482a73335e1aab2f8d4eb4a09ab296624dbfae7a54da8a9be
SHA256 (libdv-1.0.0.tar.gz) = a305734033a9c25541a59e8dd1c254409953269ea7c710c39e540bd8853389ba
SHA256 (libdv-1.0.0-pic.patch.bz2) = 474a50d373e39dd8a0dac0b22f089e957d752145712f97f987ad18028f6d6a5e

View File

@ -1,15 +1,14 @@
# Description: Software codec for DV video.
# URL: http://libdv.sourceforge.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Hannes Mayer, kontakt at ecarux dot de
# Depends on: libsdl popt
# Optional: gtk1
# Optional: gtk
name=libdv
version=1.0.0
release=3
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
http://crux.ster.zone/downloads/$name/$name-1.0.0-pic.patch.bz2
$name-1.0.0-pic.patch.bz2
$name-0.99-2.6.patch)
build() {
@ -18,10 +17,15 @@ build() {
bzcat $SRC/$name-1.0.0-pic.patch.bz2 |patch -p 1
patch -p 1 -i $SRC/$name-0.99-2.6.patch
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-sdl
PKGMK_LIBDV="--prefix=/usr --mandir=/usr/share/man --enable-sdl"
if prt-get isinst gtk; then
export GTK_CFLAGS="$(pkgconf --cflags gtk+-2.0 glib-2.0)"
export GTK_LIBS="$(pkgconf --libs gtk+-2.0 glib-2.0)"
else
PKGMK_LIBDV+=" --disable-gtk"
fi
./configure $PKGMK_LIBDV
make
make DESTDIR=$PKG install

View File

@ -1 +1 @@
If you need playdv install gtk1 before installing this port.
If you need playdv install gtk before installing this port.

Binary file not shown.