public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde-sunset:master commit in: x11-misc/ptbatterysystemtray/
@ 2020-08-23 22:55 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-08-23 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     a2a84c03ae6667feffa5a70e4a409ecfba3bf7ae
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 21:30:47 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 21:37:51 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=a2a84c03

x11-misc/ptbatterysystemtray: Import 1.0.0_rc2 from before last-rites

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-misc/ptbatterysystemtray/metadata.xml          |  5 ++++
 .../ptbatterysystemtray-1.0.0_rc2.ebuild           | 32 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/x11-misc/ptbatterysystemtray/metadata.xml b/x11-misc/ptbatterysystemtray/metadata.xml
new file mode 100644
index 00000000..7a38bb90
--- /dev/null
+++ b/x11-misc/ptbatterysystemtray/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+</pkgmetadata>

diff --git a/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild b/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
new file mode 100644
index 00000000..37c6361a
--- /dev/null
+++ b/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit qt4-r2
+
+DESCRIPTION="A simple battery monitor in the system tray"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	dev-qt/qtcore:4
+	dev-qt/qtdbus:4
+	dev-qt/qtgui:4
+"
+RDEPEND="${DEPEND}"
+
+DOCS="AUTHORS ChangeLog README"
+
+src_unpack() {
+	default
+	mv ${PN}-${PN} "${S}" || die
+}
+
+src_configure() {
+	eqmake4 ${PN}.pro INSTALL_PREFIX=/usr
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/kde-sunset:master commit in: x11-misc/ptbatterysystemtray/
@ 2020-12-07 20:53 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-12-07 20:53 UTC (permalink / raw
  To: gentoo-commits

commit:     2814f590ed19db8dd4b2d3f61346b03767ada288
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 19:57:39 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 19:57:39 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=2814f590

x11-misc/ptbatterysystemtray: Port to EAPI-7, qmake-utils, xdg eclass

Fix HOMEPAGE, SRC_URI

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../ptbatterysystemtray-1.0.0_rc2.ebuild            | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild b/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
index 37c6361a..d4b3ee2e 100644
--- a/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
+++ b/x11-misc/ptbatterysystemtray/ptbatterysystemtray-1.0.0_rc2.ebuild
@@ -1,12 +1,14 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit qt4-r2
+EAPI=7
+
+inherit qmake-utils xdg
 
 DESCRIPTION="A simple battery monitor in the system tray"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/batterysystem/"
+SRC_URI="http://ponce.cc/slackware/sources/repo/${P/_/.}.tar.bz2"
+S="${WORKDIR}/${P/_/.}"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -20,13 +22,16 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-DOCS="AUTHORS ChangeLog README"
-
-src_unpack() {
+src_prepare() {
 	default
-	mv ${PN}-${PN} "${S}" || die
+	sed -e "/^Categories/s/Application;//" -i ptbatterysystemtray.desktop || die
 }
 
 src_configure() {
 	eqmake4 ${PN}.pro INSTALL_PREFIX=/usr
 }
+
+src_install() {
+	emake INSTALL_ROOT="${D}" install
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-07 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-23 22:55 [gentoo-commits] proj/kde-sunset:master commit in: x11-misc/ptbatterysystemtray/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2020-12-07 20:53 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox