ad741e63bb
checked with check-lib-depends and PLIST_DB "make package".
38 lines
833 B
Makefile
38 lines
833 B
Makefile
# $OpenBSD: Makefile,v 1.5 2010/09/05 22:00:14 sthen Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= XMMS input plugin to play Speex files
|
|
|
|
V= 0.9.2b
|
|
DISTNAME= speex-xmms-$V
|
|
PKGNAME= xmms-speex-$V
|
|
REVISION= 1
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://jzb.rapanden.dk/pub/
|
|
|
|
LIB_DEPENDS= ::audio/xmms \
|
|
::audio/speex
|
|
WANTLIB= X11 Xext Xi gdk glib gmodule gtk iconv intl m ogg \
|
|
xmms.>=4 speex.>=5
|
|
|
|
USE_X11= Yes
|
|
WRKDIST= ${WRKDIR}/speex-xmms
|
|
MAKE_FLAGS= CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -fPIC -I${LOCALBASE}/include/speex -pthread"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/xmms/Input
|
|
${INSTALL_DATA} ${WRKBUILD}/libspeex.so ${PREFIX}/lib/xmms/Input/
|
|
|
|
.include <bsd.port.mk>
|