x11-misc/basqet: EAPI bump 4 -> 6
authorHarri Nieminen <moikkis@gmail.com>
Mon, 27 Feb 2017 18:11:05 +0000 (20:11 +0200)
committerDavid Seifert <soap@gentoo.org>
Wed, 1 Mar 2017 20:44:48 +0000 (21:44 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4091

x11-misc/basqet/basqet-0.2.0-r1.ebuild [moved from x11-misc/basqet/basqet-0.2.0.ebuild with 70% similarity]
x11-misc/basqet/files/basqet-0.2.0-desktop.patch

similarity index 70%
rename from x11-misc/basqet/basqet-0.2.0.ebuild
rename to x11-misc/basqet/basqet-0.2.0-r1.ebuild
index 03607ac53edde1ea1e83575aa639ef747e2f72cd..3dac0761f60cdda2bce215caae0f2de1277c0865 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit qt4-r2
+inherit qmake-utils
 
 DESCRIPTION="Keep your notes, pictures, ideas, and information in Baskets"
 HOMEPAGE="https://bitbucket.org/ridderby/basqet"
@@ -22,8 +22,11 @@ S=${WORKDIR}/release_${PV}
 
 PATCHES=( "${FILESDIR}/${P}-desktop.patch" )
 
-src_prepare() {
-       qt4-r2_src_prepare
+src_configure() {
+       eqmake4 ${PN}.pro PREFIX="${EPREFIX}"/usr
+}
 
-       sed -i 's:PREFIX = /usr/local:PREFIX = /usr:' ${PN}.pro || die
+src_install() {
+       emake INSTALL_ROOT="${D}" install
+       einstalldocs
 }
index 161ad1d8fd3c3d12396ecf690bdc3d6a149a79e4..d0320a6f63777004fffb3d3a8121fbcb29986d96 100644 (file)
@@ -1,5 +1,5 @@
---- basqet.desktop
-+++ basqet.desktop
+--- a/basqet.desktop
++++ b/basqet.desktop
 @@ -1,9 +1,9 @@
  [Desktop Entry]
 -Version=0.2.0