commit:     186e0ed7377a46e7ce12c9594da669ab1608df23
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 00:50:24 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 00:52:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186e0ed7

app-laptop/hdaps-gl: new version 0.0.7.

I took over as upstream, moved the project to Github, and gave it a
sane build system. This commit reflects all of that. Oh, and I added
a missing dependency for a library that we link against.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/hdaps-gl/Manifest                 |  1 +
 app-laptop/hdaps-gl/hdaps-gl-0.0.5-r1.ebuild | 32 ----------------------------
 app-laptop/hdaps-gl/hdaps-gl-0.0.7.ebuild    | 19 +++++++++++++++++
 app-laptop/hdaps-gl/metadata.xml             |  4 ++--
 4 files changed, 22 insertions(+), 34 deletions(-)

diff --git a/app-laptop/hdaps-gl/Manifest b/app-laptop/hdaps-gl/Manifest
index 5fd7c57b44d..09a9f3f009b 100644
--- a/app-laptop/hdaps-gl/Manifest
+++ b/app-laptop/hdaps-gl/Manifest
@@ -1 +1,2 @@
 DIST hdaps-gl-0.0.5.tar.gz 2495 BLAKE2B 
00b9b79b906e32b5671ae97c30fe0e3007da8ef809078b664befe46e472af39977f6947dfbde53afee30d42e5b104ba055d5e5412d76263d5741db75c663b308
 SHA512 
6ebef6324fcdfaf5c2ec6cc8382d376c711e5d957a4ffdd4ee150317649ea0a47552e421f8008a3498ac49487657dca2f49b1a50169d7ab02ee5bef856625d19
+DIST hdaps-gl-0.0.7.tar.xz 226516 BLAKE2B 
e7de2fa72021e0a98a3e4a9c4501aa8ff05252de29bdc378ae31e0ea741513e6f2205696cacb7169d03c4e3f818e5b24f661bf9119d9afe8daa5bea90a248367
 SHA512 
4a8eaa556488ae8b0941f51a76e97cbbdc1b7b66aef14ea55e36197a2ad92c7b6fee0617bc71e85ae9320b09b5c903ce053ad9cb78f931618a4c806d5298887b

diff --git a/app-laptop/hdaps-gl/hdaps-gl-0.0.5-r1.ebuild 
b/app-laptop/hdaps-gl/hdaps-gl-0.0.5-r1.ebuild
deleted file mode 100644
index 6e145279052..00000000000
--- a/app-laptop/hdaps-gl/hdaps-gl-0.0.5-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="OpenGL visualization for HDAPS data"
-HOMEPAGE="http://hdaps.sourceforge.net";
-SRC_URI="mirror://sourceforge/hdaps/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-BDEPEND=""
-DEPEND="virtual/opengl
-       media-libs/freeglut"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-as-needed.diff" )
-
-src_compile() {
-       emake CC="$(tc-getCC)" \
-               CFLAGS="${CFLAGS} ${LDFLAGS}" \
-               || die "emake failed"
-}
-
-src_install() {
-       dobin "${PN}"
-}

diff --git a/app-laptop/hdaps-gl/hdaps-gl-0.0.7.ebuild 
b/app-laptop/hdaps-gl/hdaps-gl-0.0.7.ebuild
new file mode 100644
index 00000000000..3fafe3240d2
--- /dev/null
+++ b/app-laptop/hdaps-gl/hdaps-gl-0.0.7.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="OpenGL visualization for HDAPS data"
+HOMEPAGE="https://github.com/linux-thinkpad/${PN}";
+SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BDEPEND=""
+DEPEND="media-libs/freeglut
+       media-libs/glu
+       virtual/opengl"
+RDEPEND="${DEPEND}"

diff --git a/app-laptop/hdaps-gl/metadata.xml b/app-laptop/hdaps-gl/metadata.xml
index 1b35bde263c..b925ce86a84 100644
--- a/app-laptop/hdaps-gl/metadata.xml
+++ b/app-laptop/hdaps-gl/metadata.xml
@@ -5,7 +5,7 @@
     <email>m...@gentoo.org</email>
     <name>Michael Orlitzky</name>
   </maintainer>
-  <upstream>
-    <remote-id type="sourceforge">hdaps</remote-id>
+    <upstream>
+    <remote-id type="github">linux-thinkpad/hdaps-gl</remote-id>
   </upstream>
 </pkgmetadata>

Reply via email to