aboutsummaryrefslogtreecommitdiffstats
path: root/audio/kscd
diff options
context:
space:
mode:
Diffstat (limited to 'audio/kscd')
-rw-r--r--audio/kscd/Makefile38
-rw-r--r--audio/kscd/distinfo2
-rw-r--r--audio/kscd/files/extrapatch-no_alsa13
-rw-r--r--audio/kscd/pkg-descr4
-rw-r--r--audio/kscd/pkg-plist17
5 files changed, 74 insertions, 0 deletions
diff --git a/audio/kscd/Makefile b/audio/kscd/Makefile
new file mode 100644
index 000000000000..cedf72c74fc4
--- /dev/null
+++ b/audio/kscd/Makefile
@@ -0,0 +1,38 @@
+# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= kscd
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= audio kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= CD Player for KDE
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3
+
+CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
+
+MAKE_JOBS_SAFE= yes
+KDE4_BUILDENV= yes
+USE_KDE4= kdehier kdelibs kdeprefix libkcddb libkcompactdisc \
+ automoc4
+USE_QT4= phonon moc_build qmake_build rcc_build uic_build
+USE_XZ= yes
+
+OPTIONS_DEFINE= ALSA
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MALSA}
+LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
+.else
+EXTRA_PATCHES+= ${FILESDIR}/extrapatch-no_alsa
+.endif
+
+.include <bsd.port.mk>
+
diff --git a/audio/kscd/distinfo b/audio/kscd/distinfo
new file mode 100644
index 000000000000..60ab38ec731e
--- /dev/null
+++ b/audio/kscd/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/kscd-4.9.5.tar.xz) = 8b0b0b36fb21385d4353cc402880a9c61f5fee6997cba14932629641a64a0cc7
+SIZE (KDE/kscd-4.9.5.tar.xz) = 95608
diff --git a/audio/kscd/files/extrapatch-no_alsa b/audio/kscd/files/extrapatch-no_alsa
new file mode 100644
index 000000000000..d3e61dcc5379
--- /dev/null
+++ b/audio/kscd/files/extrapatch-no_alsa
@@ -0,0 +1,13 @@
+--- CMakeLists.txt~ 2012-06-29 17:23:16.000000000 -0300
++++ CMakeLists.txt 2012-06-29 17:24:13.000000000 -0300
+@@ -8,8 +8,8 @@
+ include(MacroLibrary)
+ include_directories(${QT_INCLUDES} ${KDE4_INCLUDES})
+
+-find_package(Alsa)
+-alsa_configure_file(${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
++find_file(CONFIG_ALSA_H_CMAKE config-alsa.h.cmake ${CMAKE_MODULE_PATH})
++configure_file(${CONFIG_ALSA_H_CMAKE} ${CMAKE_BINARY_DIR}/config-alsa.h)
+
+
+ # If these two fail, behavior falls back to pre-git-migration
diff --git a/audio/kscd/pkg-descr b/audio/kscd/pkg-descr
new file mode 100644
index 000000000000..8940e5505e0f
--- /dev/null
+++ b/audio/kscd/pkg-descr
@@ -0,0 +1,4 @@
+KsCD is a small, fast, CDDB enabled audio CD player which supports
+multiple platforms.
+
+WWW: http://www.kde.org/applications/multimedia/kscd/
diff --git a/audio/kscd/pkg-plist b/audio/kscd/pkg-plist
new file mode 100644
index 000000000000..29ce3aae5602
--- /dev/null
+++ b/audio/kscd/pkg-plist
@@ -0,0 +1,17 @@
+bin/kscd
+share/applications/kde4/kscd.desktop
+share/apps/kscd/skin/Chrome.svg
+share/apps/kscd/skin/Obsidian-Coast.svg
+share/apps/kscd/skin/Steel.svg
+share/apps/kscd/skin/default.svg
+share/apps/solid/actions/kscd-play-audiocd.desktop
+share/config.kcfg/kscd.kcfg
+share/dbus-1/interfaces/org.kde.kscd.cdplayer.xml
+share/icons/hicolor/128x128/apps/kscd.png
+share/icons/hicolor/16x16/apps/kscd.png
+share/icons/hicolor/32x32/apps/kscd.png
+share/icons/hicolor/48x48/apps/kscd.png
+share/icons/hicolor/64x64/apps/kscd.png
+share/icons/oxygen/22x22/actions/kscd-dock.png
+@dirrm share/apps/kscd/skin
+@dirrm share/apps/kscd