View | Details | Raw Unified | Return to bug 48649
Collapse All | Expand All

(-)transcode/Makefile (-1 / +19 lines)
Lines 7-16 Link Here
7
7
8
PORTNAME=	transcode
8
PORTNAME=	transcode
9
PORTVERSION=	0.6.3
9
PORTVERSION=	0.6.3
10
PORTREVISION=	1
10
CATEGORIES=	graphics
11
CATEGORIES=	graphics
11
MASTER_SITES=	http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/pre/
12
MASTER_SITES=	http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/pre/
12
13
13
MAINTAINER=	hendrik@scholz.net
14
MAINTAINER=	hendrik@scholz.net
15
COMMENT=	A text-console utility for video stream processing
14
16
15
LIB_DEPENDS=	dvdread.2:${PORTSDIR}/multimedia/libdvdread \
17
LIB_DEPENDS=	dvdread.2:${PORTSDIR}/multimedia/libdvdread \
16
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
18
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
Lines 201-206 Link Here
201
PLIST_SUB+=	WITH_MJPEG="@comment "
203
PLIST_SUB+=	WITH_MJPEG="@comment "
202
.endif
204
.endif
203
205
206
.if defined(WITH_SUBRIP)
207
PLIST_SUB+=	WITH_SUBRIP=""
208
.else
209
PLIST_SUB+=	WITH_SUBRIP="@comment "
210
.endif
211
204
pre-everything::
212
pre-everything::
205
.if !defined(WITH_OPTIMIZED_CFLAGS)
213
.if !defined(WITH_OPTIMIZED_CFLAGS)
206
	@${ECHO_MSG}
214
	@${ECHO_MSG}
Lines 272-278 Link Here
272
.endif
280
.endif
273
.if !defined(WITH_MJPEG)
281
.if !defined(WITH_MJPEG)
274
	@${ECHO_MSG}
282
	@${ECHO_MSG}
275
	@${ECHO_MSG} "You can enable support for the MJPEG toolkit by defining WITH_MJPEG"
283
	@${ECHO_MSG} "You can enable support for the MJPEG toolkit by defining WITH_MJPEG."
284
.endif
285
.if !defined(WITH_SUBRIP)
286
	@${ECHO_MSG}
287
	@${ECHO_MSG} "You can enable compilation of subtitleripper by defining WITH_SUBRIP."
276
.endif
288
.endif
277
289
278
post-patch:
290
post-patch:
Lines 300-305 Link Here
300
	@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \
312
	@${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \
301
		${PREFIX}/lib/transcode/libxvidcore.so
313
		${PREFIX}/lib/transcode/libxvidcore.so
302
.endif
314
.endif
315
316
.if defined(WITH_SUBRIP)
317
	@cd ${WRKSRC}/contrib/subrip; ${GMAKE} clean all; \
318
		${INSTALL_PROGRAM} srttool subtitle2pgm subtitle2vobsub ${PREFIX}/bin
319
.endif
320
303
	@${RM} ${PREFIX}/lib/transcode/*.la
321
	@${RM} ${PREFIX}/lib/transcode/*.la
304
322
305
.include <bsd.port.post.mk>
323
.include <bsd.port.post.mk>
(-)transcode/files/patch-contrib:subrip:Makefile (+13 lines)
Line 0 Link Here
1
--- contrib/subrip/Makefile.orig	Wed Feb  5 02:23:45 2003
2
+++ contrib/subrip/Makefile	Wed Feb  5 02:23:56 2003
3
@@ -8,8 +8,8 @@
4
 INCLUDES :=
5
 
6
 ### enable ppm support ###
7
-DEFINES  += -D_HAVE_LIB_PPM_
8
-LIBS     += -lppm
9
+#DEFINES  += -D_HAVE_LIB_PPM_
10
+#LIBS     += -lppm
11
 
12
 ### enable zlib support ###
13
 DEFINES += -D_HAVE_ZLIB_
(-)transcode/files/patch-dvdread:dvd_reader.c (+19 lines)
Line 0 Link Here
1
--- dvdread/dvd_reader.c.orig	Wed Feb 19 10:27:09 2003
2
+++ dvdread/dvd_reader.c	Wed Feb 19 10:27:36 2003
3
@@ -140,15 +140,7 @@
4
             dvdcss_error = (char* (*)(dvdcss_handle))
5
                                 dlsym( dvdcss_library, U_S "dvdcss_error" );
6
 
7
-            if( dlsym( dvdcss_library, U_S "dvdcss_crack" ) ) {
8
-                fprintf( stderr, "libdvdread: Old (pre-0.0.2) version of "
9
-                                 "libdvdcss found.\n"
10
-                                 "libdvdread: You should get the "
11
-                                 "latest version from "
12
-                                 "http://www.videolan.org/\n" );
13
-                dlclose( dvdcss_library );
14
-                dvdcss_library = 0;
15
-            } else if( !dvdcss_open  || !dvdcss_close || !dvdcss_seek ||
16
+            if( !dvdcss_open  || !dvdcss_close || !dvdcss_seek ||
17
                        !dvdcss_title || !dvdcss_read  || !dvdcss_error ) {
18
 
19
                 fprintf( stderr, "libdvdread: Unknown incompatible version "
(-)transcode/files/patch-src:transcode.c (+11 lines)
Line 0 Link Here
1
--- src/transcode.c.orig	Mon Feb 17 23:49:13 2003
2
+++ src/transcode.c	Mon Feb 17 23:57:47 2003
3
@@ -831,6 +831,8 @@
4
     vob->vob_psu_num2     = INT_MAX;
5
     vob->vob_info_file    = NULL;
6
     vob->vob_percentage   = 0;
7
+	vob->im_a_string	  = NULL;
8
+	vob->im_v_string	  = NULL;
9
 
10
     vob->reduce_h         = 1;
11
     vob->reduce_w         = 1;
(-)transcode/pkg-plist (+3 lines)
Lines 2-7 Link Here
2
bin/avimerge
2
bin/avimerge
3
bin/avisplit
3
bin/avisplit
4
bin/avisync
4
bin/avisync
5
%%WITH_SUBRIP%%bin/srttool
6
%%WITH_SUBRIP%%bin/subtitle2pgm
7
%%WITH_SUBRIP%%bin/subtitle2vobsub
5
bin/tccat
8
bin/tccat
6
bin/tcdecode
9
bin/tcdecode
7
bin/tcdemux
10
bin/tcdemux

Return to bug 48649