2013-02-18 09:30:25 +01:00
|
|
|
# Created by: Zastupov Stepan [RedChrom] <redchrom@mail.ru>
|
2006-01-04 23:40:12 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= audacious
|
2017-01-30 20:16:02 +01:00
|
|
|
PORTVERSION= 3.8.2
|
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
2017-09-10 22:55:38 +02:00
|
|
|
PORTREVISION= 2
|
2006-01-04 23:40:12 +01:00
|
|
|
CATEGORIES= multimedia audio
|
2012-05-06 20:12:11 +02:00
|
|
|
MASTER_SITES= http://distfiles.audacious-media-player.org/
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2017-03-19 15:02:23 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2016-09-22 14:38:57 +02:00
|
|
|
COMMENT= Lightweight and versatile audio player
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2014-03-25 17:27:33 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2016-09-22 14:38:57 +02:00
|
|
|
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
|
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
|
|
|
|
CONFLICTS_INSTALL= audacious-gtk3-3.*
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2015-11-16 18:19:35 +01:00
|
|
|
USES= compiler:c++11-lib desktop-file-utils gettext-tools gmake \
|
2016-09-22 14:38:57 +02:00
|
|
|
localbase pkgconfig tar:bzip2
|
2008-04-20 19:49:34 +02:00
|
|
|
USE_XORG= x11 sm
|
2016-09-22 14:38:57 +02:00
|
|
|
USE_GNOME= gtk20 glib20 cairo
|
2006-08-07 13:32:33 +02:00
|
|
|
USE_LDCONFIG= yes
|
2015-11-16 18:19:35 +01:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
2016-09-22 14:38:57 +02:00
|
|
|
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
|
|
|
|
--enable-gtk \
|
|
|
|
--without-buildstamp
|
2015-11-16 18:19:35 +01:00
|
|
|
|
2016-09-22 14:38:57 +02:00
|
|
|
OPTIONS_DEFINE= ICONV NLS EXECINFO
|
|
|
|
OPTIONS_DEFAULT=ICONV EXECINFO
|
2015-11-16 18:19:35 +01:00
|
|
|
ICONV_USES= iconv
|
|
|
|
NLS_USES= gettext-runtime
|
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
|
|
NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile
|
|
|
|
OPTIONS_SUB= yes
|
2014-03-25 17:27:33 +01:00
|
|
|
EXECINFO_DESC= Build with libexecinfo support
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2012-12-18 16:55:50 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2007-03-03 17:40:18 +01:00
|
|
|
post-patch:
|
2017-09-22 12:48:57 +02:00
|
|
|
.if ${PORT_OPTIONS:MEXECINFO}
|
|
|
|
@${REINPLACE_CMD} 's|-lm |-lm -lexecinfo |' \
|
2008-02-28 06:41:17 +01:00
|
|
|
${WRKSRC}/src/audacious/Makefile
|
2017-09-22 12:48:57 +02:00
|
|
|
@${REINPLACE_CMD} 's|-laudcore|-laudcore -lexecinfo|' \
|
2011-01-20 10:29:24 +01:00
|
|
|
${WRKSRC}/audacious.pc.in
|
2008-02-28 06:41:17 +01:00
|
|
|
.endif
|
2016-09-22 14:38:57 +02:00
|
|
|
${REINPLACE_CMD} -e 's| $${MFLAGS}||g' \
|
|
|
|
${WRKSRC}/buildsys.mk.in
|
2006-01-04 23:40:12 +01:00
|
|
|
|
|
|
|
post-install:
|
2015-11-16 18:19:35 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aud*
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2012-12-18 16:55:50 +01:00
|
|
|
.include <bsd.port.mk>
|