1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Update to upstream version 1.0.7, fix vorbis decoder handling

PR:		203240
Submitted by:	tkato432@yahoo.com
Reviewed by:	riggs
This commit is contained in:
Thomas Zander 2015-10-04 17:26:21 +00:00
parent c5cb1c2b70
commit eb1fc8194e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398584
3 changed files with 24 additions and 24 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gogglesmm
PORTVERSION= 0.14.2
PORTREVISION= 1
PORTVERSION= 1.0.7
CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
@ -13,13 +12,12 @@ LICENSE= GPLv3 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \
libdbus-1.so:${PORTSDIR}/devel/dbus \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libFOX-1.7.so:${PORTSDIR}/x11-toolkits/fox17
USE_GITHUB= yes
USES= compiler:c++0x desktop-file-utils gmake pkgconfig
USES= compiler:c++11-lang desktop-file-utils gmake pkgconfig
USE_GL= glew
USE_SQLITE= yes
HAS_CONFIGURE= yes
@ -27,30 +25,31 @@ CONFIGURE_ENV= LINK="${CXX}" \
OPT_CFLAGS="${CXXFLAGS}" \
OPT_LDFLAGS="${LDFLAGS}" \
RESWRAP="${LOCALBASE}/bin/fox-1.7/reswrap"
CONFIGURE_ARGS= --prefix=${PREFIX} --fox-prefix=${LOCALBASE} \
--without-rsound --without-mpcdec
CONFIGURE_ARGS= --prefix=${PREFIX} \
--libdir=${PREFIX}/lib \
--fox-prefix=${LOCALBASE} \
--without-rsound
INSTALLS_ICONS= yes
USE_LDCONFIG= ${PREFIX}/lib/gogglesmm
PORTDOCS= AUTHORS ChangeLog README
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
OPTIONS_DEFINE= ALSA CDIO DOCS FAAD FFMPEG FLAC GCRYPT JACK \
MAD MMS NLS OPUS PULSEAUDIO SAMPLERATE SMB TREMOR \
VORBIS WAVPACK
OPTIONS_DEFAULT= CDIO FAAD FLAC MAD OPUS SAMPLERATE SMB \
OPTIONS_DEFINE= ALSA CDIO DBUS DOCS FAAD FFMPEG FLAC GCRYPT JACK \
MAD MMS NLS OPUS PULSEAUDIO SAMPLERATE SMB WAVPACK
OPTIONS_RADIO= VORBISDEC
OPTIONS_RADIO_VORBISDEC= TREMOR VORBIS
OPTIONS_DEFAULT= CDIO DBUS FAAD FLAC MAD OPUS SAMPLERATE SMB \
VORBIS WAVPACK
OPTIONS_SUB= yes
VORBISDEC_DESC= Vorbis decoder library
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
ALSA_CONFIGURE_OFF= --without-alsa
CDIO_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio
CDIO_CONFIGURE_OFF= --without-cdda
#DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
#DBUS_CONFIGURE_OFF= --without-dbus
DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus
DBUS_CONFIGURE_OFF= --without-dbus
FAAD_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad
FAAD_CONFIGURE_ON= --faad-prefix=${LOCALBASE}
FAAD_CONFIGURE_OFF= --without-faad
@ -72,7 +71,6 @@ MMS_CONFIGURE_OFF= --without-mms
NLS_USES= gettext
NLS_LIBS= -lintl
NLS_CONFIGURE_OFF= --without-nls
OPUS_DESC= Opus decoding with libopus
OPUS_LIB_DEPENDS= libopus.so:${PORTSDIR}/audio/opus
OPUSE_CONFIGURE_OFF= --without-opus
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
@ -85,7 +83,7 @@ SMB_CONFIGURE_OFF= --without-smb
TREMOR_LIB_DEPENDS= libvorbisidec.so:${PORTSDIR}/audio/libtremor
TREMOR_CONFIGURE_ON= --with-tremor
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_OFF= --without-off --without-vorbis
VORBIS_CONFIGURE_OFF= --without-vorbis
WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack
WAVPACK_CONFIGURE_OFF= --without-wavpack
@ -109,13 +107,12 @@ pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gogglesmm
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gogglesmm/libgap_*.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gogglesmm-gogglesmm-0.14.2_GH0.tar.gz) = c074143c18494771e8dc38bdd5ee70f00579247bb8f683f8d5319797aa9cc858
SIZE (gogglesmm-gogglesmm-0.14.2_GH0.tar.gz) = 1354458
SHA256 (gogglesmm-gogglesmm-1.0.7_GH0.tar.gz) = 911ab3e3431ba8022b8ae1c0a7b7867a991c73705d50876b408103a9e5ffa96b
SIZE (gogglesmm-gogglesmm-1.0.7_GH0.tar.gz) = 1380326

View File

@ -6,6 +6,9 @@ lib/gogglesmm/libgap_wav.so
man/man1/gogglesmm.1.gz
share/appdata/gogglesmm.appdata.xml
share/applications/gogglesmm.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%DATADIR%%/utils/import_banshee_stats.py
%%DATADIR%%/utils/import_gogglesmm12.py
%%DATADIR%%/utils/import_gogglesmm12_stats.py