freebsd-ports/graphics/pornview/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

2002-11-24 02:06:12 +01:00
# New ports collection Makefile for: pornview
# Date created: 24 Nov 2002
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pornview
PORTVERSION= 0.2.0.p.1
PORTREVISION= 25
2002-11-24 02:06:12 +01:00
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p./pre/}
2002-11-24 02:06:12 +01:00
MAINTAINER= dinoex@FreeBSD.org
2003-02-20 19:08:19 +01:00
COMMENT= PornView is an image viewer/manager
2002-11-24 02:06:12 +01:00
2007-05-27 17:25:47 +02:00
LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif
LIB_DEPENDS+= xcb-render-util:${PORTSDIR}/x11/xcb-util-renderutil
2002-11-24 02:06:12 +01:00
2007-12-11 21:28:23 +01:00
USE_XORG= x11 xi xext xinerama
2008-05-04 14:19:09 +02:00
USE_GNOME= gtk20
GNU_CONFIGURE= yes
2008-05-04 14:19:09 +02:00
CONFIGURE_ARGS= --with-gtk2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITH_LIBXINE)
- Update multimedia/libxine to 1.2.1 with a commit merged from hg to fix DVB support. (which still is broken for tuners using hardware pid filtering, like when running webcamd with "-m dvb-usb-init.force_pid_filter_usage=1".) - Add patches to fix build of ports depending on libxine to: audio/amarok, graphics/gimageview [1], graphics/pornview [1], graphics/osg [2], graphics/osg-devel [2], multimedia/emotion, x11/kdelibs4 [3], multimedia/kmplayer, multimedia/konverter, multimedia/qdvdauthor [4], multimedia/vdr-plugin-xineliboutput, multimedia/xfce4-media [5], multimedia/xine_artsplugin, multimedia/k9copy-kde4 [6] - Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7] - Mark multimedia/phonon-xine BROKEN which refuses to build with libxine 1.2.x and is deprecated upstream. [3] - Disable XINE knob for x11/eaglemode for which I don't have a fix. [2] - Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix, but it only shows a green window at least with mp4 or ts files. (avi files and audio still work.) It seems the kaffeine developers have found this too and are now switching away from libxine in their git repo - so I guess we'll have a broken kaffeine at least until they release a new version. - Bump PORTREVISIONs for ports depending on libxine by default. - Add optional libbluray support to multimedia/libxine and multimedia/vdr-plugin-xineliboutput. PR: ports/165057 [6] Submitted by: nox (self) [6], rakuco [3] Approved by: dinoex (maintainer, via irc) [1], amdmi3 (maintainer, via private email) [2], kde@ (rakuco, via irc) [3], Phil Oleson <oz@nixil.net> (maintainer, via private email) [4], xfce@ (rene, via irc) [5], Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6], lme (maintainer, via irc) [7] Thanx to: Darren Salt (upstream libxine maintainer) for a few hints on irc to help with patching ports depending on deprecated libxine features
2012-02-26 16:22:37 +01:00
LIB_DEPENDS+= xine.2:${PORTSDIR}/multimedia/libxine
CONFIGURE_ARGS+= --enable-xine
2005-04-13 17:14:43 +02:00
.elif defined(WITH_MPLAYER)
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
CONFIGURE_ARGS+= --enable-mplayer
.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= WITH_NLS="@comment "
.else
PLIST_SUB+= WITH_NLS=""
.endif
2002-11-24 02:06:12 +01:00
post-patch:
@${REINPLACE_CMD} -e \
's|INCLUDED_LIBINTL=yes|INCLUDED_LIBINTL=no|g ; \
s|\\[$$][{]top_builddir[}]/intl/libintl.a|-lintl|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} 's|#define GTK_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/support/widgets/*.c
2002-11-24 02:06:12 +01:00
.include <bsd.port.mk>