aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libkcompactdisc
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-02-04 04:10:37 +0800
committermakc <makc@FreeBSD.org>2013-02-04 04:10:37 +0800
commit751b41dafeebc053115ea65f18c9ab0a009b0237 (patch)
tree0a68a09c88303888985b47f7045bed36788aefc2 /audio/libkcompactdisc
parent021b3043f8ab11aaff1bb422f34a0dd5dd655cd0 (diff)
downloadfreebsd-ports-gnome-751b41dafeebc053115ea65f18c9ab0a009b0237.tar.gz
freebsd-ports-gnome-751b41dafeebc053115ea65f18c9ab0a009b0237.tar.zst
freebsd-ports-gnome-751b41dafeebc053115ea65f18c9ab0a009b0237.zip
KDE/FreeBSD team presents KDE SC 4.9.5 ports!
- kdebindings ports have been renamed to match upstream. - kdemultimedia and kdenetwork have been split. - New port games/pairs added. - Trim Makefile header - Convert to new option framework - New USE_KDE4 components: libkcddb, libkcompactdisc - Update: databases/akonadi to 1.9.0 devel/grantlee to 0.3.0 textproc/rasqal to 0.9.30 textproc/redland-bindings to 1.0.16.1 textproc/soprano to 2.9.0 x11-toolkits/attica to 0.4.1 The area51 repository features commits by Schaich Alonso, avilla, dbn, jhale, makc and rakuco. Contributors: - Oleg Sidorkin - Tobias Berner - Kurt Jaeger
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