/[gentoo-x86]/app-misc/gpsdrive/gpsdrive-2.10_pre7.ebuild
Gentoo

Diff of /app-misc/gpsdrive/gpsdrive-2.10_pre7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-misc/gpsdrive/Attic/gpsdrive-2.10_pre7.ebuild,v 1.1 2009/06/24 08:05:08 tupone Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-misc/gpsdrive/Attic/gpsdrive-2.10_pre7.ebuild,v 1.2 2009/08/22 23:39:36 nerdboy Exp $
4EAPI=2 4EAPI=2
5 5
6inherit cmake-utils eutils fdo-mime 6inherit cmake-utils eutils fdo-mime
7 7
8DESCRIPTION="GPS navigation system with NMEA and Garmin support, zoomable map display, waypoints, etc." 8DESCRIPTION="GPS navigation system with NMEA and Garmin support, zoomable map display, waypoints, etc."
25 dev-db/sqlite:3 25 dev-db/sqlite:3
26 x11-libs/gtk+:2 26 x11-libs/gtk+:2
27 dbus? ( dev-libs/dbus-glib ) 27 dbus? ( dev-libs/dbus-glib )
28 gdal? ( sci-libs/gdal ) 28 gdal? ( sci-libs/gdal )
29 mapnik? ( sci-geosciences/mapnik ) 29 mapnik? ( sci-geosciences/mapnik )
30 libgda? ( >=gnome-extra/libgda-3.0.1[postgres] ) 30 libgda? ( =gnome-extra/libgda-3.0*[postgres] )
31 speech? ( app-accessibility/speech-dispatcher )" 31 speech? ( app-accessibility/speech-dispatcher )"
32 32
33DEPEND="${COMMON_DEP} 33DEPEND="${COMMON_DEP}
34 dev-util/pkgconfig" 34 dev-util/pkgconfig"
35 35
44 -e "s:truetype/ttf-dejavu:dejavu:g" \ 44 -e "s:truetype/ttf-dejavu:dejavu:g" \
45 -e "s:mapnik/0.5:mapnik:g" \ 45 -e "s:mapnik/0.5:mapnik:g" \
46 tests/gpsdriverc-in \ 46 tests/gpsdriverc-in \
47 src/gpsdrive_config.c || die "sed failed" 47 src/gpsdrive_config.c || die "sed failed"
48 # Fix desktop file... 48 # Fix desktop file...
49 sed -i -e "s:gpsicon:/usr/share/gpsdrive/pixmaps/gpsicon.png:g" \ 49 sed -i -e "s:gpsicon:/usr/share/icons/gpsdrive.png:g" \
50 -e "s:Graphics;Network;Geography:Application;Geography;GPS:g" \ 50 -e "s:Graphics;Network;Geography:Education;Science;Geography;GPS:g" \
51 data/gpsdrive.desktop || die "sed failed" 51 data/gpsdrive.desktop || die "sed failed"
52} 52}
53 53
54src_configure() { 54src_configure() {
55 local mycmakeargs="${mycmakeargs} 55 local mycmakeargs="${mycmakeargs}
89 elog 89 elog
90 elog "Be sure to see the README files in /usr/share/doc/${PF}" 90 elog "Be sure to see the README files in /usr/share/doc/${PF}"
91 elog "for information on using Kismet with gpsdrive." 91 elog "for information on using Kismet with gpsdrive."
92 elog 92 elog
93 if use mapnik ; then 93 if use mapnik ; then
94 elog "Using mapnik to render online map require you to" 94 elog "Using mapnik to render online maps requires you to load"
95 elog "load data into the postgis database. Follow instructions" 95 elog "data into the postgis database. Follow the instructions"
96 elog "on http://wiki.openstreetmap.org/index.php/Mapnik" 96 elog "on http://wiki.openstreetmap.org/index.php/Mapnik"
97 fi 97 fi
98 elog 98 elog
99 elog "This version also now depends on the gpsd package, and" 99 elog "This version also now depends on the gpsd package, and"
100 elog "specific devices are supported there. Start gpsd first," 100 elog "specific devices are supported there. Start gpsd first,"
101 elog "otherwise gpsdrive will only run in simulation mode (which" 101 elog "otherwise gpsdrive will only run in simulation mode (which"
102 elog "is handy for downloading maps for another location, but" 102 elog "is handy for downloading maps for another location, but"
103 elog "not much else)." 103 elog "not much else)."
104 elog 104 elog
105 elog "openstreetmap-icons now installs to a more appropriate"
106 elog "location, so if you have trouble starting gpsdrive, you"
107 elog "should probably update your ~/.gpsdrive/gpsdriverc file"
108 elog "and change the path to the geoinfofile to reflect this:"
109 elog " geoinfofile = /usr/share/osm/geoinfo.db"
110 elog
105} 111}
106 112
107pkg_postrm() { 113pkg_postrm() {
108 fdo-mime_desktop_database_update 114 fdo-mime_desktop_database_update
109} 115}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20