commit:     75c0f38ac94bb4c86f2c10ef5c0b99227d80cfa9
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jun 26 07:59:41 2018 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jun 26 07:59:41 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=75c0f38a

sci-biology/gffread: fetch gclib and use during compilation

The soucre tree is not made to use site-wide installed headers from
gclib. I am not going to figure out git commit tag of gclib automagically
bundled into some gffread binary when gffread was released (to make
a dedicated gclib-$commitnr.tar.gz file for Gentoo/Debian/etc. and to
include it into SRC_URI here so gffread could use it.

It is the task for upstream author to properly document required versions
of dependencies and release them properly.

https://github.com/gpertea/gffread/issues/26#issuecomment-400134376

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-biology/gffread/files/Makefile.patch  | 6 +++---
 sci-biology/gffread/gffread-0.9.12.ebuild | 8 +++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sci-biology/gffread/files/Makefile.patch 
b/sci-biology/gffread/files/Makefile.patch
index 45f8c3ebd..35e6b088e 100644
--- a/sci-biology/gffread/files/Makefile.patch
+++ b/sci-biology/gffread/files/Makefile.patch
@@ -1,8 +1,8 @@
---- gffread-0.9.12/Makefile    2018-06-26 00:05:05.298388489 +0200
-+++ gffread-0.9.12/Makefile    2018-06-26 00:07:07.461729681 +0200
+--- gffread-0.9.12/Makefile    2018-06-26 09:52:26.024747027 +0200
++++ gffread-0.9.12/Makefile    2018-06-26 09:52:41.845177021 +0200
 @@ -1,4 +1,4 @@
 -GCLDIR := ../gclib
-+GCLDIR := $(EPREFIX)/usr/include/gclib
++GCLDIR := ../gclib-0.10.2
  SEARCHDIRS := -I. -I${GCLDIR}
  
  SYSTYPE :=     $(shell uname)

diff --git a/sci-biology/gffread/gffread-0.9.12.ebuild 
b/sci-biology/gffread/gffread-0.9.12.ebuild
index 968ebc256..fc60b9a81 100644
--- a/sci-biology/gffread/gffread-0.9.12.ebuild
+++ b/sci-biology/gffread/gffread-0.9.12.ebuild
@@ -4,15 +4,17 @@
 EAPI=6
 
 DESCRIPTION="GFF/GTF utility providing format conversions, filter/extract 
regions from FASTA"
-HOMEPAGE="https://github.com/gpertea/gffread";
-SRC_URI="https://github.com/gpertea/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="http://ccb.jhu.edu/software/stringtie/gff.shtml
+       https://github.com/gpertea/gffread";
+SRC_URI="https://github.com/gpertea/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+       https://github.com/gpertea/gclib/archive/v0.10.2.tar.gz -> 
gclib-0.10.2.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
 IUSE=""
 
-DEPEND="sci-biology/gclib"
+DEPEND=""
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/Makefile.patch )

Reply via email to