aboutsummaryrefslogtreecommitdiff
path: root/audio/libkcompactdisc
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-02-03 20:10:37 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-02-03 20:10:37 +0000
commitcb8b1428c6bb9ed135f61a9cecbe8397defbf329 (patch)
tree0a68a09c88303888985b47f7045bed36788aefc2 /audio/libkcompactdisc
parent563bcaab10c891e4bee07c4ec1fbf46515c5a0b4 (diff)
downloadports-cb8b1428c6bb9ed135f61a9cecbe8397defbf329.tar.gz
ports-cb8b1428c6bb9ed135f61a9cecbe8397defbf329.zip
Notes
Diffstat (limited to 'audio/libkcompactdisc')
-rw-r--r--audio/libkcompactdisc/Makefile32
-rw-r--r--audio/libkcompactdisc/distinfo2
-rw-r--r--audio/libkcompactdisc/files/extrapatch-no_alsa13
-rw-r--r--audio/libkcompactdisc/pkg-descr3
-rw-r--r--audio/libkcompactdisc/pkg-plist10
5 files changed, 60 insertions, 0 deletions
diff --git a/audio/libkcompactdisc/Makefile b/audio/libkcompactdisc/Makefile
new file mode 100644
index 000000000000..40750752b092
--- /dev/null
+++ b/audio/libkcompactdisc/Makefile
@@ -0,0 +1,32 @@
+# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libkcompactdisc
+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= KDE library for interfacing with audio CDs
+
+CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
+
+MAKE_JOBS_SAFE= yes
+KDE4_BUILDENV= yes
+USE_KDE4= automoc4 kdehier kdelibs kdeprefix
+USE_QT4= dbus 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/libkcompactdisc/distinfo b/audio/libkcompactdisc/distinfo
new file mode 100644
index 000000000000..2489ffb8d447
--- /dev/null
+++ b/audio/libkcompactdisc/distinfo
@@ -0,0 +1,2 @@
+SHA256 (KDE/libkcompactdisc-4.9.5.tar.xz) = dfc31475b0797dfc563bdda1bee04d44e182798ffa1808dcf8d3716b14a2942f
+SIZE (KDE/libkcompactdisc-4.9.5.tar.xz) = 77264
diff --git a/audio/libkcompactdisc/files/extrapatch-no_alsa b/audio/libkcompactdisc/files/extrapatch-no_alsa
new file mode 100644
index 000000000000..5f2fb4c5811f
--- /dev/null
+++ b/audio/libkcompactdisc/files/extrapatch-no_alsa
@@ -0,0 +1,13 @@
+--- CMakeLists.txt~ 2012-06-29 16:45:48.000000000 -0300
++++ CMakeLists.txt 2012-06-29 16:46:54.000000000 -0300
+@@ -6,8 +6,8 @@
+
+ add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+
+-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)
+
+ include_directories(${KDE4_INCLUDES})
+ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
diff --git a/audio/libkcompactdisc/pkg-descr b/audio/libkcompactdisc/pkg-descr
new file mode 100644
index 000000000000..930b46ff84b0
--- /dev/null
+++ b/audio/libkcompactdisc/pkg-descr
@@ -0,0 +1,3 @@
+KDE library for interfacing with audio CDs.
+
+WWW: http://www.kde.org/
diff --git a/audio/libkcompactdisc/pkg-plist b/audio/libkcompactdisc/pkg-plist
new file mode 100644
index 000000000000..af5373324f2b
--- /dev/null
+++ b/audio/libkcompactdisc/pkg-plist
@@ -0,0 +1,10 @@
+include/libkcompactdisc/kcompactdisc.h
+lib/cmake/libkcompactdisc/LibkcompactdiscConfig.cmake
+lib/cmake/libkcompactdisc/LibkcompactdiscTargets.cmake
+lib/cmake/libkcompactdisc/LibkcompactdiscTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/libkcompactdisc.so
+lib/libkcompactdisc.so.5
+lib/libkcompactdisc.so.5.0.1
+@dirrm lib/cmake/libkcompactdisc
+@dirrmtry lib/cmake
+@dirrm include/libkcompactdisc