DIST ipe-7.1.3-src.tar.gz 1497624 SHA256 4b3c537aeb9720e74ee5e63d50e1ec1f760f90b3896ffb9acc8c20353f60b8e9 SHA512 eea85ed6f4bc23e746222e01f4cdfd101c9c18aeb19fcba9abff565a65614a2a5e6630ddf9f7b024cac225582a34238a22f6fc5cf7dcc3733b8281ce844ef23d WHIRLPOOL a1b46452fb3b2d5da72a411eca48a2e24331416727b4013cecebad962817d3029c63a972ae7ee743b35cfe9adc4dc3c59d04572e9b472fdf774ad67202b0b264
DIST ipe-7.1.4-src.tar.gz 1502198 SHA256 50ccd74064595a7bbaa93ef8f8a9988fd4be31fd545ce9c6e85c604e0c8a44eb SHA512 bec286ad3a4a1119efc3140c5b3141a9b217189436845185c597447735eaee9298ef6371e6cae1ed4c7bb8bbdf5ece1d3a5f54b2ae8ae5df199a6cc49ad860c8 WHIRLPOOL daa682ca20d131dc8290d357682998f42d45794d1e19e20bb495f518c5578c9ee40d57568518c78145c0d34f67d7f6464223b8281a13a17545447fb997c38a87
DIST ipe-7.1.5-src.tar.gz 1609566 SHA256 fe63a0511bd52d4e256b06f35ce8abc5610267a10594280ca0aaaf15c6e27b1a SHA512 41bc6d417037e45dbff44e1b4fb57c6ad3a6a0cac4106d062d2e36c5b1a55ae9704d1f020fde37f89ddf1e1560c5e0750f462c9bcefa996ade7e69a146421f4f WHIRLPOOL 582845b9a7dd282b63a9a07f346f291a12a3d4c44fab894dd136a28441d142f619dbeb61962e9e514c4bf8c218b7bf903c543b2529773dbea9f920aebfb21fc1
+DIST ipe-7.1.7-src.tar.gz 1758157 SHA256 ec670cd7f0fa521271fc54bf9b663570d82280bdbe405be6de59535fec7c00d2 SHA512 d47b984bfc5d605b4b1ee14ec94ec0abb923955c564d9a25c62f8b3bab7dd40a302ee683654ac5dce7a9903f60ca41c8621c09e88bda9d12afeaa1ad4c6d4b75 WHIRLPOOL 3ccdb72207359d1c27894b5d9d606cc4f648fa2246e098f1a6aea9b5e08f69b256cd1e00afd47987c559e2fb64c5cba2d533d5c812fa9f0dfd9c047decb4110c
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.3.ebuild 2345 SHA256 67b7284d5416e8a2df6d38d6457d050aeb363799f438a5ca58b5a8dfb62e7b54 SHA512 f4f1d8a3c213a55c8f98165e41da6682720b4e9a525f6da27437de94edef9aecde38c537257b27b21e786fd9cabbbfa039494673d73b55e2a22d7bddc5d1232b WHIRLPOOL 2a94bb4c3ecf176ef3fca2e86403a8ab514c2b4217959d34171e80bfe7aa33ec6511ed6ee648cd74e358968b9b0d1017e49ca34b5df81ab92521247bedbf9fad
EBUILD ipe-7.1.4.ebuild 2371 SHA256 5981f9868b73ab160dd8ed0c395aec0a33e78d6f7972c6a35e0d6f3697547d28 SHA512 053939b5f6693ccabcdb3f209ca79ac1d5ae7e1abc26787599536d1e667086a905f1157f0a183fd328f858582a7dd9bf1d0be6ae146531eae6e0283b3518d33e WHIRLPOOL a4da13bbef6636e32d7f5aa8a530ae11613b1fd1d9060a07b5c1cc310693f3607e59bbbc988d2e45958d6494d8dee7d7dd57f4cd51930a534950bc842c7c2c03
EBUILD ipe-7.1.5.ebuild 2371 SHA256 5981f9868b73ab160dd8ed0c395aec0a33e78d6f7972c6a35e0d6f3697547d28 SHA512 053939b5f6693ccabcdb3f209ca79ac1d5ae7e1abc26787599536d1e667086a905f1157f0a183fd328f858582a7dd9bf1d0be6ae146531eae6e0283b3518d33e WHIRLPOOL a4da13bbef6636e32d7f5aa8a530ae11613b1fd1d9060a07b5c1cc310693f3607e59bbbc988d2e45958d6494d8dee7d7dd57f4cd51930a534950bc842c7c2c03
+EBUILD ipe-7.1.7.ebuild 2389 SHA256 658cff6a34e1bd24eca1c35e5bfb8eaa752396ddc0ac7c0ccc1e3d5ed9ae008c SHA512 ea3fefc38cfa752caae8777cc9d1eb26189c3af8cfa858f549cba86b3acf47bae75028bcdaae4c645ffc6bdf45ecca710ec182cfdf1719d9b6652b629776aafb WHIRLPOOL e5807826d72df81e9420382a3fee668b3d7e98076ce9d65e1e5bc174122588d7779611704d3eb2f741169c272a04a568b9a401c34e56c2acee80d6cf5acc7625
--- /dev/null
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils toolchain-funcs qt4-r2
+
+DESCRIPTION="Drawing editor for creating figures in PDF or PS formats"
+HOMEPAGE="http://ipe7.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ipe7/${PN}/7.1.0/${P}-src.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="highprec"
+
+RDEPEND="app-text/texlive-core
+ >=dev-lang/lua-5.2
+ media-libs/freetype:2
+ x11-libs/cairo
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/src"
+COMMONDIR=/usr/share/ipe/common
+
+search_urw_fonts() {
+ # colon-separated list of paths
+ local texmfdist="$(kpsewhich -var-value=TEXMFDIST)"
+ # according to TeX directory structure
+ local urwdir=fonts/type1/urw
+ # add colon as field separator
+ local IFS="${IFS}:" dir
+ for dir in ${texmfdist}; do
+ if [[ -d ${dir}/${urwdir} ]]; then
+ URWFONTDIR="${dir}/${urwdir}"
+ return 0
+ fi
+ done
+ return 1
+}
+
+src_prepare() {
+ sed -i \
+ -e 's/fpic/fPIC/' \
+ -e 's/moc-qt4/moc/' \
+ -e "s:\$(IPEPREFIX)/lib:\$(IPEPREFIX)/$(get_libdir):g" \
+ config.mak || die
+ sed -i -e 's/install -s/install/' common.mak || die
+
+ 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}"
+ else
+ ewarn "Could not find directory containing URW fonts"
+ ewarn "Ipe will not function properly without them."
+ fi
+}
+
+src_compile() {
+ emake \
+ CXX=$(tc-getCXX) \
+ IPEPREFIX="${EPREFIX}/usr" \
+ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
+ LUA_PACKAGE=lua
+}
+
+src_install() {
+ emake install \
+ IPEPREFIX="${EPREFIX}/usr" \
+ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
+ INSTALL_ROOT="${ED}"
+ 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
+}