blob: fe171b7ea995224db5c611d8a36818951af994c8 (
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
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/multimedia/totem-pl-parser/Makefile 17268 2013-04-01 05:13:11Z marcus $
PORTNAME= totem-pl-parser
PORTVERSION= 3.4.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
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= gmime-2.4:${PORTSDIR}/mail/gmime24 \
soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome
RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection
USE_XZ= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix glib20 libxml2 intlhack ltverhack gnomehier
USES= gettext pathfix
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
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= QUVI "Enable flash media stream URL support" off
.include <bsd.port.options.mk>
.if defined(WITH_QUVI)
LIB_DEPENDS+= quvi.7:${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
.include <bsd.port.mk>
|