ports/97452: maintainer-update: update audio/libadplug to 2.0

Emanuel Haupt ehaupt at FreeBSD.org
Thu May 18 11:40:28 UTC 2006


>Number:         97452
>Category:       ports
>Synopsis:       maintainer-update: update audio/libadplug to 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 18 11:40:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
Update audio/libadplug to 2.0

TODO:
- adapt audio/ocp first

>How-To-Repeat:
	
>Fix:

	

--- libadplug.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/libadplug/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	23 Feb 2006 10:34:32 -0000	1.8
+++ Makefile	18 May 2006 11:25:35 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libadplug
-PORTVERSION=	1.5.1
-PORTREVISION=	3
+PORTVERSION=	2.0
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	adplug
@@ -19,8 +18,9 @@
 LIB_DEPENDS=	binio.1:${PORTSDIR}/devel/libbinio
 
 INSTALLS_SHLIB=	yes
-GNU_CONFIGURE=  yes
+GNU_CONFIGURE=	yes
 USE_GCC=	3.4+
+USE_GNOME=	pkgconfig
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -30,26 +30,12 @@
 		CPPFLAGS="${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}"
 
+INFO=		libadplug
 MAN1=		adplugdb.1
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|\(binio\.h\)|libbinio/\1|' \
-		${WRKSRC}/src/database.cpp \
-		${WRKSRC}/src/database.h \
-		${WRKSRC}/src/fprovide.cpp \
-		${WRKSRC}/src/fprovide.h
-	@${REINPLACE_CMD} -e 's|\(binfile\.h\)|libbinio/\1|' \
-		${WRKSRC}/adplugdb/adplugdb.cpp \
-		${WRKSRC}/src/adplug.cpp \
-		${WRKSRC}/src/database.cpp \
-		${WRKSRC}/src/fprovide.cpp
-	@${REINPLACE_CMD} -e 's|\(binstr\.h\)|libbinio/\1|' \
-		${WRKSRC}/src/dmo.cpp
-	@${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src adplugdb test|' \
-		${WRKSRC}/Makefile.in
-
-post-install:
-	${MKDIR} ${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/adplugdb.1 ${MANPREFIX}/man/man1
+	@${REINPLACE_CMD} -e 's|^\(pkgconfigdir\ =.*\)|\1 $$(prefix)/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.in \
+		${WRKSRC}/Makefile.am
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/audio/libadplug/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	30 Nov 2005 14:00:56 -0000	1.3
+++ distinfo	18 May 2006 11:25:35 -0000
@@ -1,3 +1,3 @@
-MD5 (adplug-1.5.1.tar.gz) = 9c97fbc3a122f059b5c86206ddd9b6e9
-SHA256 (adplug-1.5.1.tar.gz) = 1f64b40c0d73c5a8f1d6fb3c7e727465f737e100c92ad9811409dbe695e4d856
-SIZE (adplug-1.5.1.tar.gz) = 955980
+MD5 (adplug-2.0.tar.gz) = 06869885099dcc79765ffb1ab5d31207
+SHA256 (adplug-2.0.tar.gz) = 8e0f8fef212384532f95f8557eb6482fac7db2faa5fdc232e3a8336ec06f2546
+SIZE (adplug-2.0.tar.gz) = 966816
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/audio/libadplug/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	22 Sep 2005 12:49:18 -0000	1.2
+++ pkg-descr	18 May 2006 11:25:35 -0000
@@ -4,9 +4,4 @@
 from its original format on top of an OPL2 emulator or by using the real
 hardware. No OPL chip is required for playback.
 
-AdPlug itself is just the backend to many different audio player frontends,
-which are also being developed here. There are plugins for popular audio
-players, like Winamp and XMMS, as well as stand-alone players for many
-different systems available.
-
 WWW: http://adplug.sourceforge.net/
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/audio/libadplug/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	23 Feb 2006 10:34:32 -0000	1.3
+++ pkg-plist	18 May 2006 11:25:35 -0000
@@ -1,55 +1,60 @@
 bin/adplugdb
-include/adplug/a2m.h
-include/adplug/adlibemu.h
 include/adplug/adplug.h
-include/adplug/adtrack.h
+include/adplug/emuopl.h
+include/adplug/fmopl.h
+include/adplug/silentopl.h
+include/adplug/opl.h
+include/adplug/diskopl.h
+include/adplug/a2m.h
 include/adplug/amd.h
 include/adplug/bam.h
-include/adplug/bmf.h
-include/adplug/cff.h
 include/adplug/d00.h
-include/adplug/database.h
 include/adplug/dfm.h
-include/adplug/diskopl.h
-include/adplug/dmo.h
-include/adplug/dro.h
-include/adplug/dtm.h
-include/adplug/emuopl.h
-include/adplug/flash.h
-include/adplug/fmc.h
-include/adplug/fmopl.h
-include/adplug/fprovide.h
 include/adplug/hsc.h
 include/adplug/hsp.h
-include/adplug/hybrid.h
-include/adplug/hyp.h
 include/adplug/imf.h
-include/adplug/kemuopl.h
 include/adplug/ksm.h
 include/adplug/lds.h
-include/adplug/mad.h
 include/adplug/mid.h
 include/adplug/mkj.h
 include/adplug/mtk.h
-include/adplug/opl.h
-include/adplug/player.h
-include/adplug/players.h
 include/adplug/protrack.h
-include/adplug/psi.h
 include/adplug/rad.h
-include/adplug/rat.h
 include/adplug/raw.h
-include/adplug/rol.h
 include/adplug/s3m.h
 include/adplug/sa2.h
-include/adplug/silentopl.h
 include/adplug/sng.h
 include/adplug/u6m.h
+include/adplug/player.h
+include/adplug/fmc.h
+include/adplug/mad.h
 include/adplug/xad.h
+include/adplug/bmf.h
+include/adplug/flash.h
+include/adplug/hyp.h
+include/adplug/psi.h
+include/adplug/rat.h
+include/adplug/hybrid.h
+include/adplug/rol.h
+include/adplug/adtrack.h
+include/adplug/cff.h
+include/adplug/dtm.h
+include/adplug/dmo.h
+include/adplug/fprovide.h
+include/adplug/database.h
+include/adplug/players.h
 include/adplug/xsm.h
-lib/libadplug-1.5.1.so
-lib/libadplug-1.5.1.so.0
-lib/libadplug.a
-lib/libadplug.la
+include/adplug/adlibemu.h
+include/adplug/kemuopl.h
+include/adplug/dro.h
+include/adplug/realopl.h
+include/adplug/analopl.h
+include/adplug/temuopl.h
+include/adplug/msc.h
+include/adplug/rix.h
+lib/libadplug-2.0.so.0
+lib/libadplug-2.0.so
 lib/libadplug.so
+lib/libadplug.la
+lib/libadplug.a
 @dirrm include/adplug
--- libadplug.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list