summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-06-22 13:07:09 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-06-22 13:07:09 +0000
commit6e852efb3e75aace76878bacd580d33320f50715 (patch)
tree53147d89daad1dadbabdef5c106364bd9cf7b5da /sci-geosciences
parentkeyword ~x86-fbsd (diff)
downloadhistorical-6e852efb3e75aace76878bacd580d33320f50715.tar.gz
historical-6e852efb3e75aace76878bacd580d33320f50715.tar.bz2
historical-6e852efb3e75aace76878bacd580d33320f50715.zip
Rebuild icons and geoinfo db.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/openstreetmap-icons/ChangeLog6
-rw-r--r--sci-geosciences/openstreetmap-icons/Manifest4
-rw-r--r--sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild24
3 files changed, 27 insertions, 7 deletions
diff --git a/sci-geosciences/openstreetmap-icons/ChangeLog b/sci-geosciences/openstreetmap-icons/ChangeLog
index aaff9bdc0480..2dc9942b9219 100644
--- a/sci-geosciences/openstreetmap-icons/ChangeLog
+++ b/sci-geosciences/openstreetmap-icons/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-geosciences/openstreetmap-icons
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v 1.1 2009/06/20 19:02:23 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/ChangeLog,v 1.2 2009/06/22 13:07:09 tupone Exp $
+
+ 22 Jun 2009; Alfredo Tupone <tupone@gentoo.org>
+ openstreetmap-icons-20090616.ebuild:
+ Rebuild icons and geoinfo db.
*openstreetmap-icons-20090616 (20 Jun 2009)
diff --git a/sci-geosciences/openstreetmap-icons/Manifest b/sci-geosciences/openstreetmap-icons/Manifest
index 23bb8d8bf48f..f809ab1f816f 100644
--- a/sci-geosciences/openstreetmap-icons/Manifest
+++ b/sci-geosciences/openstreetmap-icons/Manifest
@@ -1,4 +1,4 @@
DIST openstreetmap-icons-20090616.tar.bz2 2207156 RMD160 5a7ad79db1d0ca326cd51119a06361540bd9cfc7 SHA1 706a7881f274969baf4c3bf9212daf8c9c3fb686 SHA256 e1397d7ecb04335eaaa6160f61d84078840a3e13eeaa3de090fe26de8e09f3ff
-EBUILD openstreetmap-icons-20090616.ebuild 628 RMD160 9692d0730ce158d2acc4720812735270ae8216be SHA1 c0ed638d35178aa937e4746ef7d05151e19973b9 SHA256 0981a2220ec5b4b58d976a4600b5a11c7d2c5f4a1bfd7b5a0748c71d7ffec2e3
-MISC ChangeLog 421 RMD160 6c737b9c8e9e39047d6454ca0cf8fd410b0559da SHA1 722a7b8c1a1916e2b612ed222a1310221b03f661 SHA256 5a3c57793da98172ad8f12f5ef9d8485907b5a674b8d2768b33e0cb60e2be23b
+EBUILD openstreetmap-icons-20090616.ebuild 1047 RMD160 65a5fc8405f41130b3ba70483807c35a03d53b98 SHA1 10f08ab53c595da0c6d76993286852a1ed392a36 SHA256 2c53328b49a3b4996037a3e8c66a373d7104e3bf793f92a40ced1975d5d4f765
+MISC ChangeLog 543 RMD160 195f99e7fa5209060bf270519c2b42c62eaca09a SHA1 ddedd62a3869d551649a07ec5e5bd31ca00f981c SHA256 34bf9b0256ea053433f310db2f87e6f12fa5e98e83c69234662be097e1e5c9fd
MISC metadata.xml 328 RMD160 adf0588ea8641b51c6b9ee17491bdb0f9695ae12 SHA1 3fd8c69098a42e95fc226d3ad536bb4055fa46a4 SHA256 e7c7bf7d172251192430b7435291c86d294819f7b48af5fb3e5e880eac08331b
diff --git a/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild b/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild
index e93d200cd1e3..a1c0ca202a53 100644
--- a/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild
+++ b/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild,v 1.1 2009/06/20 19:02:23 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/openstreetmap-icons/openstreetmap-icons-20090616.ebuild,v 1.2 2009/06/22 13:07:09 tupone Exp $
+
+EAPI=2
+
+inherit cmake-utils
DESCRIPTION="openstreetmap icons"
HOMEPAGE="http://www.openstreetmap.org/"
@@ -11,12 +15,24 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND=""
+DEPEND="dev-perl/ImageInfo
+ media-gfx/imagemagick[perl]"
RDEPEND=""
+S=${WORKDIR}/${P}/map-icons
+
+src_compile() {
+ cmake-utils_src_compile
+ cp icons.* ${CMAKE_BUILD_DIR}
+ cd ${CMAKE_BUILD_DIR}
+ perl "${S}"/tools/create_geoinfo-db.pl --lang=en --source=icons.xml
+ perl "${S}"/tools/create_geoinfo-db.pl --lang=de --source=icons.xml
+}
+
# tar.bz2 generated extracting files from
# http://svn.openstreetmap.org/applications/share/map-icons
src_install() {
- insinto /usr/share/icons/
- doins -r map-icons
+ insinto /usr/share/icons/map-icons
+ cd ../map-icons_build
+ doins -r icons.* geoinfo.* *.small *.big || die "Install failed"
}