]> git.sthu.org Git - shuber-gentoo-overlay.git/commitdiff
media-gfx/ipe: Drop some old versions
authorStefan Huber <shuber@sthu.org>
Mon, 4 Jan 2021 09:09:28 +0000 (10:09 +0100)
committerStefan Huber <shuber@sthu.org>
Mon, 4 Jan 2021 09:09:28 +0000 (10:09 +0100)
media-gfx/ipe/ipe-7.2.18.ebuild [deleted file]
media-gfx/ipe/ipe-7.2.19.ebuild [deleted file]
media-gfx/ipe/ipe-7.2.20.ebuild [deleted file]

diff --git a/media-gfx/ipe/ipe-7.2.18.ebuild b/media-gfx/ipe/ipe-7.2.18.ebuild
deleted file mode 100644 (file)
index 03508f0..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-3 )
-inherit lua-single eutils toolchain-funcs
-
-DESCRIPTION="Drawing editor for creating figures in PDF or PS formats"
-HOMEPAGE="http://ipe.otfried.org"
-SRC_URI="https://dl.bintray.com/otfried/generic/ipe/${PV%.*}/${P}-src.tar.gz"
-
-RESTRICT="mirror"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="highprec"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="app-text/texlive-core
-       media-libs/freetype:2
-       x11-libs/cairo
-       dev-qt/qtcore:5
-       dev-qt/qtwidgets:5"
-DEPEND="${RDEPEND}
-       ${LUA_DEPS}"
-
-BDEPEND="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_/usr/lib64/qt5/bin/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
-               eapply "${FILESDIR}"/${PN}-outputprecision.patch
-       fi
-
-       eapply_user
-}
-
-pkg_setup() {
-       lua-single_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"
-}
-
-src_install() {
-       emake install \
-               IPEPREFIX="${EPREFIX}/usr" \
-               IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
-               INSTALL_ROOT="${ED}" \
-               LUA_VERSION="$(lua_get_version)"
-       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/ipe/ipe-7.2.19.ebuild b/media-gfx/ipe/ipe-7.2.19.ebuild
deleted file mode 100644 (file)
index 03508f0..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-3 )
-inherit lua-single eutils toolchain-funcs
-
-DESCRIPTION="Drawing editor for creating figures in PDF or PS formats"
-HOMEPAGE="http://ipe.otfried.org"
-SRC_URI="https://dl.bintray.com/otfried/generic/ipe/${PV%.*}/${P}-src.tar.gz"
-
-RESTRICT="mirror"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="highprec"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="app-text/texlive-core
-       media-libs/freetype:2
-       x11-libs/cairo
-       dev-qt/qtcore:5
-       dev-qt/qtwidgets:5"
-DEPEND="${RDEPEND}
-       ${LUA_DEPS}"
-
-BDEPEND="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_/usr/lib64/qt5/bin/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
-               eapply "${FILESDIR}"/${PN}-outputprecision.patch
-       fi
-
-       eapply_user
-}
-
-pkg_setup() {
-       lua-single_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"
-}
-
-src_install() {
-       emake install \
-               IPEPREFIX="${EPREFIX}/usr" \
-               IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
-               INSTALL_ROOT="${ED}" \
-               LUA_VERSION="$(lua_get_version)"
-       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/ipe/ipe-7.2.20.ebuild b/media-gfx/ipe/ipe-7.2.20.ebuild
deleted file mode 100644 (file)
index 03508f0..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-3 )
-inherit lua-single eutils toolchain-funcs
-
-DESCRIPTION="Drawing editor for creating figures in PDF or PS formats"
-HOMEPAGE="http://ipe.otfried.org"
-SRC_URI="https://dl.bintray.com/otfried/generic/ipe/${PV%.*}/${P}-src.tar.gz"
-
-RESTRICT="mirror"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="highprec"
-
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="app-text/texlive-core
-       media-libs/freetype:2
-       x11-libs/cairo
-       dev-qt/qtcore:5
-       dev-qt/qtwidgets:5"
-DEPEND="${RDEPEND}
-       ${LUA_DEPS}"
-
-BDEPEND="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_/usr/lib64/qt5/bin/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
-               eapply "${FILESDIR}"/${PN}-outputprecision.patch
-       fi
-
-       eapply_user
-}
-
-pkg_setup() {
-       lua-single_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"
-}
-
-src_install() {
-       emake install \
-               IPEPREFIX="${EPREFIX}/usr" \
-               IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
-               INSTALL_ROOT="${ED}" \
-               LUA_VERSION="$(lua_get_version)"
-       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
-}