diff net-im/psi-plus/psi-plus-1.2.109.ebuild @ 454:175c21f9bfe2

plugins go to a different location now
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 14 Dec 2017 11:12:12 +0100
parents 90f4c3220d2e
children
line wrap: on
line diff
--- a/net-im/psi-plus/psi-plus-1.2.109.ebuild	Wed Dec 13 15:57:58 2017 +0100
+++ b/net-im/psi-plus/psi-plus-1.2.109.ebuild	Thu Dec 14 11:12:12 2017 +0100
@@ -91,10 +91,12 @@
 	emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
 	dodoc README TODO ChangeLog
 	
+	local plugindir="/usr/share/psi-plus/plugins"
 	if use autoreplyplugin; then
 		cd src/plugins/generic/autoreplyplugin
 
-		local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
+		strip --strip-unneeded libautoreplyplugin.so
+
 		dodir "${plugindir}"
 		insinto "${plugindir}"
 		doins libautoreplyplugin.so
@@ -105,7 +107,8 @@
 	if use otrplugin; then
 		cd src/plugins/generic/otrplugin
 
-		local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
+		strip --strip-unneeded libotrplugin.so
+
 		dodir "${plugindir}"
 		insinto "${plugindir}"
 		doins libotrplugin.so
@@ -116,7 +119,8 @@
 	if use watcherplugin; then
 		cd src/plugins/generic/watcherplugin
 
-		local plugindir="/usr/$(get_libdir)/psi-plus/plugins"
+		strip --strip-unneeded libwatcherplugin.so
+
 		dodir "${plugindir}"
 		insinto "${plugindir}"
 		doins libwatcherplugin.so