aboutsummaryrefslogtreecommitdiff
path: root/multimedia/handbrake/files/patch-Jamfile
blob: beb1759b08a5bcad7ae93e64c690a4690195f255 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Jamfile.orig	Wed May 26 05:51:32 2004
+++ Jamfile	Mon Nov 22 20:29:09 2004
@@ -54,6 +54,20 @@
     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) : %%LIBAVCODEC%%/libavcodec.a
+    		-L%%PREFIX%%/lib %%PTHREAD_LIBS%% -la52
+    		-ldvdcss -ldvdread -lfaac -lmp3lame -lmp4v2 -lmpeg2 -logg
+		-lsamplerate -lvorbis -lvorbisenc -lxvidcore $(EXTRA_LIBS) ;
+    SystemLibraries $(GTK2_BIN) : %%LIBAVCODEC%%/libavcodec.a
+    		-L%%PREFIX%%/lib %%PTHREAD_LIBS%% $(EXTRA_LIBS) `pkg-config gtk+-2.0 --libs`
+    		-la52 -ldvdcss -ldvdread -lfaac -lmp3lame -lmp4v2
+		-lmpeg2 -logg -lsamplerate -lvorbis -lvorbisenc -lxvidcore ;
+    ObjectCcFlags   $(GTK2_SRC) : `pkg-config gtk+-2.0 --cflags` ;
+    Main            $(GTK2_BIN) : $(GTK2_SRC) ;
+}
 if $(OS) = CYGWIN
 {
     SystemLibraries $(TEST_BIN) : -lws2_32 ;