aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kdemultimedia3
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-24 21:08:14 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-24 21:08:14 +0800
commit56ab56f3123ef127873ca067df05f9a85c74902b (patch)
treee7746c4f6d16a41ff4c68e0352be6b9f055de5dc /multimedia/kdemultimedia3
parentdaa1b06b82eb762f09fa7e7c2cc1ae41ad6cfa1d (diff)
downloadfreebsd-ports-gnome-56ab56f3123ef127873ca067df05f9a85c74902b.tar.gz
freebsd-ports-gnome-56ab56f3123ef127873ca067df05f9a85c74902b.tar.zst
freebsd-ports-gnome-56ab56f3123ef127873ca067df05f9a85c74902b.zip
- Enable kscd. That means it can run on FreeBSD :)
- Add BUILD_DEPENDS - Fix pkg-plist
Diffstat (limited to 'multimedia/kdemultimedia3')
-rw-r--r--multimedia/kdemultimedia3/Makefile16
-rw-r--r--multimedia/kdemultimedia3/files/patch-config.h27
-rw-r--r--multimedia/kdemultimedia3/files/patch-configure11
-rw-r--r--multimedia/kdemultimedia3/pkg-plist80
4 files changed, 126 insertions, 8 deletions
diff --git a/multimedia/kdemultimedia3/Makefile b/multimedia/kdemultimedia3/Makefile
index 45aad0fbe027..aa7c91ef0f1e 100644
--- a/multimedia/kdemultimedia3/Makefile
+++ b/multimedia/kdemultimedia3/Makefile
@@ -7,12 +7,14 @@
PORTNAME= kdemultimedia
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/distribution/tar/generic/src
MAINTAINER= kevlo@FreeBSD.org
+BUILD_DEPENDS= xanim:${PORTSDIR}/graphics/xanim
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
kdecore.4:${PORTSDIR}/x11/kdelibs2
@@ -30,4 +32,18 @@ CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
USER_LDFLAGS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lstdc++ -lgcc"
USE_GMAKE= yes
+post-install:
+ @${ECHO_MSG}
+ @${ECHO_MSG} "To run kscd program, as root, please run"
+ @${ECHO_MSG}
+ @${ECHO_MSG} " % ${LN} -sf <cdrom_device> /dev/cdrom"
+ @${ECHO_MSG} " % ${CHMOD} 666 <cdrom_device>"
+ @${ECHO_MSG}
+ @${ECHO_MSG} "to link and give permission to access the CD-ROM device."
+ @${ECHO_MSG}
+ @${ECHO_MSG} "For example(IDE CD-ROM device):"
+ @${ECHO_MSG} " % ${LN} -sf /dev/racd0c /dev/cdrom"
+ @${ECHO_MSG} " % ${CHMOD} 666 /dev/racd0c"
+ @${ECHO_MSG}
+
.include <bsd.port.mk>
diff --git a/multimedia/kdemultimedia3/files/patch-config.h b/multimedia/kdemultimedia3/files/patch-config.h
new file mode 100644
index 000000000000..7b42d6c56fb0
--- /dev/null
+++ b/multimedia/kdemultimedia3/files/patch-config.h
@@ -0,0 +1,27 @@
+--- kscd/config.h.orig Wed Aug 23 14:16:23 2000
++++ kscd/config.h Fri Nov 24 20:11:35 2000
+@@ -4,22 +4,8 @@
+ config.h.std in the source directory of the kscd distribution
+ and rename it to config.h .*/
+
+-#ifdef __linux__
++#if defined(__FreeBSD__)
+
+-#ifndef DEFAULT_CD_DEVICE
+- #define DEFAULT_CD_DEVICE "/dev/cdrom"
+-#endif
+-
+-#ifndef LINUX_SCSI_PASSTHROUGH
+- #define LINUX_SCSI_PASSTHROUGH
+-#endif
++#define DEFAULT_CD_DEVICE "/dev/cdrom"
+
+-#ifndef MIN_VOLUME
+- #define MIN_VOLUME 0
+ #endif
+-
+-#ifndef MAX_VOLUME
+- #define MAX_VOLUME 255
+-#endif
+-
+-#endif /* linux */
diff --git a/multimedia/kdemultimedia3/files/patch-configure b/multimedia/kdemultimedia3/files/patch-configure
new file mode 100644
index 000000000000..186218d3f575
--- /dev/null
+++ b/multimedia/kdemultimedia3/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Fri Nov 24 09:18:04 2000
++++ configure Fri Nov 24 09:18:44 2000
+@@ -10913,7 +10913,7 @@
+ echo "configure:10914: checking if kscd can be compiled" >&5
+ case "$host" in
+ *-*-linux*) kscd_compile=yes;;
+- *-*-*bsd*) kscd_compile=no;;
++ *-*-*bsd*) kscd_compile=yes;;
+ *) kscd_compile=yes;;
+ esac
+ echo "$ac_t""$kscd_compile" 1>&6
diff --git a/multimedia/kdemultimedia3/pkg-plist b/multimedia/kdemultimedia3/pkg-plist
index e431fa241496..ff5bbf615d25 100644
--- a/multimedia/kdemultimedia3/pkg-plist
+++ b/multimedia/kdemultimedia3/pkg-plist
@@ -6,9 +6,11 @@ bin/kmid
bin/kmidi
bin/kmix
bin/kmixctrl
+bin/kscd
bin/midisend
bin/sf2cfg
bin/timidity
+bin/workman2cddb.pl
lib/Arts/StructureBuilder.mcopclass
lib/Arts/StructureDesc.mcopclass
lib/Arts/Synth_ENVELOPE_ADSR.mcopclass
@@ -40,6 +42,7 @@ share/applnk/Multimedia/kaiman.desktop
share/applnk/Multimedia/kmid.desktop
share/applnk/Multimedia/kmidi.desktop
share/applnk/Multimedia/kmix.desktop
+share/applnk/Multimedia/kscd.desktop
share/applnk/Multimedia/timidity.desktop
share/applnk/Settings/Sound/kmix.desktop
share/apps/aktion/aktion_part.rc
@@ -201,6 +204,49 @@ share/apps/kmidi/Jarre-Chung_Kuo.mid
share/apps/kmidi/Malaguena.mid
share/apps/kmidi/Mission_Impossible.mid
share/apps/kmidi/Take_The_A_Train-Seq_by_Dianne_Lewandowski.mid
+share/apps/kmidi/config/BITMAPS/arrow.xbm
+share/apps/kmidi/config/BITMAPS/back.xbm
+share/apps/kmidi/config/BITMAPS/check.xbm
+share/apps/kmidi/config/BITMAPS/fwd.xbm
+share/apps/kmidi/config/BITMAPS/fwrd.xbm
+share/apps/kmidi/config/BITMAPS/next.xbm
+share/apps/kmidi/config/BITMAPS/off.xbm
+share/apps/kmidi/config/BITMAPS/on.xbm
+share/apps/kmidi/config/BITMAPS/pause.xbm
+share/apps/kmidi/config/BITMAPS/play.xbm
+share/apps/kmidi/config/BITMAPS/prev.xbm
+share/apps/kmidi/config/BITMAPS/quit.xbm
+share/apps/kmidi/config/BITMAPS/restart.xbm
+share/apps/kmidi/config/BITMAPS/stop.xbm
+share/apps/kmidi/config/BITMAPS/tback.xbm
+share/apps/kmidi/config/BITMAPS/timidity.xbm
+share/apps/kmidi/config/BITMAPS/tnext.xbm
+share/apps/kmidi/config/BITMAPS/tpause.xbm
+share/apps/kmidi/config/BITMAPS/tprev.xbm
+share/apps/kmidi/config/BITMAPS/tquit.xbm
+share/apps/kmidi/config/chaos12-voices
+share/apps/kmidi/config/chaos8-voices
+share/apps/kmidi/config/drums
+share/apps/kmidi/config/gravis.cfg
+share/apps/kmidi/config/gsdrum.cfg
+share/apps/kmidi/config/guitar
+share/apps/kmidi/config/megadrum
+share/apps/kmidi/config/megainst
+share/apps/kmidi/config/midia.cfg
+share/apps/kmidi/config/mt32.cfg
+share/apps/kmidi/config/patch/acbass.pat
+share/apps/kmidi/config/patch/cymride1.pat
+share/apps/kmidi/config/patch/hihatcl.pat
+share/apps/kmidi/config/patch/kick1.pat
+share/apps/kmidi/config/patch/kick2.pat
+share/apps/kmidi/config/patch/nylongt2.pat
+share/apps/kmidi/config/patch/sologrnd.pat
+share/apps/kmidi/config/piano
+share/apps/kmidi/config/piano+guitar
+share/apps/kmidi/config/pila-voices
+share/apps/kmidi/config/sound-canvas-drums
+share/apps/kmidi/config/timidity.cfg
+share/apps/kmidi/config/wowpats.cfg
share/apps/kmidi/georgia.mid
share/apps/kmidi/mpostman.mid
share/apps/kmidi/pics/kmidilogo.png
@@ -219,6 +265,8 @@ share/apps/kmix/pics/mix_treble.png
share/apps/kmix/pics/mix_unknown.png
share/apps/kmix/pics/mix_video.png
share/apps/kmix/pics/mix_volume.png
+share/apps/kscd/pics/cdsmall.xpm
+share/apps/kscd/pics/kscdlogo.xpm
share/config/aktionrc
share/doc/HTML/en/artsbuilder/.anchors
share/doc/HTML/en/artsbuilder/index.docbook
@@ -337,46 +385,62 @@ share/icons/hicolor/32x32/apps/kaiman.png
share/icons/hicolor/32x32/apps/kmid.png
share/icons/hicolor/32x32/apps/kmidi.png
share/icons/hicolor/32x32/apps/kmix.png
+share/icons/hicolor/32x32/apps/kscd.png
share/icons/hicolor/48x48/apps/kaiman.png
share/icons/hicolor/48x48/apps/kmid.png
share/icons/hicolor/48x48/apps/kmidi.png
share/icons/hicolor/48x48/apps/kmix.png
+share/icons/hicolor/48x48/apps/kscd.png
share/icons/locolor/16x16/apps/aktion.png
share/icons/locolor/16x16/apps/kaiman.png
share/icons/locolor/16x16/apps/kmid.png
share/icons/locolor/16x16/apps/kmidi.png
share/icons/locolor/16x16/apps/kmix.png
+share/icons/locolor/16x16/apps/kscd.png
share/icons/locolor/32x32/apps/aktion.png
share/icons/locolor/32x32/apps/kaiman.png
share/icons/locolor/32x32/apps/kmid.png
share/icons/locolor/32x32/apps/kmidi.png
share/icons/locolor/32x32/apps/kmix.png
+share/icons/locolor/32x32/apps/kscd.png
share/mimelnk/audio/x-karaoke.desktop
+share/mimelnk/text/xmcd.desktop
share/services/kmixctrl_restore.desktop
-@dirrm share/services
-@dirrm share/mimelnk/audio
-@dirrm share/icons/locolor/32x32/apps
-@dirrm share/icons/locolor/16x16/apps
-@dirrm share/icons/hicolor/48x48/apps
-@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/22x22/apps
-@dirrm share/icons/hicolor/22x22
@dirrm share/doc/HTML/en/kscd
@dirrm share/doc/HTML/en/kmix
@dirrm share/doc/HTML/en/kmidi
@dirrm share/doc/HTML/en/kmid
@dirrm share/doc/HTML/en/artsbuilder
+@dirrm share/apps/kscd/pics
+@dirrm share/apps/kscd/cddb/soundtrack
+@dirrm share/apps/kscd/cddb/rock
+@dirrm share/apps/kscd/cddb/reggae
+@dirrm share/apps/kscd/cddb/newage
+@dirrm share/apps/kscd/cddb/misc
+@dirrm share/apps/kscd/cddb/jazz
+@dirrm share/apps/kscd/cddb/folk
+@dirrm share/apps/kscd/cddb/data
+@dirrm share/apps/kscd/cddb/country
+@dirrm share/apps/kscd/cddb/classical
+@dirrm share/apps/kscd/cddb/blues
+@dirrm share/apps/kscd/cddb
+@dirrm share/apps/kscd
@dirrm share/apps/kmix/pics
@dirrm share/apps/kmix
@dirrm share/apps/kmidi/pics
+@dirrm share/apps/kmidi/config/patch
+@dirrm share/apps/kmidi/config/BITMAPS
+@dirrm share/apps/kmidi/config
@dirrm share/apps/kmidi
@dirrm share/apps/kmid/maps
@dirrm share/apps/kmid/icons/locolor/16x16/actions
@dirrm share/apps/kmid/icons/locolor/16x16
+@dirrm share/apps/kmid/icons/locolor
@dirrm share/apps/kmid/icons/hicolor/32x32/actions
@dirrm share/apps/kmid/icons/hicolor/32x32
@dirrm share/apps/kmid/icons/hicolor/22x22/actions
@dirrm share/apps/kmid/icons/hicolor/22x22
+@dirrm share/apps/kmid/icons/hicolor
@dirrm share/apps/kmid/icons
@dirrm share/apps/kmid/fm
@dirrm share/apps/kmid