ac4ef3820b
Official KDE 3.1.3 announcement: http://www.kde.org/announcements/announce-3.1.3.php (may not work until a few hours after this commit - we jumped the gun a little in order to have the update in place at the time the security notifications for KDE 3.1.2 will be released together with the announcement of KDE 3.1.3). Changelog from 3.1.2 to 3.1.3 release: http://www.kde.org/announcements/changelogs/changelog3_1_2to3_1_3.php Thanks and credits need to go to the whole KDE-FreeBSD team, as well as everyone on kde@freebsd.org for providing feedback, reporting bugs and just using the KDE ports. Approved by: will (real mentor asleep)
83 lines
2.1 KiB
Makefile
83 lines
2.1 KiB
Makefile
# -*-mode: makefile-*-
|
|
# New ports collection makefile for: KDE3 Multimedia
|
|
# Date created: Saturday 7 December 2002
|
|
# Whom: Alan Eldridge <alane@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kdemultimedia
|
|
PORTVERSION= ${KDE_VERSION}
|
|
CATEGORIES= multimedia kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Multimedia utilities for the KDE integrated X11 desktop
|
|
|
|
RUN_DEPENDS+= xanim:${PORTSDIR}/multimedia/xanim
|
|
LIB_DEPENDS+= cdda_paranoia:${PORTSDIR}/audio/cdparanoia \
|
|
mp3lame:${PORTSDIR}/audio/lame \
|
|
ogg.4:${PORTSDIR}/audio/libogg \
|
|
vorbis.2:${PORTSDIR}/audio/libvorbis
|
|
|
|
USE_KDELIBS_VER=3
|
|
PREFIX= ${KDE_PREFIX}
|
|
KDE_BUILD_PLIST=yes
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= esound
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
|
|
CONFIGURE_ARGS+= --with-vorbis="${LOCALBASE}" \
|
|
--enable-audio=oss,esd
|
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure::
|
|
${REINPLACE_CMD} -e 's@-pedantic @@g' ${WRKSRC}/configure
|
|
|
|
.if defined(WITH_MIDI) || defined(WITH_KMIDI)
|
|
PLIST_APPEND+= plist.midi
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
USE_REINPLACE= yes
|
|
post-patch::
|
|
${REINPLACE_CMD} -e "s|-ffast-math||g" ${WRKSRC}/kmidi/Makefile.in
|
|
.endif # ${MACHINE_ARCH} == "alpha"
|
|
.else
|
|
DO_NOT_COMPILE+= kmidi
|
|
.endif # defined(WITH_MIDI) || defined(WITH_KMIDI)
|
|
|
|
#.if exists(${X11BASE}/bin/xine-config)
|
|
#WITH_XINE= yes
|
|
#.endif # exists(${LOCALBASE}/bin/xine-config)
|
|
|
|
WITHOUT_XINE=yes
|
|
|
|
.if defined(WITHOUT_XINE)
|
|
DO_NOT_COMPILE+= xine_artsplugin
|
|
#CONFIGURE_ARGS+= --disable-xinetest
|
|
#.elif defined(WITH_XINE)
|
|
#PLIST_APPEND+= plist.xine
|
|
#LIB_DEPENDS+= xine.4:${PORTSDIR}/multimedia/libxine
|
|
#BUILD_DEPENDS+= xine-config:${PORTSDIR}/multimedia/libxine
|
|
#CONFIGURE_ARGS+=--with-xine-prefix=${X11BASE}
|
|
.endif # defined(WITHOUT_XINE)
|
|
|
|
.if defined(DO_NOT_COMPILE)
|
|
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
|
|
.endif # defined(DO_NOT_COMPILE)
|
|
|
|
INSTALLS_SHLIB= yes
|
|
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|