mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
4acc6fb2a4
GNOME 2.20 release notes can be found at http://www.gnome.org/start/2.20/notes/en/ . Beyond that, this update includes the new GIMP 2.4 (courtesy of ahze). The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME hierarchy. We are now using the more standard DATADIR of ${PREFIX}/share rather than ${PREFIX}/share/gnome. The result is that fewer patches and hacks are needed to port GNOME components to FreeBSD. This will mean some user changes may be required, so be sure to read /usr/ports/UPDATING for more details. This release and the things we accomplished in it would not have been possible without mezz's crazy idea to collapse DATADIR, and his persistence to make it happen successfully. Ahze and pav also deserve thanks for their work on porting modules and testing the whole ball of wax on pointyhat (respectively). The FreeBSD GNOME team would also like to thank our various testers and contributors: Yasuda Keisuke Frank Jahnke Pawel Worach Brian Gruber Franz Klammer Yuri Pankov Nick Barkas Cristian KLEIN Tony Maher Scot Hetzel Martin Matuska (mm) Benoit Dejean Martin Wilke (miwi) (And anyone else I may have missed) PRs fixed in this release: 111272, 113470, 115995, 116338
116 lines
3.3 KiB
Makefile
116 lines
3.3 KiB
Makefile
# New ports collection makefile for: grip
|
|
# Date created: 31 May 2000
|
|
# Whom: kbyanc@posi.net
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/audio/grip/Makefile,v 1.4 2007/05/19 21:35:57 marcus Exp $
|
|
|
|
PORTNAME= grip
|
|
PORTVERSION= 3.2.0
|
|
PORTREVISION= 15
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= GTK front-end to external cd rippers and audio encoders
|
|
|
|
LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
|
|
curl.4:${PORTSDIR}/ftp/curl
|
|
PATCH_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
|
|
|
|
USE_XLIB= yes
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui vte
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
OPTIONS= CDPARANOIA "Ripper: Enable cdparanoia support" on \
|
|
CDDA2WAV "Ripper: cdda2wav: Install sysutils/cdrtools" off
|
|
.if defined(PACKAGE_BUILDING)
|
|
OPTIONS+= LAME "Encoder: lame: Install audio/lame" off \
|
|
VORBIS "Encoder: oggenc: Install audio/vorbis-tools" on
|
|
.else
|
|
OPTIONS+= LAME "Encoder: lame: Install audio/lame" on \
|
|
VORBIS "Encoder: oggenc: Install audio/vorbis-tools" off
|
|
.endif
|
|
OPTIONS+= BLADEENC "Encoder: bladeenc: Install audio/bladeenc" off \
|
|
FAAC "Encoder: faac: Install audio/faac" off \
|
|
FLAC "Encoder: flac: Install audio/flac" off \
|
|
GOGO "Encoder: gogo: Install audio/gogo" off
|
|
|
|
ISO_LOCALES= de es fr pt_BR
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_CDROM_DEVICE)
|
|
DEFAULT_CDROM_DEVICE=${WITH_CDROM_DEVICE}
|
|
.else
|
|
DEFAULT_CDROM_DEVICE=/dev/acd0
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_CDPARANOIA)
|
|
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
|
|
CONFIGURE_ARGS+= --enable-cdpar
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-cdpar
|
|
.endif
|
|
|
|
.if defined(WITH_CDDA2WAV)
|
|
USE_CDRTOOLS= yes
|
|
.endif
|
|
|
|
.if defined(WITH_BLADEENC)
|
|
RUN_DEPENDS+= bladeenc:${PORTSDIR}/audio/bladeenc
|
|
.endif
|
|
|
|
.if defined(WITH_FAAC)
|
|
RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac
|
|
.endif
|
|
|
|
.if defined(WITH_FLAC)
|
|
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
|
|
.endif
|
|
|
|
.if defined(WITH_GOGO)
|
|
RUN_DEPENDS+= gogo:${PORTSDIR}/audio/gogo
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_LAME)
|
|
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
|
|
.endif
|
|
|
|
.if defined(WITH_BLADEENC)
|
|
RUN_DEPENDS+= bladeenc:${PORTSDIR}/audio/bladeenc
|
|
.endif
|
|
|
|
.if defined(WITH_VORBIS)
|
|
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
|
|
.endif
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_CDROM_DEVICE)
|
|
@${ECHO_MSG} "===> The default CDROM device is ${DEFAULT_CDROM_DEVICE}"
|
|
@${ECHO_MSG} "===> Define WITH_CDROM_DEVICE if you want to change the default"
|
|
@${ECHO_MSG} "===> For example, 'make WITH_CDROM_DEVICE=\"/dev/somedevice\"'"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
|
|
${WRKSRC}/src/grip.c
|
|
@${REINPLACE_CMD} -e 's|{"xingmp3enc","-B %b -Q %w","mp3"},||; \
|
|
s|{"l3enc","-br %b %w %m","mp3"},|{"faac","--no-midside -w -q 100 --artist %a --album %d --track %t --title %n --year %y --genre %g -b %b %w -o %m", "m4a"},|' \
|
|
${WRKSRC}/src/gripcfg.c
|
|
.for l in ${ISO_LOCALES}
|
|
@${MV} ${WRKSRC}/po/${l}.po ${WRKSRC}/po/_${l}.po
|
|
${LOCALBASE}/bin/iconv -f ISO-8859-15 -t UTF-8 \
|
|
${WRKSRC}/po/_${l}.po > ${WRKSRC}/po/${l}.po
|
|
.endfor
|
|
@${MV} ${WRKSRC}/po/ru.po ${WRKSRC}/po/_ru.po
|
|
${LOCALBASE}/bin/iconv -f koi8-r -t UTF-8 \
|
|
${WRKSRC}/po/_ru.po > ${WRKSRC}/po/ru.po
|
|
|
|
.include <bsd.port.post.mk>
|