openbsd-ports/multimedia/kaffeine/Makefile

57 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2009/08/10 06:33:02 kili Exp $
COMMENT= video player for KDE
VERSION= 0.8.8
DISTNAME= kaffeine-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= multimedia x11 x11/kde
MASTER_SITES= http://hftom.free.fr/ \
${MASTER_SITE_SOURCEFORGE:=kaffeine/}
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= kaffeinepart 0.0 \
kaffeineaudioencoder 0.0
HOMEPAGE= http://kaffeine.sourceforge.net/
# GPLv2+
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xinerama Xrender Xtst art_lgpl_2 \
c expat fam fontconfig freetype iconv idn intl jpeg m ogg \
pcre pcreposix png pthread pthread-stubs rpcsvc stdc++ util \
xcb z
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS= kdecore.>=7,DCOP,kdesu,kio,kdefx,kparts,kutils,kdeprint,kdeui,kwalletclient,khtml,kjs::x11/kde/libs3 \
vorbis,vorbisenc::audio/libvorbis \
cdio,cdio_cdda,cdio_paranoia::audio/libcdio \
xine.>=20::multimedia/xine-lib
SUBST_VARS= VERSION
MODULES= x11/kde
MODKDE_VERSION= 3.5.7
PORTHOME= ${WRKDIR}
MAKE_ENV= ${CONFIGURE_ENV}
MAKE_FLAGS= ${MODKDE_MAKE_FLAGS}
SEPARATE_BUILD= simple
USE_GMAKE= Yes
CONFIGURE_STYLE= autoconf
# Should be 2.63
AUTOCONF_VERSION= 2.62
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ARGS+= --disable-libsuffix \
--without-arts \
--without-gstreamer \
--without-lame
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
.include <bsd.port.mk>