Commits

Anonymous committed 93988fa

Rebuild HandBrake

Signed-off-by: Lee Pak Hong <benreilly@vector.Linux.net>

Comments (0)

Files changed (2)

var/vabs/HandBrake/src/HandBrake.SlackBuild

 # Put any Patches here *NOTE this only works if all 
 # your patches use the -p1 strip option!
 #-----------------------------------------------------
-#for i in $CWD/patches/*;do
+for i in $CWD/patches/*;do
 #  patch -p1 <$i
-#  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
-#  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
-#done
+  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
+  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
+done
 #-----------------------------------------------------
  
- 
+# disable harfbuzz for libass 
+patch -p1 <$CWD/patches/libass_disable_harfbuzz.patch || exit 1  
 
 #SET PERMISSIONS
 #-----------------------------------------

var/vabs/HandBrake/src/patches/libass_disable_harfbuzz.patch

+--- a/contrib/libass/module.defs	2012-06-08 21:39:58.000000000 +0000
++++ b/contrib/libass/module.defs	2013-04-12 13:20:43.415604818 +0000
+@@ -7,7 +7,7 @@
+ # Disable as many external dependencies as I can get away with
+ # and tell configure where to find our version of freetype
+ LIBASS.CONFIGURE.extra = \
+-    --disable-png --disable-enca \
++    --disable-png --disable-enca --disable-harfbuzz \
+     FREETYPE_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfreetype" \
+     FREETYPE_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/freetype2" \
+     FONTCONFIG_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfontconfig" \