diff options
author | ahze <ahze@FreeBSD.org> | 2005-06-08 01:16:43 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-06-08 01:16:43 +0800 |
commit | 94eea46d9a5bbef28967b6a8350ec66bb139dbe5 (patch) | |
tree | 14355304c002bcefa14f6dd2fcbc6e3bd1a63c1c | |
parent | 2b1735fc572b4b6ec78db589e610b730d7f6e929 (diff) | |
download | freebsd-ports-graphics-94eea46d9a5bbef28967b6a8350ec66bb139dbe5.tar.gz freebsd-ports-graphics-94eea46d9a5bbef28967b6a8350ec66bb139dbe5.tar.zst freebsd-ports-graphics-94eea46d9a5bbef28967b6a8350ec66bb139dbe5.zip |
- Update to 0.2.36
- Add new knob, WITH_ARTS, this enables arts backend (weird...)
-rw-r--r-- | audio/esound/Makefile | 31 | ||||
-rw-r--r-- | audio/esound/distinfo | 6 |
2 files changed, 32 insertions, 5 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile index 36f660dd667..4c1e6395dac 100644 --- a/audio/esound/Makefile +++ b/audio/esound/Makefile @@ -6,18 +6,25 @@ # PORTNAME= esound -PORTVERSION= 0.2.35 -PORTREVISION= 2 +PORTVERSION= 0.2.36 CATEGORIES= audio -MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITES= ${MASTER_SITE_GNOME} \ + http://cvs.gnome.org/viewcvs/esound/:arts MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2 +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} +.if defined(WITH_ARTS) +DISTFILES+= ${ARTS_FILE}:arts +.endif DIST_SUBDIR= gnome +EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= gnome@FreeBSD.org COMMENT= A sound library for enlightenment package LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile +ARTS_FILE= audio_arts.c?rev=1.1 + USE_BZIP2= yes USE_GNOME= gnometarget gnomehack USE_REINPLACE= yes @@ -30,7 +37,25 @@ CONFLICTS= py*-ro-[0-9]* MAN1= esd-config.1 esd.1 esdcat.1 esdctl.1 esddsp.1 esdfilt.1 esdloop.1 \ esdmon.1 esdplay.1 esdrec.1 esdsample.1 +.if defined(WITH_ARTS) +LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts + +CONFIGURE_ARGS+=--enable-arts +.else +CONFIGURE_ARGS+=--disable-arts +.endif + +pre-everything:: +.if !defined(WITH_ARTS) + @${ECHO_MSG} "You can enable audio/arts backend by defining" + @${ECHO_MSG} "WITH_ARTS" + @${ECHO_MSG} "" +.endif + post-patch: +.if defined(WITH_ARTS) + @${CP} ${_DISTDIR}/${ARTS_FILE} ${WRKSRC}/audio_arts.c +.endif @${REINPLACE_CMD} -e 's|esdconf_DATA = esd.conf|esdconf_DATA = |g' \ ${WRKSRC}/Makefile.in diff --git a/audio/esound/distinfo b/audio/esound/distinfo index e3f39431792..8a75d79bd47 100644 --- a/audio/esound/distinfo +++ b/audio/esound/distinfo @@ -1,2 +1,4 @@ -MD5 (gnome/esound-0.2.35.tar.bz2) = 1566344f80a8909b5e6e4d6b6520c2c1 -SIZE (gnome/esound-0.2.35.tar.bz2) = 384641 +MD5 (gnome/esound-0.2.36.tar.bz2) = 3facb5aa0115cc1c31771b9ad454ae76 +SIZE (gnome/esound-0.2.36.tar.bz2) = 369952 +MD5 (gnome/audio_arts.c?rev=1.1) = c4f0e0214b59bfc282ce67450d4d8669 +SIZE (gnome/audio_arts.c?rev=1.1) = 4089 |