aboutsummaryrefslogtreecommitdiffstats
path: root/audio/raop_play/Makefile
blob: 5f499ec70d37f3c9343101f9b2a4d47f4eed6074 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: sumikawa
# $FreeBSD$

PORTNAME=   raop_play
PORTVERSION=    0.5.1
PORTREVISION=   10
CATEGORIES= audio
MASTER_SITES=   SF/raop-play/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Music file player for Apple Airport Express

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

DEPRECATED= Abandonware. Use module-raop-sink from audio/pulseaudio instead.
EXPIRATION_DATE=    2019-04-15

BROKEN_SSL= openssl111
BROKEN_SSL_REASON_openssl111=   bin/raop_play:No such file or directory

LIB_DEPENDS=    libsamplerate.so:audio/libsamplerate \
        libfltk.so:x11-toolkits/fltk \
        libid3tag.so:audio/libid3tag
RUN_DEPENDS=    mpg321:audio/mpg321 \
        ogg123:audio/vorbis-tools \
        faad:audio/faad \
        flac:audio/flac

GNU_CONFIGURE=  yes
CFLAGS+=    -D_WITH_GETLINE
LDFLAGS+=   `fltk-config --ldflags`
USES=       gmake ssl
USE_GNOME=  glib20

.include <bsd.port.pre.mk>

.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12=  incomplete definition of type 'struct rsa_st'
BROKEN_FreeBSD_13=  incomplete definition of type 'struct rsa_st'
.endif

post-patch:
    @${REINPLACE_CMD} 's/-lssl/-lcrypto/' \
        ${WRKSRC}/configure ${WRKSRC}/raop_play/Makefile.in

.include <bsd.port.post.mk>