openbsd-ports/multimedia/k3b/Makefile
2012-08-29 07:48:42 +00:00

76 lines
1.9 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2012/08/29 07:48:42 ajacoutot Exp $
SHARED_ONLY = Yes
COMMENT = CD/DVD creator
DISTNAME = k3b-1.0.4
REVISION= 13
SHARED_LIBS = k3b 0.0 # 3.0
SHARED_LIBS += k3bdevice 0.0 # 5.0
CATEGORIES = multimedia
HOMEPAGE = http://k3b.plainblack.com/
MAINTAINER = Jacob Meuser <jakemsr@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += DCOP FLAC FLAC++ ICE SM X11 Xext Xfixes Xrender Xt
WANTLIB += art_lgpl_2 artsc avcodec avformat avutil bz2 c dvdread
WANTLIB += expat fontconfig freetype gsm idn jpeg kdecore kdefx kdesu
WANTLIB += kdeui kio kparts kwalletclient m mad mp3lame mpcdec ogg
WANTLIB += orc-0.4 png pthread samplerate schroedinger-1.0 sndfile
WANTLIB += speex stdc++ tag theoradec theoraenc util vorbis vorbisenc
WANTLIB += vorbisfile vpx x264 xcb xvidcore z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=k3b/}
EXTRACT_SUFX = .tar.bz2
MODULES = x11/qt3 devel/gettext
RUN_DEPENDS = sysutils/cdrtools \
sysutils/dvd+rw-tools \
audio/normalize \
misc/cdrdao \
audio/sox \
multimedia/transcode \
x11/gtk+2,-guic \
devel/desktop-file-utils
LIB_DEPENDS = audio/flac \
audio/lame \
audio/libmad \
audio/libsamplerate \
audio/libsndfile \
audio/libvorbis \
audio/musepack \
audio/taglib \
devel/libdvdread \
graphics/ffmpeg>=20100512 \
graphics/jpeg \
x11/kde/arts3 \
x11/kde/libs3
USE_GMAKE = Yes
USE_LIBTOOL = Yes
LIBTOOL_FLAGS += --tag=disable-static
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-qt-dir=${MODQT_QTDIR} \
${MODQT_CONFIGURE_ARGS} \
--without-musicbrainz \
--without-resmgr \
--without-hal \
--without-alsa \
--without-cdrecord-suid-root
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# For QSettings to write its setup
PORTHOME= ${WRKDIST}
.include <bsd.port.mk>