From bbb5d62d57b3f0817b8fda1f56a7352a7c402077 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 7 May 2014 11:43:57 +0200 Subject: [PATCH] Add media-gfx/ipe-7.1.5 --- media-gfx/ipe/Manifest | 2 + media-gfx/ipe/ipe-7.1.5.ebuild | 96 ++++++++++++++++++++++++++++++++++ media-gfx/pdftoipe/Manifest | 2 + 3 files changed, 100 insertions(+) create mode 100644 media-gfx/ipe/ipe-7.1.5.ebuild diff --git a/media-gfx/ipe/Manifest b/media-gfx/ipe/Manifest index 22be447..96513fb 100644 --- a/media-gfx/ipe/Manifest +++ b/media-gfx/ipe/Manifest @@ -5,9 +5,11 @@ DIST ipe-7.1.1-src.tar.gz 1283803 SHA256 749d916c0d9f2af9f92d09e2a9b79cba8f6e262 DIST ipe-7.1.2-src.tar.gz 1416404 SHA256 3390de67ee22b2de74acfab2e9fb29bcfd6fe180688086febb758dc8a82eda11 SHA512 9d49c5f116a6271fce5a5a6c77cad64e348b17b9b02d1be8bece341231ebc15f642d6af49e73958e4d26814eafc52be38855e4d24e8cf44488da6a752151a189 WHIRLPOOL 80770369cf07fa9bdf2f3d40fe88e2e312d65c9b075f3eae44822ede2e38cc5f378c8078ab21e14a25a604977578b3be71978dd71844c7877abc50ba0f7f8f4c 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 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 2351 SHA256 0707173d524e88246ffecb721cd9ec5faefd944e0f8f5166bbc9ead5796ae9cd SHA512 0714d9234e8c358eb2a6cf983e7b9e437e55e583371f052c58777c4f3860b3b304cf6a7023f83d78e1b675b78e95b7f7e7b20cd1f9155ebfcc72037e35869d64 WHIRLPOOL fb7d004c5afe1c9b79561d5e88ac9727ce181e39ccc0d27fd491c96728886f6108c0ab7dc708496d19240f0304e0d13fc2216210b6d4f9a670b8d9cbce9dabf1 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 diff --git a/media-gfx/ipe/ipe-7.1.5.ebuild b/media-gfx/ipe/ipe-7.1.5.ebuild new file mode 100644 index 0000000..c4d1a50 --- /dev/null +++ b/media-gfx/ipe/ipe-7.1.5.ebuild @@ -0,0 +1,96 @@ +# 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" + +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 +} diff --git a/media-gfx/pdftoipe/Manifest b/media-gfx/pdftoipe/Manifest index 93462e6..f84e25e 100644 --- a/media-gfx/pdftoipe/Manifest +++ b/media-gfx/pdftoipe/Manifest @@ -3,7 +3,9 @@ AUX poppler-0.18.patch 308 SHA256 f2a0ba22b1eb052fe6a671bbcc7c83be0a2f4e8ff3f49e AUX poppler-0.20.patch 281 SHA256 08a8ad78369a1062a840d48c7d85fe0dbcc507d1e2565ef357be62e5d3503def SHA512 68149b180855bd47700dc24ff4858e1c7be874370bb84efeae9a44e49c6c7f59303544e9aa84bb6c1f8a634badd9ff5a4152e16c8eeb4f8fb7135b2bc2cfd0f9 WHIRLPOOL 9e687787942c53721efa9767641f0c1acc04f4c526376f445a333d04058605029356555375d385a9403e488bfd0a7fb39040de3a2aa6a68ba8ac5b58997754fc DIST pdftoipe-20110916.tar.gz 105648 SHA256 0c331d7d5ce7d0cca5d64e5f26a3a24934810896cdcbb4a18ce30b9245bdcfae SHA512 4781edd3224d7c09191e3a944a52b4b807830fdd433df89cf645e6ab3d150a5a3a007b00cd069f274b8f4ccbd2152c2c4394584d604fae7f2aae5f04680c8521 WHIRLPOOL 1d7936560444bcbdafb0ef826cb44ab8b49e6e1a1b9cf628b83c493ae6374d97c261009f03925751b67525eda4cfb54358ed43fb0f8f4c706d5f1297a4b1380b DIST pdftoipe-20130124.tar.gz 92652 SHA256 d93dd1e129013865a44405caad213d598dc42fb487505743140bd2215c740113 SHA512 9a65af12fdc517e6ce45b5290f41aea7223ba114a5aa75cb962e1e3ac1e17d54f21dcd80782e31235f84536896a84e480cbc818e76a8ee2a4b01b3b1ed2d7a95 WHIRLPOOL a1edfeb4b02849a73385d5129f2c2dd0da877eadcaf291f31e309b3d8bdf1de2c88e8aca220d70eeff67e6686b5a183a84cb74135bc62c139e33bee657e61e31 +DIST pdftoipe-20140303.tar.gz 93337 SHA256 edeaeeac71eb95608e01a5e1a0c20af45cc90196511bb843dda3c2f596042df4 SHA512 f8f2b1e7ceb130a6fc77740d1c5efdc0ea3d4b5c17a116fb79e6b70e7fa4720fb7903688b496f999bf68c517240abcbd56395a4c5f9759f59e01bcc7c31ee8b6 WHIRLPOOL 3afcbde3a51ea7363d84bd8f76c8392d8737714e01cd75c43e3b5986a1792e17371f688c16c751515880fef80d8e8ef70539d56bf80ce0302ca9d958c90b5c8c EBUILD pdftoipe-20110916-r2.ebuild 774 SHA256 aa441d138b71fe097b5dc5ceebb0bc1d1d6b71144950c2260dc155cf991dfabe SHA512 36b72760157ec13ef0e75b1a9caa1c70a0a39c0ba73966fa0bb8e582c82121918c3536ae358854e9db823cc118157e285c3e8944b691ad0701483b62b789c2c1 WHIRLPOOL f90a817daea1274722441296b76358cf9fc8569d9f7f7aa053191325e4e483054c7a1aba648205724af6339c85db629d5f35ba815781b775c82914ed8feaa34d EBUILD pdftoipe-20110916.ebuild 642 SHA256 0b1544e728e545dd6f620ed0138e39d5cc9bf4e659724f4f9ad25981dc9a87a4 SHA512 15b2ef4b3f33c333230bf282303a148bc95cf9e62866957c02c841de5058426e1b5273113f2b2ed17d7081a5a36c8643acd9694358f4ef2407e91fe19cf004e3 WHIRLPOOL c11883a7cde9c554980665fd31095e67d18cdd4854be879afe0a9ad86daa1a3dcf5a421e8f1abb3c44dfae11260c21d4a08c087b93460d4abcba44922ec4fb4f EBUILD pdftoipe-20130124-r1.ebuild 725 SHA256 e1006da9d186b01aceb15fd67638880cbba2f2ef77baf1496ff7a68979da0ec2 SHA512 aa3e8988092393da486926bcea2af93daee260f70165dc146e4bb50b61e1ff260d9fb566ef23c5fab728386957c8d4f8b83b57680e1a7975a8546c57bc5a9e08 WHIRLPOOL 900ecbefe3c02a75ae9d1761a6da4726fee768f58c6355267f8d941d89806f781b940faf7d371a6804c81bb78f4f918b96bc5de5c1803d1268535cacc28b456a EBUILD pdftoipe-20130124.ebuild 659 SHA256 3e02fd2182f5ebbbd69db09976df3e71969068c6eb6061d9d37f67365370768c SHA512 0edef273df2148a4eda65bd3af7c7e989fdd46a79bf6e9aed59e174d9b54059d04614cc149a51fb91d4767d9429e967720e7ad09ad5e85d2cc0e9b3b8f28e283 WHIRLPOOL bf89b59183ca51dc87339dee309c510eaf8f17c2831053d355e8b1e4e343ea6d63ffa4070e6b2e19ba2d9f8d230f082ebc0444fa8496475ecba927758d2d0f0b +EBUILD pdftoipe-20140303.ebuild 725 SHA256 e1006da9d186b01aceb15fd67638880cbba2f2ef77baf1496ff7a68979da0ec2 SHA512 aa3e8988092393da486926bcea2af93daee260f70165dc146e4bb50b61e1ff260d9fb566ef23c5fab728386957c8d4f8b83b57680e1a7975a8546c57bc5a9e08 WHIRLPOOL 900ecbefe3c02a75ae9d1761a6da4726fee768f58c6355267f8d941d89806f781b940faf7d371a6804c81bb78f4f918b96bc5de5c1803d1268535cacc28b456a -- 2.39.5