diff options
author | adrianp <adrianp@pkgsrc.org> | 2005-06-04 19:01:46 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2005-06-04 19:01:46 +0000 |
commit | 831ba1aba174a76fdaa11c14e3c8742130ab460a (patch) | |
tree | c9a426448c1ccc0c0c285c25edaef72f29ada6da /sysutils/gcdmaster | |
parent | ac04443c88b68e0f5b236b6442c39b810428f8a2 (diff) | |
download | pkgsrc-831ba1aba174a76fdaa11c14e3c8742130ab460a.tar.gz |
- Merge gcdmaster and cdrdao files but keep them as separate packages
Diffstat (limited to 'sysutils/gcdmaster')
-rw-r--r-- | sysutils/gcdmaster/Makefile | 50 | ||||
-rw-r--r-- | sysutils/gcdmaster/PLIST | 5 | ||||
-rw-r--r-- | sysutils/gcdmaster/distinfo | 11 | ||||
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ab | 18 | ||||
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ac | 23 | ||||
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ad | 15 | ||||
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ae | 13 | ||||
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ag | 22 | ||||
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ah | 21 |
9 files changed, 20 insertions, 158 deletions
diff --git a/sysutils/gcdmaster/Makefile b/sysutils/gcdmaster/Makefile index 2ace9bff7e7..70e1a49508f 100644 --- a/sysutils/gcdmaster/Makefile +++ b/sysutils/gcdmaster/Makefile @@ -1,46 +1,36 @@ -# $NetBSD: Makefile,v 1.23 2005/06/04 16:43:37 adrianp Exp $ +# $NetBSD: Makefile,v 1.24 2005/06/04 19:02:07 adrianp Exp $ # -DISTNAME= cdrdao-1.2.0 -PKGNAME= gcdmaster-1.2.0 -PKGREVISION= 1 -CATEGORIES= sysutils -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cdrdao/} +.include "../../sysutils/cdrdao/Makefile.common" -MAINTAINER= david@maxwell.net -HOMEPAGE= http://cdrdao.sourceforge.net/gcdmaster/index.html -COMMENT= GUI for cdrdao with some editing capability +PKGNAME= gcdmaster-${CDRDAO_VER} +COMMENT= Gnome UI frontend to cdrdao -DEPENDS+= cdrdao-1.2.0nb1:../../sysutils/cdrdao +DEPENDS+= cdrdao-${PKGVERSION}:../../sysutils/cdrdao + +PKGDIR= ${.CURDIR}/../../sysutils/cdrdao +FILESDIR= ${PKGDIR}/files +PATCHDIR= ${PKGDIR}/patches +DISTINFO_FILE= ${PKGDIR}/distinfo +PLIST_SRC= ${PKGDIR}/PLIST.gcdmaster +WRKSRC= ${WRKDIR}/cdrdao-${CDRDAO_VER} -WRKSRC= ${WRKDIR}/cdrdao-1.2.0 USE_X11BASE= YES -GNU_CONFIGURE= YES USE_DIRS+= gnome1-1.5 -USE_TOOLS+= gmake -CONFIGURE_ARGS+= --with-pcctsbin=${LOCALBASE}/bin -CONFIGURE_ARGS+= --with-pcctsinc=${LOCALBASE}/include/pccts CONFIGURE_ARGS+= --without-posix-threads CONFIGURE_ARGS+= --with-xdao -LDFLAGS+= -L../paranoia -# override ARCH to avoid picking up a bad ${ARCH} during the build -MAKE_ENV+= ARCH="" +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xdao/gcdmaster ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xdao/gcdmaster.man \ + ${PREFIX}/man/man1/gcdmaster.1 + ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.desktop \ + ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/xdao/gcdmaster.png \ + ${PREFIX}/share/pixmaps .include "../../devel/libgnomeuimm26/buildlink3.mk" .include "../../devel/libgnomemm26/buildlink3.mk" -.include "../../audio/libvorbis/buildlink3.mk" .include "../../devel/libglade/buildlink3.mk" -.include "../../audio/libmad/buildlink3.mk" -.include "../../audio/libao/buildlink3.mk" -.include "../../devel/pccts/buildlink3.mk" .include "../../x11/gtkmm24/buildlink3.mk" - -post-configure: - cd ${WRKSRC}/scsilib/RULES ; \ - ${TEST} -f netbsd-cc.rul || ${MV} i386-netbsd-cc.rul netbsd-cc.rul; \ - ${TEST} -f netbsd-gcc.rul || ${MV} i386-netbsd-gcc.rul netbsd-gcc.rul; \ - ${LN} -sf netbsd-gcc.rul ${MACHINE}-netbsd-gcc.rul; \ - ${LN} -sf netbsd-cc.rul ${MACHINE}-netbsd-cc.rul; - .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/gcdmaster/PLIST b/sysutils/gcdmaster/PLIST deleted file mode 100644 index ff5dec7b5e4..00000000000 --- a/sysutils/gcdmaster/PLIST +++ /dev/null @@ -1,5 +0,0 @@ -@comment $NetBSD: PLIST,v 1.5 2004/07/06 20:57:45 drochner Exp $ -bin/gcdmaster -man/man1/gcdmaster.1 -share/applications/gcdmaster.desktop -share/pixmaps/gcdmaster.png diff --git a/sysutils/gcdmaster/distinfo b/sysutils/gcdmaster/distinfo deleted file mode 100644 index 5f667399243..00000000000 --- a/sysutils/gcdmaster/distinfo +++ /dev/null @@ -1,11 +0,0 @@ -$NetBSD: distinfo,v 1.5 2005/06/04 16:43:37 adrianp Exp $ - -SHA1 (cdrdao-1.2.0.tar.gz) = 0da9f0ae829dba5afe7efc34981ce4ad1dd7d210 -RMD160 (cdrdao-1.2.0.tar.gz) = 031be2ce0ed0894d1026a90f9ce62b3154849d14 -Size (cdrdao-1.2.0.tar.gz) = 2041966 bytes -SHA1 (patch-ab) = 071fedfbc598400d9d41e050aa01c5902e97caaa -SHA1 (patch-ac) = 4608827f9202ef5aed35ddda426dc7a9574bc18f -SHA1 (patch-ad) = dd79dc63180e9e0d53406b61a940de7c9fecc7be -SHA1 (patch-ae) = 84f868e768b6eb44e506972cc73ad4795b7b1aaa -SHA1 (patch-ag) = 0d9b97563e05b113354a37bab78a2f0e579f9844 -SHA1 (patch-ah) = 233ffacfe7ccecba0ac6118b18357771465a20dd diff --git a/sysutils/gcdmaster/patches/patch-ab b/sysutils/gcdmaster/patches/patch-ab deleted file mode 100644 index 485c964d209..00000000000 --- a/sysutils/gcdmaster/patches/patch-ab +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $ - -have a default scsi device which is likely to be correct (at least -on single CD systems). - ---- dao/main.cc.orig Tue Oct 26 12:13:46 1999 -+++ dao/main.cc Fri Jul 7 12:20:08 2000 -@@ -157,5 +157,9 @@ - #else - --static const char *SCSI_DEVICE = "0,0,0"; -+#if defined (__i386__) -+static const char *SCSI_DEVICE = "/dev/rcd0d"; -+#else -+static const char *SCSI_DEVICE = "/dev/rcd0c"; -+#endif /* __i386__ */ - static int FIFO_BUFFERS = 32; - diff --git a/sysutils/gcdmaster/patches/patch-ac b/sysutils/gcdmaster/patches/patch-ac deleted file mode 100644 index 30a1b106e23..00000000000 --- a/sysutils/gcdmaster/patches/patch-ac +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ac,v 1.3 2004/07/06 20:57:45 drochner Exp $ - ---- scsilib/include/btorder.h.orig 2004-02-10 00:34:00.000000000 +0100 -+++ scsilib/include/btorder.h -@@ -28,6 +28,9 @@ - #include <sys/types.h> /* try to load isa_defs.h on Solaris */ - #define _INCL_SYS_TYPES_H - #endif -+#ifdef __NetBSD__ -+#include <machine/endian.h> -+#endif - - #ifndef _MCONFIG_H - #include <mconfig.h> /* load bit/byte-oder from xmconfig.h*/ -@@ -108,7 +111,7 @@ error Only one of _BIT_FIELDS_LTOH or _ - # if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ - defined(__PPC) || defined(powerpc) || defined(__powerpc__) - --# if defined(__BIG_ENDIAN__) -+# if defined(__BIG_ENDIAN__) || BYTE_ORDER == BIG_ENDIAN - # define _BIT_FIELDS_HTOL - # else - # define _BIT_FIELDS_LTOH diff --git a/sysutils/gcdmaster/patches/patch-ad b/sysutils/gcdmaster/patches/patch-ad deleted file mode 100644 index 287b0adb7bd..00000000000 --- a/sysutils/gcdmaster/patches/patch-ad +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2004/07/06 20:57:45 drochner Exp $ - ---- Makefile.in.orig 2004-06-07 01:57:20.000000000 +0200 -+++ Makefile.in -@@ -195,8 +195,8 @@ thread_libs = @thread_libs@ - @COND_SCSILIB_TRUE@MAYBE_SCSILIB = scsilib - @COND_PCCTS_FALSE@MAYBE_PCCTS = - @COND_PCCTS_TRUE@MAYBE_PCCTS = pccts --SUBDIRS = $(MAYBE_SCSILIB) $(MAYBE_PCCTS) trackdb utils paranoia dao $(MAYBE_XDAO) --DIST_SUBDIRS = trackdb utils paranoia dao xdao -+SUBDIRS = $(MAYBE_SCSILIB) trackdb paranoia dao $(MAYBE_XDAO) -+DIST_SUBDIRS = xdao - EXTRA_DIST = \ - AUTHORS \ - ChangeLog \ diff --git a/sysutils/gcdmaster/patches/patch-ae b/sysutils/gcdmaster/patches/patch-ae deleted file mode 100644 index 838433d6c21..00000000000 --- a/sysutils/gcdmaster/patches/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ae,v 1.4 2005/06/04 16:43:37 adrianp Exp $ - ---- configure.orig 2005-06-04 15:19:02.000000000 +0100 -+++ configure -@@ -10514,7 +10514,7 @@ _ACEOF - esac - - case "$host" in -- *-linux-* | *-freebsd[456]* | *-solaris*) -+ *-linux-* | *-freebsd[456]* | *-solaris* | *-netbsd*) - sound_if_obj=SoundIF-ao.o - ;; - diff --git a/sysutils/gcdmaster/patches/patch-ag b/sysutils/gcdmaster/patches/patch-ag deleted file mode 100644 index 96b33fc71f0..00000000000 --- a/sysutils/gcdmaster/patches/patch-ag +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ag,v 1.2 2004/07/06 20:57:45 drochner Exp $ - ---- dao/Makefile.in.orig 2004-07-04 21:35:51.000000000 +0200 -+++ dao/Makefile.in -@@ -598,7 +598,7 @@ distdir: $(DISTFILES) - done - check-am: all-am - check: check-am --all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS) $(DATA) -+all-am: Makefile $(LIBRARIES) #$(PROGRAMS) $(MANS) $(DATA) - installdirs: - for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(drivertabledir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ -@@ -609,7 +609,7 @@ install-data: install-data-am - uninstall: uninstall-am - - install-am: all-am -- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+# @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - - installcheck: installcheck-am - install-strip: diff --git a/sysutils/gcdmaster/patches/patch-ah b/sysutils/gcdmaster/patches/patch-ah deleted file mode 100644 index f92d6695499..00000000000 --- a/sysutils/gcdmaster/patches/patch-ah +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ah,v 1.1 2004/07/06 20:57:45 drochner Exp $ - ---- xdao/SoundIF-solaris.cc.orig 2004-07-04 22:05:21.000000000 +0200 -+++ xdao/SoundIF-solaris.cc -@@ -42,6 +42,7 @@ - * Sound interface for Solaris. Thanks to Tobias Oetiker <oetiker@ee.ethz.ch>. - */ - -+#include <sys/types.h> - #include <sys/audioio.h> - #include <stdio.h> - #include <assert.h> -@@ -194,7 +195,7 @@ int SoundIFImpl::setupDevice() - auinf.play.sample_rate=44100; - auinf.play.channels=2; - auinf.play.precision=16; -- auinf.play.encoding=AUDIO_ENCODING_LINEAR; -+ auinf.play.encoding=AUDIO_ENCODING_SLINEAR_BE; - - if (ioctl(dspFd_, AUDIO_SETINFO, &auinf) < 0) { - message(-1, _("Cannot setup audio interface: %s"), strerror(errno)); |