aboutsummaryrefslogtreecommitdiff
path: root/audio/libkcompactdisc
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-02-18 14:23:03 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-02-18 14:23:03 +0000
commite9c34f4c34b0640b3613f03cd96e9f19730b2a07 (patch)
treeef2b2b24dfacf6def95c54d3379c421565b1fe2b /audio/libkcompactdisc
parent4dc7ccc95d370549c7c9c7c9c253d64aa92881ae (diff)
downloadports-e9c34f4c34b0640b3613f03cd96e9f19730b2a07.tar.gz
ports-e9c34f4c34b0640b3613f03cd96e9f19730b2a07.zip
Notes
Diffstat (limited to 'audio/libkcompactdisc')
-rw-r--r--audio/libkcompactdisc/Makefile15
-rw-r--r--audio/libkcompactdisc/distinfo4
-rw-r--r--audio/libkcompactdisc/files/extrapatch-no_alsa13
-rw-r--r--audio/libkcompactdisc/pkg-plist4
4 files changed, 15 insertions, 21 deletions
diff --git a/audio/libkcompactdisc/Makefile b/audio/libkcompactdisc/Makefile
index 90a1103e6c2e..6963049c5855 100644
--- a/audio/libkcompactdisc/Makefile
+++ b/audio/libkcompactdisc/Makefile
@@ -4,17 +4,13 @@
PORTNAME= libkcompactdisc
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= audio kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE library for interfacing with audio CDs
-CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
-
USES= cmake:outsource
-NO_STAGE= yes
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= phonon moc_build qmake_build rcc_build uic_build
USE_XZ= yes
@@ -22,12 +18,7 @@ USE_LDCONFIG= yes
OPTIONS_DEFINE= ALSA
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MALSA}
-LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
-.else
-EXTRA_PATCHES+= ${FILESDIR}/extrapatch-no_alsa
-.endif
+ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
+ALSA_EXTRA_PATCHES= ${FILESDIR}/extrapatch-no_alsa
.include <bsd.port.mk>
diff --git a/audio/libkcompactdisc/distinfo b/audio/libkcompactdisc/distinfo
index bde5e06ca53e..6b66365b1106 100644
--- a/audio/libkcompactdisc/distinfo
+++ b/audio/libkcompactdisc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (KDE/4.10.5/libkcompactdisc-4.10.5.tar.xz) = 788645c4b20d1523e8b2d13a131c896f7cf524e3f5896b1f5af23fc3ed02bc80
-SIZE (KDE/4.10.5/libkcompactdisc-4.10.5.tar.xz) = 77464
+SHA256 (KDE/4.12.2/libkcompactdisc-4.12.2.tar.xz) = 9f48d07764b29c61e2b8e04d3f29141d0c50c63865c0de6389df2a4fa355accd
+SIZE (KDE/4.12.2/libkcompactdisc-4.12.2.tar.xz) = 75568
diff --git a/audio/libkcompactdisc/files/extrapatch-no_alsa b/audio/libkcompactdisc/files/extrapatch-no_alsa
index 5f2fb4c5811f..2f83175e4738 100644
--- a/audio/libkcompactdisc/files/extrapatch-no_alsa
+++ b/audio/libkcompactdisc/files/extrapatch-no_alsa
@@ -1,9 +1,12 @@
---- 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})
+--- CMakeLists.txt.orig 2013-07-09 23:19:54.000000000 +0000
++++ CMakeLists.txt 2013-08-12 23:11:31.141329406 +0000
+@@ -8,10 +8,10 @@
+ ## Compiler flags
+ if(CMAKE_COMPILER_IS_GNUCXX)
+- set(CMAKE_C_FLAGS "-std=c99") ## ALSA no longer compiles with -std=c90, see https://bugzilla.novell.com/show_bug.cgi?id=817077
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") ## ALSA no longer compiles with -std=c90, see https://bugzilla.novell.com/show_bug.cgi?id=817077
+ endif()
-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})
diff --git a/audio/libkcompactdisc/pkg-plist b/audio/libkcompactdisc/pkg-plist
index af5373324f2b..d13a1e9b67fb 100644
--- a/audio/libkcompactdisc/pkg-plist
+++ b/audio/libkcompactdisc/pkg-plist
@@ -3,8 +3,8 @@ 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
+lib/libkcompactdisc.so.4
+lib/libkcompactdisc.so.%%KDE4_GENERIC_LIB_VERSION%%
@dirrm lib/cmake/libkcompactdisc
@dirrmtry lib/cmake
@dirrm include/libkcompactdisc