openbsd-ports/multimedia/k3b/Makefile

71 lines
1.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.3 2008/07/09 02:13:01 jakemsr Exp $
SHARED_ONLY = Yes
COMMENT = CD/DVD creator
DISTNAME = k3b-1.0.4
PKGNAME = ${DISTNAME}p1
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 = ICE SM X11 Xau Xdmcp Xext Xrender \
art_lgpl_2 c fam idn m ogg png pthread \
rpcsvc stdc++ util 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/hicolor-icon-theme \
:desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS = jpeg::graphics/jpeg \
samplerate::audio/libsamplerate \
dvdread::devel/libdvdread \
mad::audio/libmad \
mpcdec::audio/libmpcdec \
vorbis,vorbisenc,vorbisfile::audio/libvorbis \
mp3lame::audio/lame \
avcodec,avformat::graphics/ffmpeg \
sndfile::audio/libsndfile \
FLAC,FLAC++::audio/flac \
tag::audio/taglib \
artsc::x11/kde/arts3 \
DCOP,kdecore,kdefx,kdesu,kdeui,kio,kparts,kwalletclient::x11/kde/libs3
USE_X11 = Yes
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" \
PTHREAD_LIBS="-pthread"
.include <bsd.port.mk>