openbsd-ports/audio/akode/Makefile
jakemsr 41cd1c99bd use -pthread instead of -lpthread for pthreads linkage
fix some WANTLIB/LIB_DEPENDS in akode and amarok while here

bulk build tested by steven@, "go ahead" espie@ a while ago
2007-12-11 07:55:05 +00:00

45 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2007/12/11 07:55:05 jakemsr Exp $
COMMENT= Decoding Library for KDE Multimedia
DISTNAME= akode-2.0.2
PKGNAME= ${DISTNAME}p2
SHARED_LIBS += akode 2.1 # .2.0
CATEGORIES= audio multimedia x11/kde
HOMEPAGE= http://www.kde-apps.org/content/show.php?content=30375
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/
EXTRACT_SUFX= .tar.bz2
DISTFILES= 30375-${DISTNAME}${EXTRACT_SUFX}
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= FLAC.>=8::audio/flac \
mad::audio/libmad \
speex::audio/speex \
vorbis,vorbisfile,vorbisenc::audio/libvorbis \
ltdl::devel/libtool,-ltdl \
avcodec.>=10,avformat.>=10,avutil.>=3::graphics/ffmpeg \
samplerate.>=1::audio/libsamplerate
WANTLIB= X11 Xau Xdmcp Xext a52 c faac faad m mp3lame \
ogg ossaudio pthread stdc++ theora x264 z
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.60
CONFIGURE= /bin/sh ${WRKDIST}/admin/cvs.sh configure
CONFIGURE_ENV= PTHREAD_LIBS=-pthread
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib
.include <bsd.port.mk>