openbsd-ports/multimedia/k3b/Makefile
2013-03-21 08:45:11 +00:00

71 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2013/03/21 08:46:33 ajacoutot Exp $
SHARED_ONLY = Yes
COMMENT = CD/DVD creator
DISTNAME = k3b-1.0.4
REVISION= 16
CATEGORIES = multimedia
SHARED_LIBS = k3b 0.0 # 3.0
SHARED_LIBS += k3bdevice 0.0 # 5.0
HOMEPAGE = http://k3b.plainblack.com/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += DCOP FLAC FLAC++ ICE SM X11 Xext Xfixes Xrender Xt
WANTLIB += art_lgpl_2 artsc avcodec avformat avutil bz2 c crypto
WANTLIB += dvdread expat fam fontconfig freetype gsm idn jpeg kdecore
WANTLIB += kdefx kdesu kdeui kio kparts kwalletclient m mad mp3lame
WANTLIB += mpcdec ogg orc-0.4 png pthread samplerate schroedinger-1.0
WANTLIB += sndfile speex ssl stdc++ tag theoradec theoraenc util vorbis
WANTLIB += vorbisenc vorbisfile vpx x264 xcb xvidcore z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=k3b/}
EXTRACT_SUFX = .tar.bz2
MODULES = x11/kde 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>=20121026 \
graphics/jpeg \
x11/kde/libs3
LIBTOOL_FLAGS += --tag=disable-static
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-qt-dir=${MODQT_QTDIR} \
${MODQT_CONFIGURE_ARGS} \
${MODKDE_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>