freebsd-ports/multimedia/handbrake-gtk2/files/patch-Jamfile
Michael Johnson 6e271ee0da - Remove ffmpeg snapshot and depend on multimedia/ffmpeg
- Move multimedia/mpeg4ip dependency to multimedia/mpeg4ip-libmp4v2
- Fix build on some configurations on 4.x
- Bump PORTREVISION

PR:		ports/74754
Submitted by:	Andrew Thompson (maintainer)
2004-12-19 01:59:40 +00:00

24 lines
990 B
Text

--- Jamfile.orig Wed May 26 05:51:32 2004
+++ Jamfile Sun Dec 19 11:14:57 2004
@@ -54,6 +54,21 @@
ObjectCcFlags $(GTK2_SRC) : `pkg-config gtk+-2.0 --cflags` ;
Main $(GTK2_BIN) : $(GTK2_SRC) ;
}
+if $(OS) = FREEBSD
+{
+ HB_LIBS = libhb.a libx264.a ;
+ SystemLibraries $(TEST_BIN) : -L%%PREFIX%%/lib %%PTHREAD_LIBS%% -la52
+ -lavcodec -ldvdcss -ldvdread -lfaac -lmp3lame -lmp4v2 -lmpeg2
+ -logg -lsamplerate -lvorbis -lvorbisenc -lxvidcore
+ $(EXTRA_LIBS) ;
+ SystemLibraries $(GTK2_BIN) : -L%%PREFIX%%/lib %%PTHREAD_LIBS%%
+ $(EXTRA_LIBS) `pkg-config gtk+-2.0 --libs` -la52 -lavcodec
+ -ldvdcss -ldvdread -lfaac -lmp3lame -lmp4v2 -lmpeg2 -logg
+ -lsamplerate -lvorbis -lvorbisenc -lxvidcore ;
+ ObjectCcFlags $(TEST_SRC) : -I%%PREFIX%%/include ;
+ ObjectCcFlags $(GTK2_SRC) : `pkg-config gtk+-2.0 --cflags` ;
+ Main $(GTK2_BIN) : $(GTK2_SRC) ;
+}
if $(OS) = CYGWIN
{
SystemLibraries $(TEST_BIN) : -lws2_32 ;