hasufell    14/04/03 12:29:38

  Modified:             ChangeLog
  Added:                skychart-3.10.2854.ebuild
  Log:
  version bump
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.4                  sci-astronomy/skychart/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/skychart/ChangeLog?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/skychart/ChangeLog?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/skychart/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/skychart/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog   6 Feb 2014 13:38:16 -0000       1.3
+++ ChangeLog   3 Apr 2014 12:29:38 -0000       1.4
@@ -1,6 +1,12 @@
 # ChangeLog for sci-astronomy/skychart
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/skychart/ChangeLog,v 1.3 
2014/02/06 13:38:16 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/skychart/ChangeLog,v 1.4 
2014/04/03 12:29:38 hasufell Exp $
+
+*skychart-3.10.2854 (03 Apr 2014)
+
+  03 Apr 2014; Julian Ospald <[email protected]> +skychart-3.10.2854.ebuild,
+  +files/skychart-3.10.2854-QA.patch:
+  version bump
 
   06 Feb 2014; Julian Ospald <[email protected]> skychart-3.8.2450.ebuild:
   amd64 stable wrt #499842



1.1                  sci-astronomy/skychart/skychart-3.10.2854.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/skychart/skychart-3.10.2854.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/skychart/skychart-3.10.2854.ebuild?rev=1.1&content-type=text/plain

Index: skychart-3.10.2854.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sci-astronomy/skychart/skychart-3.10.2854.ebuild,v 1.1 
2014/04/03 12:29:38 hasufell Exp $

EAPI=5

inherit toolchain-funcs gnome2-utils eutils

DESCRIPTION="Planetarium for amauter astronomers"
HOMEPAGE="http://www.ap-i.net/skychart/";

MY_PV=${PV:0:4}-${PV:5:4}
DATA_PKG="data_jpleph.tgz
        catalog_gcvs.tgz
        catalog_idx.tgz
        catalog_tycho2.tgz
        catalog_wds.tgz
        catalog_gcm.tgz
        catalog_gpn.tgz
        catalog_lbn.tgz
        catalog_ngc.tgz
        catalog_ocl.tgz
        catalog_pgc.tgz
        pictures_sac.tgz"
SRC_URI="${DATA_SRC_URI}
        
mirror://sourceforge/skychart/1-software/version_${PV:0:4}/skychart-${MY_PV}-src.tar.xz"
for i in ${DATA_PKG} ; do
        SRC_URI="${SRC_URI} mirror://sourceforge/skychart/4-source_data/${i}"
done
unset i

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

# pascal
QA_FLAGS_IGNORED="usr/bin/cdcicon
        usr/bin/skychart
        usr/bin/varobs
        usr/bin/varobs_lpv_bulletin"

CDEPEND="x11-libs/gtk+:2
        x11-libs/libX11"
RDEPEND="${CDEPEND}
        x11-misc/xplanet"
DEPEND="${CDEPEND}
        >=dev-lang/lazarus-1.0.4
        >=dev-lang/fpc-2.6.0"

S=${WORKDIR}/${PN}-${MY_PV}-src

src_unpack() {
        unpack skychart-${MY_PV}-src.tar.xz

        local i
        for i in ${DATA_PKG} ; do
                mkdir ${i} || die
                cd ${i} || die
                unpack ${i}
                cd ..
        done
}

src_prepare() {
        epatch "${FILESDIR}"/${P}-QA.patch
}

src_configure() {
        tc-export CC CXX

        ./configure \
                fpcbin="/usr/bin" \
                fpc="/usr/lib/fpc/$(fpc -iV)/source" \
                lazarus="/usr/share/lazarus" \
                prefix="/usr"
}

src_compile() {
        # this is ugly, but the build system sux, so don't bother me
        
UNITDIR="/usr/share/lazarus/components/printers:/usr/share/lazarus/components/printers/unix"
 \
        
INCDIR="/usr/share/lazarus/components/printers/unix:/usr/share/lazarus/components/printers"
 \
                emake -j1
}

src_install() {
        # use build system install rules on version bump
        # to check for new files
        dobin varobs/{varobs,varobs_lpv_bulletin}
        dobin skychart/cdcicon
        newbin skychart/cdc skychart

        dolib.so skychart/library/plan404/libplan404.so
        dolib.so skychart/library/getdss/libgetdss.so
        dolib.so skychart/library/wcs/libcdcwcs.so

        insinto /usr/share
        doins -r 
system_integration/Linux/share/{applications,appdata,icons,pixmaps}

        dodoc system_integration/Linux/share/doc/skychart/changelog

        insinto /usr/share/skychart
        doins -r tools/{cat,data}
        for i in ${DATA_PKG} ; do
                cd "${WORKDIR}/${i}" || die
                doins -r .
        done
}

pkg_preinst() {
        gnome2_icon_savelist
}

pkg_postinst() {
        gnome2_icon_cache_update
}

pkg_postrm() {
        gnome2_icon_cache_update
}




Reply via email to