- re-add libsamperate support

it seems the bug jakemsr@ fell into several months ago has been fixed;
note that this does not add any dependency since akode needs jack which
needs libsamplerate
- lowercase COMMENT while here

discussed with and no objection from jakemsr@
This commit is contained in:
ajacoutot 2009-01-12 11:43:43 +00:00
parent ae83461456
commit cfec13fc70
3 changed files with 12 additions and 9 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2008/12/28 23:08:55 jakemsr Exp $ # $OpenBSD: Makefile,v 1.13 2009/01/12 11:43:43 ajacoutot Exp $
COMMENT= Decoding Library for KDE Multimedia
COMMENT= decoding library for KDE Multimedia
DISTNAME= akode-2.0.2 DISTNAME= akode-2.0.2
PKGNAME= ${DISTNAME}p5 PKGNAME= ${DISTNAME}p6
SHARED_LIBS += akode 2.1 # .2.0 SHARED_LIBS += akode 2.1 # .2.0
CATEGORIES= audio multimedia x11/kde CATEGORIES= audio multimedia x11/kde
@ -13,7 +14,7 @@ MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/
EXTRACT_SUFX= .tar.bz2 EXTRACT_SUFX= .tar.bz2
DISTFILES= 30375-${DISTNAME}${EXTRACT_SUFX} DISTFILES= 30375-${DISTNAME}${EXTRACT_SUFX}
# LGPL # LGPLv2
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
@ -27,8 +28,8 @@ LIB_DEPENDS= FLAC.>=8::audio/flac \
avcodec.>=10,avformat.>=10,avutil.>=3::graphics/ffmpeg \ avcodec.>=10,avformat.>=10,avutil.>=3::graphics/ffmpeg \
jack::audio/jack jack::audio/jack
WANTLIB= a52 bz2 c faac faad m mp3lame \ WANTLIB= a52 bz2 c faac faad samplerate m mp3lame ogg pthread \
ogg pthread stdc++ theora x264 z stdc++ theora x264 z
USE_X11= Yes USE_X11= Yes
USE_GMAKE= Yes USE_GMAKE= Yes
@ -42,7 +43,6 @@ CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib \ --with-extra-libs=${LOCALBASE}/lib \
--with-jack \ --with-jack \
--without-polyaudio \ --without-polyaudio \
--without-libsamplerate \
--without-oss --without-oss
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,8 +1,9 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2008/12/28 23:08:56 jakemsr Exp $ @comment $OpenBSD: PFRAG.shared,v 1.5 2009/01/12 11:43:43 ajacoutot Exp $
@lib lib/libakode.so.${LIBakode_VERSION} @lib lib/libakode.so.${LIBakode_VERSION}
lib/libakode_ffmpeg_decoder.so lib/libakode_ffmpeg_decoder.so
lib/libakode_jack_sink.so lib/libakode_jack_sink.so
lib/libakode_mpc_decoder.so lib/libakode_mpc_decoder.so
lib/libakode_mpeg_decoder.so lib/libakode_mpeg_decoder.so
lib/libakode_src_resampler.so
lib/libakode_sun_sink.so lib/libakode_sun_sink.so
lib/libakode_xiph_decoder.so lib/libakode_xiph_decoder.so

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2008/12/28 23:08:56 jakemsr Exp $ @comment $OpenBSD: PLIST,v 1.7 2009/01/12 11:43:43 ajacoutot Exp $
%%SHARED%% %%SHARED%%
bin/akode-config bin/akode-config
@bin bin/akodeplay @bin bin/akodeplay
@ -38,6 +38,8 @@ lib/libakode.la
@comment lib/libakode_mpc_decoder.la @comment lib/libakode_mpc_decoder.la
@comment lib/libakode_mpeg_decoder.a @comment lib/libakode_mpeg_decoder.a
@comment lib/libakode_mpeg_decoder.la @comment lib/libakode_mpeg_decoder.la
@comment lib/libakode_src_resampler.a
@comment lib/libakode_src_resampler.la
@comment lib/libakode_sun_sink.a @comment lib/libakode_sun_sink.a
@comment lib/libakode_sun_sink.la @comment lib/libakode_sun_sink.la
@comment lib/libakode_xiph_decoder.a @comment lib/libakode_xiph_decoder.a