Description: Use old file name for .protocol files
 Upstream renamed the .protocol files which shouldn't be needed on Debian
 systems. Thus this patch, which reverts the name change.
Author: Kai Wasserbäch <curan@debian.org>
Last-Update: 2011-05-07
Origin: vendor, http://git.debian.org/?p=pkg-kde/kde-extras/kvirc.git;a=blob_plain;f=debian/patches/22_use_old_.protocol_file_names.patch;hb=HEAD
Forwarded: not-needed
---
 data/protocols/CMakeLists.txt |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

--- a/data/protocols/CMakeLists.txt
+++ b/data/protocols/CMakeLists.txt
@@ -1,4 +1,10 @@
 IF(KDE4_FOUND)
-	INSTALL(FILES _irc.protocol DESTINATION ${SERVICES_INSTALL_DIR})
-	INSTALL(FILES _irc6.protocol DESTINATION ${SERVICES_INSTALL_DIR})
+	INSTALL(FILES _irc.protocol
+          DESTINATION ${SERVICES_INSTALL_DIR}
+          RENAME irc.protocol
+          )
+	INSTALL(FILES _irc6.protocol
+          DESTINATION ${SERVICES_INSTALL_DIR}
+          RENAME irc6.protocol
+          )
 ENDIF(KDE4_FOUND)
