blob: af40d10b0b2816757fce0f23352c659b7ca3af0e (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/sysutils/brasero3/Makefile 18503 2013-05-27 13:37:42Z kwm $
PORTNAME= brasero
PORTVERSION= 3.6.1
CATEGORIES= sysutils audio multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= CD/DVD mastering tool for the GNOME desktop
BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \
libtotem-plparser.so:${PORTSDIR}/multimedia/totem-pl-parser \
libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3
RUN_DEPENDS= growisofs:${PORTSDIR}/sysutils/dvd+rw-tools \
cdrdao:${PORTSDIR}/sysutils/cdrdao
USES= desktop-file-utils gettext gmake pathfix pkgconfig \
shared-mime-info
USE_XZ= yes
GNU_CONFIGURE= yes
USE_XORG= sm ice
USE_GNOME= gconf2 gnomeprefix gtk30 intlhack libxml2
USE_LDCONFIG= yes
USE_GSTREAMER1= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-inotify --enable-search=no --enable-playlist=no \
--enable-introspection=yes
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_CAM_LIB_H=1
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.gnome.brasero.gschema.xml
OPTIONS_DEFINE= NAUTILUS LIBBURNIA
OPTIONS_DEFAULT=NAUTILUS
NAUTILUS_DESC= Build nautilus extension
LIBBURNIA_DESC= Build libburnia plug-ins
PLIST_SUB= FULL_VERSION=${PORTVERSION}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNAUTILUS}
USE_GNOME+= nautilus3
CONFIGURE_ARGS+=--enable-nautilus
PLIST_SUB+= NAUTILUS=""
.else
PLIST_SUB+= NAUTILUS="@comment "
CONFIGURE_ARGS+=--enable-nautilus=no
.endif
.if ${PORT_OPTIONS:MLIBBURNIA}
LIB_DEPENDS+= libburn.so:${PORTSDIR}/devel/libburn \
libisofs.so:${PORTSDIR}/devel/libisofs
CONFIGURE_ARGS+=--enable-libburnia
PLIST_SUB+= LIBBURNIA=""
.else
CONFIGURE_ARGS+=--disable-libburnia
PLIST_SUB+= LIBBURNIA="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/libbrasero-burn/burn-process.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbrasero*.so.*
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/brasero3/plugins/lib*.so
.if ${PORT_OPTIONS:MNAUTILUS}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nautilus/extensions-3.0/libnautilus-brasero-extension.so
.endif
.include <bsd.port.mk>
|