aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2017-04-10 02:13:04 +0800
committerpi <pi@FreeBSD.org>2017-04-10 02:13:04 +0800
commit08822cfa731a62103ba4b4f93a2f26644915639b (patch)
treefe66d13fd41dbe8d9ed53dc10ff33a5dc9db5705 /multimedia
parentfb3ed09568c52e7344567ec7b6def5033bf14c68 (diff)
downloadfreebsd-ports-gnome-08822cfa731a62103ba4b4f93a2f26644915639b.tar.gz
freebsd-ports-gnome-08822cfa731a62103ba4b4f93a2f26644915639b.tar.zst
freebsd-ports-gnome-08822cfa731a62103ba4b4f93a2f26644915639b.zip
multimedia/handbrake: fix build after update to 1.0.3
PR: 218384 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: Vladimir Omelchuk <admin@vladiom.com.ua> Reviewed by: naito.yuichiro@gmail.com, rkoberman@gmail.com
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/handbrake/Makefile4
-rw-r--r--multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch13
2 files changed, 9 insertions, 8 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 476b60f4ccd8..f7e20df8d840 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -3,7 +3,7 @@
PORTNAME= handbrake
PORTVERSION= 1.0.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
DIST_SUBDIR= ${PORTNAME}
@@ -107,7 +107,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils
LIB_DEPENDS+= libvpx.so:multimedia/libvpx \
libdbus-glib-1.so:devel/dbus-glib \
libnotify.so:devel/libnotify
-USES+= gettext
+USES+= gettext desktop-file-utils
USE_GNOME+= gtk30 intltool cairo gdkpixbuf2
.else
CONFIGURE_ARGS+= --disable-gtk
diff --git a/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch b/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch
index 3a8b2e154113..8972844b025d 100644
--- a/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch
+++ b/multimedia/handbrake/files/patch-contrib_libbluray_A02-expose-clip__id.patch
@@ -1,11 +1,12 @@
---- contrib/libbluray/A02-expose-clip_id.patch.orig 2017-02-25 20:56:19 UTC
+--- contrib/libbluray/A02-expose-clip_id.patch.orig 2017-02-25
+20:56:19 UTC
+++ contrib/libbluray/A02-expose-clip_id.patch
@@ -35,3 +35,14 @@ index 3cd7118..177b3d4 100644
- --
+ --
2.5.5
-
-+--- Makefile.in.orig 2017-03-25 19:30:14 UTC
-++++ Makefile.in 2017-03-25 19:30:36 UTC
+
++--- a/Makefile.in.orig 2017-03-25 19:30:14 UTC
+++++ b/Makefile.in 2017-03-25 19:30:36 UTC
+@@ -772,7 +772,7 @@
+ MOSTLYCLEANFILES = $(DX_CLEANFILES)
+ @ENABLE_UDF_FALSE@POSIX_C_SOURCE = 200112L
@@ -14,4 +15,4 @@
++SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) -D_REENTRANT -D_XOPEN_SOURCE=700
+ SET_INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libbluray -I$(top_builddir)/src/libbluray $(BDJAVA_CFLAGS)
+ AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_INCLUDES) $(LIBXML2_CFLAGS) \
-+ $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS) \
++ $(FT2_CFLAGS) $(FONTCONFIG_CFLAGS) $(UDF_CFLAGS) \