1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

New port kmenc15 version 0.02: KDE advanced MEncoder frontend, ala, VirtualDub

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-12-15 18:48:15 +00:00
parent 2b6c4cf4af
commit e59be8137c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124148
5 changed files with 84 additions and 0 deletions

View File

@ -49,6 +49,7 @@
SUBDIR += kdemultimedia3
SUBDIR += kino
SUBDIR += kino-dvtitler
SUBDIR += kmenc15
SUBDIR += kmplayer
SUBDIR += konverter
SUBDIR += kplayer

View File

@ -0,0 +1,46 @@
# New ports collection makefile for: kmenc15
# Date created: Wed Dec 15 17:32:21 UTC 2004
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kmenc15
PORTVERSION= 0.02
CATEGORIES= multimedia kde
MASTER_SITES= http://dividedsky.net/~ods15/kmenc15/
MAINTAINER= lioux@FreeBSD.org
COMMENT= KDE advanced MEncoder frontend, ala, VirtualDub
BUILD_DEPENDS= mencoder:${PORTSDIR}/multimedia/mplayer \
sox:${PORTSDIR}/audio/sox \
yuvtoppm:${PORTSDIR}/graphics/netpbm
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_REINPLACE= yes
PLIST_FILES= bin/${PORTNAME}
post-patch:
# FreeBSD uses sed(1) -E -e instead of sed(1) -r
@${REINPLACE_CMD} -E \
-e 's|sed -r|${SED} -E -e|' \
${BUILD_WRKSRC}/${MAKEFILE} \
${WRKSRC}/dialog.cpp
do-configure:
# CXX{,FLAGS} safeness
# PTHREAD_{CFLAGS,LIBS} safeness
@${REINPLACE_CMD} -E \
-e 's|^(CPP[[:space:]]*=).*$$|\1${CXX}|' \
-e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CXXFLAGS} ${PTHREAD_CFLAGS}|' \
-e 's|^(BFLAGS.*)$$|\1 ${PTHREAD_LIBS}|' \
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (kmenc15-0.02.tar.bz2) = eca10e4af80ff011f8c8b1c7fb783f19
SIZE (kmenc15-0.02.tar.bz2) = 173624

View File

@ -0,0 +1,24 @@
--- Makefile.orig Sun Oct 24 09:18:38 2004
+++ Makefile Wed Dec 15 16:45:54 2004
@@ -54,7 +54,6 @@
PROG = ${PRGNAME}-$(shell grep 'char version' main.cpp -m 1 | sed -r 's/^.*"(.*)".*$$/\1/')
-DRFLAGS= $(shell test -f DEBUGMODE && echo ${DFLAGS} || echo ${RFLAGS} )
GZFILE = ${PROG}.tar.gz
BZFILE = ${PROG}.tar.bz2
@@ -104,11 +103,11 @@
else
images.cpp: images.diff ${DATA} ${IMAGES}
${QEMBED} ${DATA} --images ${IMAGES} > $@
- $(if $(wildcard $<),patch -s --no-backup-if-mismatch < $<)
+ $(if $(wildcard $<),patch -s < $<)
endif
%.cpp: %.diff %.ui %.h %.moc
${UIC} ${UFLAGS} -impl $*.h -o $@ $*.ui
- $(if $(wildcard $<),patch -s --no-backup-if-mismatch < $<)
+ $(if $(wildcard $<),patch -s < $<)
%.moc: %.h ; ${MOC} -o $@ $<
%.h: %.ui ; ${UIC} -o $@ $<
%.diff: ; @true

View File

@ -0,0 +1,11 @@
[ excerpt from developer's web site ]
Kmenc15 is an advanced MEncoder frontend, generally designed to be
a VirtualDub replacement for Linux. It is most useful for editing
and encoding large high quality AVIs capped from TV. It allows
cutting and merging at exact frames, applying any MPlayer/MEncoder
filter, with preview.
WWW: http://www.kde-apps.org/content/show.php?content=16439
-- lioux@FreeBSD.org