diff options
author | makc <makc@FreeBSD.org> | 2011-10-30 00:16:57 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2011-10-30 00:16:57 +0800 |
commit | 6cb89d8ea0092bdcdd98210e6328d58c8b999430 (patch) | |
tree | 244b12e9deb15e25a9eb41a5503df7c9882851fb /audio | |
parent | 19937852d76707997c3ec69b5d645671baacc3e6 (diff) | |
download | freebsd-ports-gnome-6cb89d8ea0092bdcdd98210e6328d58c8b999430.tar.gz freebsd-ports-gnome-6cb89d8ea0092bdcdd98210e6328d58c8b999430.tar.zst freebsd-ports-gnome-6cb89d8ea0092bdcdd98210e6328d58c8b999430.zip |
- Add patch to fix libtunepimp detection
- Drop docbook-xml from build dependencies, since it's already handled by kdelibs4
- Drop -kde4 suffix from package name (kid3-1.6 was the last supporting qt3/kde3)
and use LATEST_LINK instead
- Respect LOCALBASE
Diffstat (limited to 'audio')
-rw-r--r-- | audio/kid3-kde4/Makefile | 7 | ||||
-rw-r--r-- | audio/kid3-kde4/files/patch-CMakeLists.txt | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/audio/kid3-kde4/Makefile b/audio/kid3-kde4/Makefile index 83dfd3554a99..9b5a96d562b0 100644 --- a/audio/kid3-kde4/Makefile +++ b/audio/kid3-kde4/Makefile @@ -7,16 +7,16 @@ PORTNAME= kid3 PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= SF -PKGNAMESUFFIX= -kde4 MAINTAINER= makc@FreeBSD.org COMMENT= MP3/Ogg/FLAC tag editor for KDE LICENSE= GPLv2 -BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml +LATEST_LINK= ${PORTNAME}-kde4 USE_KDE4= kdelibs kdeprefix kdehier automoc4 USE_QT_VER= 4 @@ -78,4 +78,7 @@ CMAKE_ARGS+= -DWITH_TUNEPIMP=ON LIB_DEPENDS+= tunepimp.5:${PORTSDIR}/audio/libtunepimp .endif +pre-configure: + ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/CMakeLists.txt + .include <bsd.port.mk> diff --git a/audio/kid3-kde4/files/patch-CMakeLists.txt b/audio/kid3-kde4/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..975927e01b2b --- /dev/null +++ b/audio/kid3-kde4/files/patch-CMakeLists.txt @@ -0,0 +1,10 @@ +--- ./CMakeLists.txt.orig 2011-09-05 16:44:56.000000000 +0000 ++++ ./CMakeLists.txt 2011-10-29 02:35:52.472296337 +0000 +@@ -278,6 +278,7 @@ + find_library(TUNEPIMP_LIBRARIES NAMES tunepimp) + if(TUNEPIMP_INCLUDE_DIR AND TUNEPIMP_LIBRARIES) + message(STATUS "TunePimp found: ${TUNEPIMP_LIBRARIES}") ++ set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_THREAD_LIBS_INIT}) + CHECK_LIBRARY_EXISTS(${TUNEPIMP_LIBRARIES} tp_SetFileNameEncoding "" TUNEPIMP_FOUND_VERSION_4) + CHECK_LIBRARY_EXISTS(${TUNEPIMP_LIBRARIES} tr_GetPUID "" TUNEPIMP_FOUND_VERSION_5) + if(TUNEPIMP_FOUND_VERSION_5) |