diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-01-13 09:29:51 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-01-13 09:29:51 +0000 |
commit | 66915c6557b3a45bdf2922a5651a5afac3df0a52 (patch) | |
tree | 1f279d924b58592d11c2438c980462e57fd2a047 /sci-astronomy | |
parent | ds9-4.0_beta7.ebuild: added () for dohtml (diff) | |
download | sci-66915c6557b3a45bdf2922a5651a5afac3df0a52.tar.gz sci-66915c6557b3a45bdf2922a5651a5afac3df0a52.tar.bz2 sci-66915c6557b3a45bdf2922a5651a5afac3df0a52.zip |
sci-astronomy/celestia/celestia-1.4.0.ebuild: dependencies cleaning
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@47 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/celestia/Manifest | 2 | ||||
-rw-r--r-- | sci-astronomy/celestia/celestia-1.4.0.ebuild | 71 |
2 files changed, 36 insertions, 37 deletions
diff --git a/sci-astronomy/celestia/Manifest b/sci-astronomy/celestia/Manifest index 1524ecd72..93447b1b0 100644 --- a/sci-astronomy/celestia/Manifest +++ b/sci-astronomy/celestia/Manifest @@ -1,6 +1,6 @@ MD5 87233acdbef08c144d95e7dad998d42c ChangeLog 6039 MD5 6be90f964bc6ca0195b0623338dfd1f0 celestia-1.3.2.ebuild 3063 -MD5 c191839acce72e8120ea5e6d0a232f8a celestia-1.4.0.ebuild 2650 +MD5 50cccd714b46ad2e5c3737207c31cf51 celestia-1.4.0.ebuild 2510 MD5 f659f2616eeaaa4d3b6422e586d2bfa2 files/celestia-1.3.2-noarts.patch 3566 MD5 d4ff8e51fb3a546279e7442cf24e07d7 files/digest-celestia-1.3.2 68 MD5 8e1dfea9c274b2242b921a467ec1d54b files/digest-celestia-1.4.0 68 diff --git a/sci-astronomy/celestia/celestia-1.4.0.ebuild b/sci-astronomy/celestia/celestia-1.4.0.ebuild index 719170d40..d8aa8ee9a 100644 --- a/sci-astronomy/celestia/celestia-1.4.0.ebuild +++ b/sci-astronomy/celestia/celestia-1.4.0.ebuild @@ -14,48 +14,44 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="gnome gtk kde arts threads nls lua" DEPEND="virtual/glu - media-libs/jpeg - media-libs/libpng - gtk? ( !gnome? ( !kde? ( - >=x11-libs/gtk+-2.6 - >=x11-libs/gtkglext-1.0 - ) ) ) - gnome? ( !kde? ( - >=x11-libs/gtk+-2.6 - >=x11-libs/gtkglext-1.0 - >=gnome-base/libgnomeui-2.0 - ) ) - kde? ( !gnome? ( - >=kde-base/kdelibs-3.0.5 - arts? ( kde-base/arts ) - ) ) - !gtk? ( !gnome? ( !kde? ( virtual/glut ) ) ) - lua? ( >=dev-lang/lua-5.0 )" + media-libs/jpeg + media-libs/libpng + gtk? ( !gnome? ( !kde? ( + >=x11-libs/gtk+-2.6 + >=x11-libs/gtkglext-1.0 + ) ) ) + gnome? ( !kde? ( + >=x11-libs/gtk+-2.6 + >=x11-libs/gtkglext-1.0 + >=gnome-base/libgnomeui-2.0 + ) ) + kde? ( ! gnome ( >=kde-base/kdelibs-3.0.5 ) ) + !gtk? ( !gnome? ( !kde? ( virtual/glut ) ) ) + arts? ( kde-base/arts ) + lua? ( >=dev-lang/lua-5.0 )" pkg_setup() { # Check for one for the following use flags to be set. - if use kde ; then + if ! use gnome && use kde; then einfo "USE=\"kde\" detected." - export mygui="kde" - elif use gnome ; then + mygui="kde" + elif ! use kde && use gnome; then einfo "USE=\"gnome\" detected." - export mygui="gnome" - elif use gtk ; then + USE_DESTDIR="1" + mygui="gnome" + elif ! use kde && ! use gnome && use gtk; then einfo "USE=\"gtk\" detected." - export mygui="gtk" + mygui="gtk" + elif use kde && use gnome; then + einfo "Both gnome and kde support requested. Defaulting to gtk" + mygui="gtk" else ewarn "If you want to use the full gui, set USE=\"{kde/gnome/gtk}\"" ewarn "Defaulting to glut support (no GUI)." - export mygui="glut" + mygui="glut" fi - # Get X11 implementation - X11_IMPLEM_P="$(best_version virtual/x11)" - X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" - X11_IMPLEM="${X11_IMPLEM##*\/}" - - einfo "Please note:" - einfo "if you experience problems building celestia with nvidia drivers," + einfo "If you experience problems building celestia with nvidia drivers," einfo "you can try:" einfo "eselect opengl set xorg-x11" einfo "emerge celestia" @@ -65,20 +61,23 @@ pkg_setup() { src_compile() { filter-flags "-funroll-loops -frerun-loop-opt" addwrite ${QTDIR}/etc/settings + # remove manual installation in /usr/share/${PN}/manual # replaced with dohtml in src_install sed -i -e "s:manual::g" Makefile.in + if [ "${mygui}" = "kde" ]; then set-kdedir 3 set-qtdir 3 export kde_widgetdir="$KDEDIR/lib/kde3/plugins/designer" fi + econf \ --with-${mygui} \ - $(use_with arts ) \ - $(use_with lua ) \ - $(use_enable threads threading ) \ - $(use_enable nls ) \ + $(use_with arts) \ + $(use_with lua) \ + $(use_enable threads threading) \ + $(use_enable nls) \ || die "econf failed" emake || die "emake failed" } @@ -93,5 +92,5 @@ src_install() { dodoc AUTHORS README TODO NEWS TRANSLATORS ChangeLog \ CelestiaKeyAssignments.txt KbdMouseJoyControls.txt devguide.txt - dohtml coding-standars.html manual/*.html manual/*.css + dohtml coding-standards.html manual/*.html manual/*.css } |