瀏覽代碼

switch psi plugins to cmake

Sergey Ilinykh 5 年之前
父節點
當前提交
602e728f21
共有 1 個文件被更改,包括 2 次插入18 次删除
  1. 2 18
      eclass/psi-plugin.eclass

+ 2 - 18
eclass/psi-plugin.eclass

@@ -31,7 +31,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then
 	EGIT_CHECKOUT_DIR="${WORKDIR}/plugins"
 	EGIT_CHECKOUT_DIR="${WORKDIR}/plugins"
 fi
 fi
 
 
-inherit qmake-utils ${SCM}
+inherit cmake-utils ${SCM}
 
 
 # general common
 # general common
 
 
@@ -51,7 +51,7 @@ DEPEND="net-im/psi"
 RDEPEND="${DEPEND}"
 RDEPEND="${DEPEND}"
 
 
 # Eclass exported functions
 # Eclass exported functions
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_install
+EXPORT_FUNCTIONS src_unpack
 
 
 psi-plugin_src_unpack() {
 psi-plugin_src_unpack() {
 	if [ -n "$SCM" ]; then
 	if [ -n "$SCM" ]; then
@@ -60,19 +60,3 @@ psi-plugin_src_unpack() {
 		default
 		default
 	fi
 	fi
 }
 }
-
-psi-plugin_src_prepare() {
-	default
-	local rp=/usr/share/psi-plus/plugins/psiplugin.pri
-	[ -f $rp ] || local rp=/usr/share/psi/plugins/psiplugin.pri
-	sed -e "s#\.\./\.\./psiplugin.pri#$rp#" \
-               -i "${MY_PN}".pro || die
-}
-
-psi-plugin_src_configure() {
-	eqmake5 "${MY_PN}".pro
-}
-
-psi-plugin_src_install() {
-	emake install INSTALL_ROOT="${D}"
-}