X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=media-gfx%2Fipe%2Fipe-7.1.0.ebuild;fp=media-gfx%2Fipe%2Fipe-7.0.12.ebuild;h=ef2a927323807b567f095b5457e331d9dce56bca;hp=83a14b4dc9b85b761e9d2d33a40b9255448be5bb;hb=4f417f25d180a78d5ab698e5704c462b4e47048a;hpb=3cc27e582d435b169534e583acdf57a1a64c34a7 diff --git a/media-gfx/ipe/ipe-7.0.12.ebuild b/media-gfx/ipe/ipe-7.1.0.ebuild similarity index 74% rename from media-gfx/ipe/ipe-7.0.12.ebuild rename to media-gfx/ipe/ipe-7.1.0.ebuild index 83a14b4..ef2a927 100644 --- a/media-gfx/ipe/ipe-7.0.12.ebuild +++ b/media-gfx/ipe/ipe-7.1.0.ebuild @@ -14,25 +14,21 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RESTRICT="mirror" # highprec: applies patch in order to write coordinates with higher precision -IUSE="seamonkey highprec" +IUSE="highprec" DEPEND=" app-text/texlive-core >=dev-lang/lua-5.1 - >=media-libs/freetype-2.1.8 + media-libs/freetype:2 sys-libs/zlib >=x11-libs/cairo-1.8.0 - >=x11-libs/qt-core-4.5:4 - >=x11-libs/qt-gui-4.5:4 + x11-libs/qt-core:4 + x11-libs/qt-gui:4 " -RDEPEND="${DEPEND} - !seamonkey? ( || ( www-client/firefox - www-client/firefox-bin ) ) - seamonkey? ( || ( www-client/seamonkey - www-client/seamonkey-bin ) )" - S=${S}/src +COMMONDIR=/usr/share/ipe/common + search_urw_fonts() { local texmfdist="$(kpsewhich -var-value=TEXMFDIST)" # colon-separated list of paths @@ -65,9 +61,6 @@ pkg_setup() { } src_compile() { - # Ipe's default browser is Firefox - local myconf - use seamonkey && myconf="IPEBROWSER=seamonkey" # fix detection of lua sed -i -e 's/lua5.1/lua/g' config.mak || die # don't strip installed binaries @@ -76,7 +69,7 @@ src_compile() { sed -i -e 's/moc-qt4/moc/' config.mak || die # -j1, since there are no deps in the Makefiles on libipe - emake -j1 CXX=$(tc-getCXX) $myconf IPEPREFIX="/usr" \ + emake -j1 CXX=$(tc-getCXX) IPEPREFIX="/usr" \ IPEDOCDIR="/usr/share/doc/${PF}" || die "emake failed" } @@ -84,4 +77,19 @@ src_install() { emake install IPEPREFIX="/usr" IPEDOCDIR="/usr/share/doc/${PF}" \ INSTALL_ROOT="${D}" || die "emake install failed" dodoc ../{news,readme}.txt || die + + # 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 } +