summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/basqet/basqet-0.2.0-r1.ebuild (renamed from x11-misc/basqet/basqet-0.2.0.ebuild)15
-rw-r--r--x11-misc/basqet/files/basqet-0.2.0-desktop.patch4
2 files changed, 11 insertions, 8 deletions
diff --git a/x11-misc/basqet/basqet-0.2.0.ebuild b/x11-misc/basqet/basqet-0.2.0-r1.ebuild
index 03607ac53edd..3dac0761f60c 100644
--- a/x11-misc/basqet/basqet-0.2.0.ebuild
+++ b/x11-misc/basqet/basqet-0.2.0-r1.ebuild
@@ -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
}
diff --git a/x11-misc/basqet/files/basqet-0.2.0-desktop.patch b/x11-misc/basqet/files/basqet-0.2.0-desktop.patch
index 161ad1d8fd3c..d0320a6f6377 100644
--- a/x11-misc/basqet/files/basqet-0.2.0-desktop.patch
+++ b/x11-misc/basqet/files/basqet-0.2.0-desktop.patch
@@ -1,5 +1,5 @@
---- basqet.desktop
-+++ basqet.desktop
+--- a/basqet.desktop
++++ b/basqet.desktop
@@ -1,9 +1,9 @@
[Desktop Entry]
-Version=0.2.0