summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-04-17 19:41:42 +0000
committerlioux <lioux@FreeBSD.org>2005-04-17 19:41:42 +0000
commit66b1a366a550344fa7f98eaaade1a838bbb34891 (patch)
treed0b71b6176345376907b97262e8eae086f236ac9 /multimedia
parentaf6a19b3222148eb0fc4f0bdb603a9bbf68eb5a0 (diff)
downloadFreeBSD-ports-66b1a366a550344fa7f98eaaade1a838bbb34891.zip
FreeBSD-ports-66b1a366a550344fa7f98eaaade1a838bbb34891.tar.gz
o Update to 0.104
o Auto detect gtk 1.2, only building playdv accordingly [1] PR: 79734 [1] Submitted by: ahze [1]
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdv/Makefile21
-rw-r--r--multimedia/libdv/distinfo4
-rw-r--r--multimedia/libdv/files/patch-configure10
-rw-r--r--multimedia/libdv/pkg-plist1
4 files changed, 19 insertions, 17 deletions
diff --git a/multimedia/libdv/Makefile b/multimedia/libdv/Makefile
index 5f6b279..2ea0411 100644
--- a/multimedia/libdv/Makefile
+++ b/multimedia/libdv/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libdv
-PORTVERSION= 0.103
+PORTVERSION= 0.104
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,16 +18,19 @@ COMMENT= Quasar DV codec (libdv): software codec for DV video encoding format
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
popt.0:${PORTSDIR}/devel/popt
-USE_GNOME= gnometarget \
- gtk12
+USE_GNOME= gnometarget
+WANT_GNOME= yes
USE_REINPLACE= yes
-USE_LIBTOOL_VER=13
+USE_LIBTOOL_VER=15
+CONFIGURE_ARGS= --with-gtk-prefix="${X11BASE}" \
+ --x-includes="${X11BASE}/include" \
+ --x-libraries="${X11BASE}/lib"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:${X11BASE}/libdata/pkgconfig
INSTALLS_SHLIB= yes
-MAN1= dubdv.1 dvconnect.1 encodedv.1 playdv.1
+MAN1= dubdv.1 dvconnect.1 encodedv.1
PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
README.dvconnect README.encoder TODO
@@ -38,6 +41,14 @@ PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \
IGNORE= "Requires Xv Extension"
.endif
+.if ${HAVE_GNOME:Mgtk12}!=""
+USE_GNOME+= gtk12
+MAN1+= playdv.1
+PLIST_FILES+= bin/playdv
+.else
+CONFIGURE_ARGS+=--disable-gtk
+.endif
+
# XXX - work around compiler bug
# Optimizations -O{1,s,2,3} work
# However, lack of -O{1,s,2,3} or -O0 BREAK the build
diff --git a/multimedia/libdv/distinfo b/multimedia/libdv/distinfo
index ed76a32..c2d1c7f 100644
--- a/multimedia/libdv/distinfo
+++ b/multimedia/libdv/distinfo
@@ -1,2 +1,2 @@
-MD5 (libdv-0.103.tar.gz) = b5c7d0db672a76528e100828dd866a79
-SIZE (libdv-0.103.tar.gz) = 529106
+MD5 (libdv-0.104.tar.gz) = f6b08efce7472daa20685e6e8431f542
+SIZE (libdv-0.104.tar.gz) = 554691
diff --git a/multimedia/libdv/files/patch-configure b/multimedia/libdv/files/patch-configure
deleted file mode 100644
index 5409211..0000000
--- a/multimedia/libdv/files/patch-configure
+++ /dev/null
@@ -1,10 +0,0 @@
---- configure.orig Mon Apr 8 05:44:39 2002
-+++ configure Sat Aug 10 01:08:07 2002
-@@ -7384,6 +7384,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/multimedia/libdv/pkg-plist b/multimedia/libdv/pkg-plist
index 50a166f..f82b83d 100644
--- a/multimedia/libdv/pkg-plist
+++ b/multimedia/libdv/pkg-plist
@@ -5,6 +5,7 @@ bin/playdv
include/libdv/dv.h
include/libdv/dv_types.h
lib/libdv.a
+lib/libdv.la
lib/libdv.so
lib/libdv.so.4
libdata/pkgconfig/libdv.pc
OpenPOWER on IntegriCloud