Lines 2-25
Link Here
|
2 |
# $FreeBSD: head/audio/gogglesmm/Makefile 397350 2015-09-20 01:13:28Z jbeich $ |
2 |
# $FreeBSD: head/audio/gogglesmm/Makefile 397350 2015-09-20 01:13:28Z jbeich $ |
3 |
|
3 |
|
4 |
PORTNAME= gogglesmm |
4 |
PORTNAME= gogglesmm |
5 |
PORTVERSION= 0.14.2 |
5 |
PORTVERSION= 1.0.7 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= audio |
6 |
CATEGORIES= audio |
|
|
7 |
MASTER_SITES= GH |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= Music collection manager and player |
10 |
COMMENT= Music collection manager and player |
11 |
|
11 |
|
12 |
LICENSE= GPLv3 # or later |
12 |
LICENSE= GPLv3 # (or later) |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
#LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \ |
15 |
LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \ |
16 |
libdbus-1.so:${PORTSDIR}/devel/dbus \ |
|
|
17 |
libexpat.so:${PORTSDIR}/textproc/expat2 \ |
16 |
libexpat.so:${PORTSDIR}/textproc/expat2 \ |
18 |
libFOX-1.7.so:${PORTSDIR}/x11-toolkits/fox17 |
17 |
libFOX-1.7.so:${PORTSDIR}/x11-toolkits/fox17 |
19 |
|
18 |
|
20 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
21 |
|
20 |
|
22 |
USES= compiler:c++0x desktop-file-utils gmake pkgconfig |
21 |
USES= compiler:c++11-lang desktop-file-utils gmake pkgconfig |
23 |
USE_GL= glew |
22 |
USE_GL= glew |
24 |
USE_SQLITE= yes |
23 |
USE_SQLITE= yes |
25 |
HAS_CONFIGURE= yes |
24 |
HAS_CONFIGURE= yes |
Lines 27-47
Link Here
|
27 |
OPT_CFLAGS="${CXXFLAGS}" \ |
26 |
OPT_CFLAGS="${CXXFLAGS}" \ |
28 |
OPT_LDFLAGS="${LDFLAGS}" \ |
27 |
OPT_LDFLAGS="${LDFLAGS}" \ |
29 |
RESWRAP="${LOCALBASE}/bin/fox-1.7/reswrap" |
28 |
RESWRAP="${LOCALBASE}/bin/fox-1.7/reswrap" |
30 |
CONFIGURE_ARGS= --prefix=${PREFIX} --fox-prefix=${LOCALBASE} \ |
29 |
CONFIGURE_ARGS= --prefix=${PREFIX} \ |
31 |
--without-rsound --without-mpcdec |
30 |
--libdir=${PREFIX}/lib \ |
|
|
31 |
--fox-prefix=${LOCALBASE} \ |
32 |
--without-rsound |
32 |
INSTALLS_ICONS= yes |
33 |
INSTALLS_ICONS= yes |
33 |
|
34 |
|
34 |
USE_LDCONFIG= ${PREFIX}/lib/gogglesmm |
|
|
35 |
|
36 |
PORTDOCS= AUTHORS ChangeLog README |
37 |
|
38 |
CFLAGS+= -I${LOCALBASE}/include |
35 |
CFLAGS+= -I${LOCALBASE}/include |
39 |
LDFLAGS+= -L${LOCALBASE}/lib -pthread |
36 |
LDFLAGS+= -L${LOCALBASE}/lib -pthread |
40 |
|
37 |
|
41 |
OPTIONS_DEFINE= ALSA CDIO DOCS FAAD FFMPEG FLAC GCRYPT JACK \ |
38 |
OPTIONS_DEFINE= ALSA CDIO DBUS DOCS FAAD FFMPEG FLAC GCRYPT JACK \ |
42 |
MAD MMS NLS OPUS PULSEAUDIO SAMPLERATE SMB TREMOR \ |
39 |
MAD MMS NLS OPUS PULSEAUDIO SAMPLERATE SMB TREMOR \ |
43 |
VORBIS WAVPACK |
40 |
VORBIS WAVPACK |
44 |
OPTIONS_DEFAULT= CDIO FAAD FLAC MAD OPUS SAMPLERATE SMB \ |
41 |
OPTIONS_DEFAULT= CDIO DBUS FAAD FLAC MAD OPUS SAMPLERATE SMB \ |
45 |
VORBIS WAVPACK |
42 |
VORBIS WAVPACK |
46 |
OPTIONS_SUB= yes |
43 |
OPTIONS_SUB= yes |
47 |
|
44 |
|
Lines 49-56
Link Here
|
49 |
ALSA_CONFIGURE_OFF= --without-alsa |
46 |
ALSA_CONFIGURE_OFF= --without-alsa |
50 |
CDIO_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio |
47 |
CDIO_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio |
51 |
CDIO_CONFIGURE_OFF= --without-cdda |
48 |
CDIO_CONFIGURE_OFF= --without-cdda |
52 |
#DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus |
49 |
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus |
53 |
#DBUS_CONFIGURE_OFF= --without-dbus |
50 |
DBUS_CONFIGURE_OFF= --without-dbus |
54 |
FAAD_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad |
51 |
FAAD_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad |
55 |
FAAD_CONFIGURE_ON= --faad-prefix=${LOCALBASE} |
52 |
FAAD_CONFIGURE_ON= --faad-prefix=${LOCALBASE} |
56 |
FAAD_CONFIGURE_OFF= --without-faad |
53 |
FAAD_CONFIGURE_OFF= --without-faad |
Lines 72-78
Link Here
|
72 |
NLS_USES= gettext |
69 |
NLS_USES= gettext |
73 |
NLS_LIBS= -lintl |
70 |
NLS_LIBS= -lintl |
74 |
NLS_CONFIGURE_OFF= --without-nls |
71 |
NLS_CONFIGURE_OFF= --without-nls |
75 |
OPUS_DESC= Opus decoding with libopus |
|
|
76 |
OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus |
72 |
OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus |
77 |
OPUSE_CONFIGURE_OFF= --without-opus |
73 |
OPUSE_CONFIGURE_OFF= --without-opus |
78 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio |
74 |
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio |
Lines 85-91
Link Here
|
85 |
TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor |
81 |
TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor |
86 |
TREMOR_CONFIGURE_ON= --with-tremor |
82 |
TREMOR_CONFIGURE_ON= --with-tremor |
87 |
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis |
83 |
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis |
88 |
VORBIS_CONFIGURE_OFF= --without-off --without-vorbis |
84 |
VORBIS_CONFIGURE_OFF= --without-vorbis |
89 |
WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack |
85 |
WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack |
90 |
WAVPACK_CONFIGURE_OFF= --without-wavpack |
86 |
WAVPACK_CONFIGURE_OFF= --without-wavpack |
91 |
|
87 |
|
Lines 109-121
Link Here
|
109 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps |
105 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps |
110 |
|
106 |
|
111 |
post-install: |
107 |
post-install: |
112 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} |
108 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gogglesmm |
113 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gogglesmm/libgap_*.so |
109 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gogglesmm/libgap_*.so |
114 |
|
110 |
|
115 |
post-install-DOCS-on: |
111 |
post-install-DOCS-on: |
116 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
112 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
117 |
.for f in ${PORTDOCS} |
113 |
(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README \ |
118 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} |
114 |
${STAGEDIR}${DOCSDIR}) |
119 |
.endfor |
|
|
120 |
|
115 |
|
121 |
.include <bsd.port.mk> |
116 |
.include <bsd.port.mk> |