2013-09-02 12:06:03 +02:00
|
|
|
# Created by: t.vanklaveren@student.utwente.nl
|
2000-11-02 22:09:57 +01:00
|
|
|
|
|
|
|
PORTNAME= libao
|
2014-05-28 19:51:32 +02:00
|
|
|
PORTVERSION= 1.2.0
|
2020-07-12 11:30:28 +02:00
|
|
|
PORTREVISION= 5
|
2000-11-02 22:09:57 +01:00
|
|
|
CATEGORIES= audio
|
2021-06-10 15:48:47 +02:00
|
|
|
MASTER_SITES= https://downloads.xiph.org/releases/ao/ \
|
|
|
|
https://ftp.osuosl.org/pub/xiph/releases/ao/
|
2000-11-02 22:09:57 +01:00
|
|
|
|
2001-11-03 23:22:34 +01:00
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
2003-02-21 13:52:52 +01:00
|
|
|
COMMENT= Portable audio output library
|
2000-11-02 22:09:57 +01:00
|
|
|
|
2016-06-20 17:28:13 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2021-08-29 13:49:16 +02:00
|
|
|
USES= cpe libtool pathfix pkgconfig
|
|
|
|
CPE_VENDOR= xiph
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2013-09-24 20:43:17 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-05-28 19:51:32 +02:00
|
|
|
CONFIGURE_ARGS= --enable-static \
|
2016-08-09 17:11:26 +02:00
|
|
|
--disable-alsa \
|
2019-02-25 15:32:37 +01:00
|
|
|
--disable-arts \
|
|
|
|
--disable-esd
|
2015-10-13 22:07:54 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2014-05-28 19:51:32 +02:00
|
|
|
# do not install
|
|
|
|
MAKE_ARGS= ckport_DATA=""
|
2000-11-02 22:09:57 +01:00
|
|
|
|
2019-02-25 15:32:37 +01:00
|
|
|
OPTIONS_DEFINE= DOCS NAS PULSEAUDIO SNDIO
|
2013-09-24 20:43:17 +02:00
|
|
|
OPTIONS_SUB= yes
|
2007-07-14 22:06:15 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
NAS_LIB_DEPENDS=libaudio.so:audio/nas
|
2013-09-24 20:43:17 +02:00
|
|
|
NAS_CONFIGURE_ENABLE= nas
|
2007-07-14 22:06:15 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio
|
2013-09-24 20:43:17 +02:00
|
|
|
PULSEAUDIO_CONFIGURE_ENABLE= pulse
|
2012-06-09 19:05:17 +02:00
|
|
|
|
2016-08-09 17:11:26 +02:00
|
|
|
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
|
|
|
|
SNDIO_USES= localbase
|
|
|
|
|
2007-03-09 19:14:06 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \
|
2010-06-06 22:35:49 +02:00
|
|
|
${WRKSRC}/libao.conf.5 ${WRKSRC}/include/ao/ao_private.h \
|
2007-03-09 19:14:06 +01:00
|
|
|
${WRKSRC}/doc/config.html
|
|
|
|
|
2012-06-09 19:05:17 +02:00
|
|
|
.include <bsd.port.mk>
|