blob: f71d86788dc4568a0bb66e542f6d67e513623448 (
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
48
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports-experimental/trunk/multimedia/totem-pl-parser/Makefile 19273 2014-03-24 15:09:18Z gusi $
PORTNAME= totem-pl-parser
PORTVERSION= 3.10.2
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GObject-based library to parse a host of playlist formats
LIB_DEPENDS= libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
USES= gettext gmake libtool:keepla pathfix pkgconfig tar:xz
USE_GNOME= glib20 gnomehier gnomeprefix intlhack introspection:build \
libxml2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-libarchive
CONFIGURE_ENV= ARCHIVE_CFLAGS="-I/usr/include" \
ARCHIVE_LIBS="-L/usr/lib -larchive"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= QUVI
OPTIONS_DEFAULT=QUVI
QUVI_DESC= Flash media stream URL support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQUVI}
LIB_DEPENDS+= libquvi-0.9.so:${PORTSDIR}/multimedia/libquvi
CONFIGURE_ARGS+=--enable-quvi
.else
CONFIGURE_ARGS+=--enable-quvi=no
.endif
post-patch:
@${REINPLACE_CMD} -e 's|pkg_modules libarchive"|pkg_modules"|g' \
${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtotem-plparser*.so.18
.include <bsd.port.mk>
|