]> git.sthu.org Git - shuber-gentoo-overlay.git/commitdiff
ipe: restore for ipe-7.1.2 highprec and common styles
authorStefan Huber <shuber@sthu.org>
Tue, 8 Jan 2013 18:57:41 +0000 (19:57 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 8 Jan 2013 18:57:41 +0000 (19:57 +0100)
Commit 17b1cee929923afe2f3d42bb280324d0a328c5a5 accidently copied
portage's ebuild over this overlay. Restore our the custom features.

media-gfx/ipe/Manifest
media-gfx/ipe/ipe-7.1.2.ebuild

index 74cbeca6c579c9864395f972f861c690590c96b0..7be0f044d2510001c635acd577d6cf1e64cd2297 100644 (file)
@@ -7,5 +7,5 @@ DIST ipe-7.1.3-src.tar.gz 1497624 SHA256 4b3c537aeb9720e74ee5e63d50e1ec1f760f90b
 EBUILD ipe-7.0.14.ebuild 2568 SHA256 a2c93051a772cc1dfa89c9046c03172b81c33793295679693efb817105df4f6d SHA512 b25da43eddf9d4ebab11c2116b3dd6dbf23cea97ff1493d1e8c3d8bbc74fa20269318c6c820bdc979519731291781579df059141764aaca373ff8e07b583b5de WHIRLPOOL 2c498f7118c1ca184dd50ace3ea0613396104a7e58bef25156100195832608b53ed516fa0680f77faf4ced3f866cb397ca7f57b2d600835e665f56f247208fbe
 EBUILD ipe-7.1.0.ebuild 2550 SHA256 e7c148a5496287deec5e3ac3d3809285ce58f2f26dc807b0655faee00ea9949b SHA512 6ca7bd40e4c5486d6eec2b90dc01ac4498cc02ccbf30ba27948e31254bbb8db6ca4fff3feb8a26d9f4047ab264d0e7aa4e11aa7302c38151f95d667bebce2b77 WHIRLPOOL 9c64e7987ec58729f6c967895264d87c4373b1fd2b7a3d5bd9062ac507fdd0b14a08da487a8a311e4ad87f034384d9f422b79397665a8f346b1adecab58932df
 EBUILD ipe-7.1.1.ebuild 2550 SHA256 e7c148a5496287deec5e3ac3d3809285ce58f2f26dc807b0655faee00ea9949b SHA512 6ca7bd40e4c5486d6eec2b90dc01ac4498cc02ccbf30ba27948e31254bbb8db6ca4fff3feb8a26d9f4047ab264d0e7aa4e11aa7302c38151f95d667bebce2b77 WHIRLPOOL 9c64e7987ec58729f6c967895264d87c4373b1fd2b7a3d5bd9062ac507fdd0b14a08da487a8a311e4ad87f034384d9f422b79397665a8f346b1adecab58932df
-EBUILD ipe-7.1.2.ebuild 1731 SHA256 0e94488d0f9a3ab2a3a533ba630151e27bdb4f16a96f5c96de1a215f4bf8e8e2 SHA512 8a594c4eed41bdec73e4ef103ad4fbbd6c78cdf508c3f2ada23d99155e31ed05c1579c1cdbce6fddc30b1005d55cba22e374c1440293b9e0219a5ae99c7cc24e WHIRLPOOL 8ad4636b87bb7f94315af2af60eeb14092132acad4abb2e9e19f5511f9f03a860cf50b652271517fa705e20053c4a7bb1c519180aba677e94933a797e3067c77
+EBUILD ipe-7.1.2.ebuild 2370 SHA256 931d2fac037c93018dc9b0a23e97d6966dc3ae727095f638d1dd55f243cd31d3 SHA512 147b385e0c1f260761a897490780e68399d0642b050594d388212a70a2cdc3ba050de32752abe153db01197a10132d959337029a85c441b92e95b48f262b9bc9 WHIRLPOOL c3290c78d4881d989e7988592646e55e931c8db21fe9dfdc541ee62e2068ad28f3535eb4b37e166b1ee2780c2e34395543dd6ce2ad3ba34c3a969e5b1ab6bb84
 EBUILD ipe-7.1.3.ebuild 2370 SHA256 931d2fac037c93018dc9b0a23e97d6966dc3ae727095f638d1dd55f243cd31d3 SHA512 147b385e0c1f260761a897490780e68399d0642b050594d388212a70a2cdc3ba050de32752abe153db01197a10132d959337029a85c441b92e95b48f262b9bc9 WHIRLPOOL c3290c78d4881d989e7988592646e55e931c8db21fe9dfdc541ee62e2068ad28f3535eb4b37e166b1ee2780c2e34395543dd6ce2ad3ba34c3a969e5b1ab6bb84
index 7e4f7ef246b75b7a8a24f8fe35ec2660ff7c8e5b..9e39b249e130c93aa6181c7efa5d95237f102c73 100644 (file)
@@ -1,4 +1,3 @@
-# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -12,7 +11,7 @@ SRC_URI="mirror://sourceforge/ipe7/${PN}/7.1.0/${P}-src.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="highprec"
 
 RDEPEND="app-text/texlive-core
        dev-lang/lua
@@ -24,6 +23,7 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
 S="${WORKDIR}/${P}/src"
+COMMONDIR=/usr/share/ipe/common
 
 search_urw_fonts() {
        # colon-separated list of paths
@@ -41,6 +41,13 @@ search_urw_fonts() {
        return 1
 }
 
+src_prepare() {
+       if use highprec; then
+               einfo "Adding patch for higher output precision"
+               epatch "${FILESDIR}"/${PN}-outputprecision.patch
+       fi
+}
+
 pkg_setup() {
        if search_urw_fonts; then
                einfo "URW fonts found in ${URWFONTDIR}"
@@ -75,4 +82,17 @@ src_install() {
        dodoc ../{news,readme}.txt
        doicon ipe/icons/ipe.png
        make_desktop_entry ipe Ipe ipe
+       # Link style sheets
+       if [ -d $COMMONDIR/styles ]; then
+               einfo "Linking common style sheets from $COMMONDIR"
+               for f in $COMMONDIR/styles/*; do
+                       einfo "  Linking ${f##*/}"
+                       dosym $f usr/share/ipe/${PV}/styles/${f##*/}
+               done
+
+               elog "Style sheets from $COMMONDIR/styles have been symlinked to"
+               elog "the style sheet directory of ${P}. If you add additional"
+               elog "style sheets later to $COMMONDIR/styles you may symlink"
+               elog "them by hand to '/usr/share/ipe/${PV}/styles/'."
+       fi
 }