diff options
author | Christian Schlotter (schlotter) <again@gmx.de> | 2007-01-08 14:04:13 +0000 |
---|---|---|
committer | Christian Schlotter (schlotter) <again@gmx.de> | 2007-01-08 14:04:13 +0000 |
commit | d631aa4847e677c9bd13f0782ef94ff1592e71c8 (patch) | |
tree | d76da2625d369e6c164ddf574e7d57bef36befa6 /media-gfx/ipe | |
parent | Remove seamonkey-bin (diff) | |
download | sunrise-d631aa4847e677c9bd13f0782ef94ff1592e71c8.tar.gz sunrise-d631aa4847e677c9bd13f0782ef94ff1592e71c8.tar.bz2 sunrise-d631aa4847e677c9bd13f0782ef94ff1592e71c8.zip |
media-gfx/ipe: New ebuild for bug 80448.
svn path=/sunrise/; revision=2683
Diffstat (limited to 'media-gfx/ipe')
-rw-r--r-- | media-gfx/ipe/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/ipe/Manifest | 16 | ||||
-rw-r--r-- | media-gfx/ipe/files/digest-ipe-6.0_pre28 | 3 | ||||
-rw-r--r-- | media-gfx/ipe/ipe-6.0_pre28.ebuild | 78 | ||||
-rw-r--r-- | media-gfx/ipe/metadata.xml | 5 |
5 files changed, 110 insertions, 0 deletions
diff --git a/media-gfx/ipe/ChangeLog b/media-gfx/ipe/ChangeLog new file mode 100644 index 000000000..8f2512d49 --- /dev/null +++ b/media-gfx/ipe/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-gfx/ipe +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Jan 2007; Christian Schlotter (schlotter) <again@gmx.de> + +ipe-6.0_pre28.ebuild, +metadata.xml: + New ebuild for bug 80448. + diff --git a/media-gfx/ipe/Manifest b/media-gfx/ipe/Manifest new file mode 100644 index 000000000..71144caf3 --- /dev/null +++ b/media-gfx/ipe/Manifest @@ -0,0 +1,16 @@ +DIST ipe-6.0pre28-src.tar.gz 960391 RMD160 83efafe9bf07646dc95b289629f97bd09f55e0d5 SHA1 81570659309727e95b83a9a2d00d34dac255cd07 SHA256 f567973352400d2a4fddda3e5e724bf05ede1e5f6ab9e6b91cbf79c472566e55 +EBUILD ipe-6.0_pre28.ebuild 2073 RMD160 8b46f19a3aecfb8037967581445f673c85ec03df SHA1 6b5a9ee05fe54023428e9ac8b6be39377626e166 SHA256 3ca80228f25030996ee6d31cc9adb1d89ce75f958001db78e848ad0a65f2ce70 +MD5 bf0651bfb5f274a683465a984f5003e6 ipe-6.0_pre28.ebuild 2073 +RMD160 8b46f19a3aecfb8037967581445f673c85ec03df ipe-6.0_pre28.ebuild 2073 +SHA256 3ca80228f25030996ee6d31cc9adb1d89ce75f958001db78e848ad0a65f2ce70 ipe-6.0_pre28.ebuild 2073 +MISC ChangeLog 245 RMD160 4a867ca0ffea8e8d352a11de54b379aa48e6d02f SHA1 e7e2f9f3e5aa273aaab303a2c1d843d9fdf359ee SHA256 d7d389c5e474e86b15f6ac3c5fe12ab184fee294507a6df5feeef4758ac5990c +MD5 34f4f2afe8d8b9062e584cadefe0ad0f ChangeLog 245 +RMD160 4a867ca0ffea8e8d352a11de54b379aa48e6d02f ChangeLog 245 +SHA256 d7d389c5e474e86b15f6ac3c5fe12ab184fee294507a6df5feeef4758ac5990c ChangeLog 245 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 e0184f98f6b4000dc1096d501cf4a1b4 files/digest-ipe-6.0_pre28 250 +RMD160 39ab2c3ddf668f99ae28b1a727e0e30953e4bcd1 files/digest-ipe-6.0_pre28 250 +SHA256 1c5049529feaa406fc355ba56270dcde014a2f1ebfbf8bf753c488eb2f759866 files/digest-ipe-6.0_pre28 250 diff --git a/media-gfx/ipe/files/digest-ipe-6.0_pre28 b/media-gfx/ipe/files/digest-ipe-6.0_pre28 new file mode 100644 index 000000000..bdb255f61 --- /dev/null +++ b/media-gfx/ipe/files/digest-ipe-6.0_pre28 @@ -0,0 +1,3 @@ +MD5 b0b7d0c935b9687984d2f28b1c8b7226 ipe-6.0pre28-src.tar.gz 960391 +RMD160 83efafe9bf07646dc95b289629f97bd09f55e0d5 ipe-6.0pre28-src.tar.gz 960391 +SHA256 f567973352400d2a4fddda3e5e724bf05ede1e5f6ab9e6b91cbf79c472566e55 ipe-6.0pre28-src.tar.gz 960391 diff --git a/media-gfx/ipe/ipe-6.0_pre28.ebuild b/media-gfx/ipe/ipe-6.0_pre28.ebuild new file mode 100644 index 000000000..0c5b10011 --- /dev/null +++ b/media-gfx/ipe/ipe-6.0_pre28.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit qt4 + +MY_P="${P/_/}" +DESCRIPTION="An extensible drawing editor which creates figures for inclusion in LaTeX documents and makes PDF presentations." +HOMEPAGE="http://ipe.compgeom.org/" +SRC_URI="http://ipe.compgeom.org/${MY_P}-src.tar.gz + http://tclab.kaist.ac.kr/ipe/${MY_P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="firefox" + +DEPEND="$(qt4_min_version 4.2) + >=media-libs/freetype-2.1.8" +# The virtual/tetex dep is for pdfLaTeX and URW fonts. +RDEPEND="${DEPEND} + virtual/tetex + firefox? ( || ( www-client/mozilla-firefox + www-client/mozilla-firefox-bin ) )" + + +S="${WORKDIR}/${MY_P}/src" + +search_urw_fonts() { + local texmfdist="$(kpsewhich -var-value=TEXMFDIST)" # colon-separated + # list of paths + local urwdir=fonts/type1/urw # according to TeX directory structure + IFS="${IFS}:" # add colon as field separator + for dir in ${texmfdist}; do + if [[ -d "${dir}/${urwdir}" ]]; then + URWFONTDIR="${dir}/${urwdir}" + return 0 + fi + done + return 1 +} + +pkg_setup() { + search_urw_fonts + if [ $? -eq 0 ]; then + einfo "URW fonts found in ${URWFONTDIR}." + else + ewarn "Could not find directory containing URW fonts. Ipe will not" + ewarn "function properly without them." + fi +} + +src_compile() { + # until Ipe bug #206 is not resolved... + # local myconf + # use firefox && myconf="IPEBROWSER=firefox" + use firefox && \ + sed -i -e "s/IPEBROWSER = mozilla/IPEBROWSER = firefox/" config.pri + qmake \ + "IPEPREFIX=/usr" \ + "IPEDOCDIR=/usr/share/doc/${PF}" \ + ${myconf} \ + main.pro || die "qmake failed" + emake || die "emake failed" +} + +src_install() { + emake install "INSTALL_ROOT=${D}" || die "emake install failed" + cd ${WORKDIR}/${MY_P} + local fontmapdir=/usr/share/${PN}/${MY_P/${PN}-/} + if [ -n ${URWFONTDIR} ]; then + einfo "Creating fontmap ..." + sed -e "s:/usr/share/texmf/type1/urw:${URWFONTDIR}:" \ + tetex-fontmap.xml > ${D}/${fontmapdir}/fontmap.xml + eend $? + fi + dodoc install.txt news.txt readme.txt +} diff --git a/media-gfx/ipe/metadata.xml b/media-gfx/ipe/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/media-gfx/ipe/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |