From 569c47d2dad871dfd07816a3d32d4c12610c26bd Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 4 Jan 2021 09:36:07 +0100 Subject: [PATCH] media-gfx/ipe: Switch to lua-single eclass --- media-gfx/ipe/Manifest | 10 +++++----- media-gfx/ipe/ipe-7.2.18.ebuild | 15 +++++++++++---- media-gfx/ipe/ipe-7.2.19.ebuild | 15 +++++++++++---- media-gfx/ipe/ipe-7.2.20.ebuild | 15 +++++++++++---- media-gfx/ipe/ipe-7.2.21.ebuild | 15 +++++++++++---- media-gfx/ipe/ipe-7.2.22.ebuild | 15 +++++++++++---- 6 files changed, 60 insertions(+), 25 deletions(-) diff --git a/media-gfx/ipe/Manifest b/media-gfx/ipe/Manifest index c658e5b..61e103b 100644 --- a/media-gfx/ipe/Manifest +++ b/media-gfx/ipe/Manifest @@ -4,9 +4,9 @@ DIST ipe-7.2.19-src.tar.gz 1870385 BLAKE2B 697138f2acbbaf41664a40f97f0a852f28f04 DIST ipe-7.2.20-src.tar.gz 1876081 BLAKE2B 57216a1fd4f94c09a30309124bac8eff0167b319eb06c2fcf19847ba303c5e64a6c5d8738ead9c4c1ecd33abdf97375158a75dc7d172d458a8536b5bb3a2a171 SHA512 13a3fdcda3ce5bbf725c973f3b7a33f7edd1835bdadb2c72b2895ef624d568cbb92da7042833159b7643ebae94afa68b8bbfcf0ccbd80f0588a3b2b91b2124aa DIST ipe-7.2.21-src.tar.gz 2005014 BLAKE2B 59a318946abd6b8939d7fb04c730642585bc2ea410d2ae3c69eecd447eaad2ad535343c2a9d31515fe519d0aaebf33a6306f28169ec0d7c6b3ed15987ddb1271 SHA512 edbce7a71a2b29c8995ee65489f9bbec1e0f40c19af112cd597ee6b585119750f245a3cf12936c4b1c4e10089953c26617c8845f4b73bf18600b745adc815c0b DIST ipe-7.2.22-src.tar.gz 2011023 BLAKE2B 95ab65c7241428d35e2aa335f1b000d00ace28d6828b33331acd2c25f2d1dec7ee023a190337b73c70c1022a46a0d85d3745a179b2a14c25ce8bd30839286c22 SHA512 2a681d7936cecc973ef4fbd3a9dd438ea92ca0023a6f21540f7966aa6e19c5d0301966ebdd60f7e0204039fb80dd11c65324a5ba5ffd7b6fe23870472ccd2070 -EBUILD ipe-7.2.18.ebuild 2377 BLAKE2B 7a060e0723d7e3b4d40c9c0382edd3f9f00ac659d15b3221d0ab160b2a151cd79a14e7fd4a3d7868ed46e79de17b6e55f25b4ef8d5fade5f20a724009411de06 SHA512 c826618d040bf826871aa77816f5e04cb39275e12f344e4c6aab2ab51b7fd560ece8e432bca00e1d8787b8ef4377087d8ccfc2f2c246ddfadbba91ab4e002833 -EBUILD ipe-7.2.19.ebuild 2377 BLAKE2B 7a060e0723d7e3b4d40c9c0382edd3f9f00ac659d15b3221d0ab160b2a151cd79a14e7fd4a3d7868ed46e79de17b6e55f25b4ef8d5fade5f20a724009411de06 SHA512 c826618d040bf826871aa77816f5e04cb39275e12f344e4c6aab2ab51b7fd560ece8e432bca00e1d8787b8ef4377087d8ccfc2f2c246ddfadbba91ab4e002833 -EBUILD ipe-7.2.20.ebuild 2377 BLAKE2B 7a060e0723d7e3b4d40c9c0382edd3f9f00ac659d15b3221d0ab160b2a151cd79a14e7fd4a3d7868ed46e79de17b6e55f25b4ef8d5fade5f20a724009411de06 SHA512 c826618d040bf826871aa77816f5e04cb39275e12f344e4c6aab2ab51b7fd560ece8e432bca00e1d8787b8ef4377087d8ccfc2f2c246ddfadbba91ab4e002833 -EBUILD ipe-7.2.21.ebuild 2377 BLAKE2B 7a060e0723d7e3b4d40c9c0382edd3f9f00ac659d15b3221d0ab160b2a151cd79a14e7fd4a3d7868ed46e79de17b6e55f25b4ef8d5fade5f20a724009411de06 SHA512 c826618d040bf826871aa77816f5e04cb39275e12f344e4c6aab2ab51b7fd560ece8e432bca00e1d8787b8ef4377087d8ccfc2f2c246ddfadbba91ab4e002833 -EBUILD ipe-7.2.22.ebuild 2377 BLAKE2B 7a060e0723d7e3b4d40c9c0382edd3f9f00ac659d15b3221d0ab160b2a151cd79a14e7fd4a3d7868ed46e79de17b6e55f25b4ef8d5fade5f20a724009411de06 SHA512 c826618d040bf826871aa77816f5e04cb39275e12f344e4c6aab2ab51b7fd560ece8e432bca00e1d8787b8ef4377087d8ccfc2f2c246ddfadbba91ab4e002833 +EBUILD ipe-7.2.18.ebuild 2514 BLAKE2B 03cdda33f124a7fb5e0f13c9d8274dc281fa5d4e8d9cc5c0df6c5454afb004e64986dbe9fad07fdc0ab3d54fc49c561af471b388104c2e411526dacd4c9652af SHA512 d81d198df0d1353afcbac1afc2f0cf57df1993324986eeec7446518d034bc15f1eff3bd077e3a3e1a70babc4d2f71aa97a115fdcb09550508ebdc18aa67f2426 +EBUILD ipe-7.2.19.ebuild 2514 BLAKE2B 03cdda33f124a7fb5e0f13c9d8274dc281fa5d4e8d9cc5c0df6c5454afb004e64986dbe9fad07fdc0ab3d54fc49c561af471b388104c2e411526dacd4c9652af SHA512 d81d198df0d1353afcbac1afc2f0cf57df1993324986eeec7446518d034bc15f1eff3bd077e3a3e1a70babc4d2f71aa97a115fdcb09550508ebdc18aa67f2426 +EBUILD ipe-7.2.20.ebuild 2514 BLAKE2B 03cdda33f124a7fb5e0f13c9d8274dc281fa5d4e8d9cc5c0df6c5454afb004e64986dbe9fad07fdc0ab3d54fc49c561af471b388104c2e411526dacd4c9652af SHA512 d81d198df0d1353afcbac1afc2f0cf57df1993324986eeec7446518d034bc15f1eff3bd077e3a3e1a70babc4d2f71aa97a115fdcb09550508ebdc18aa67f2426 +EBUILD ipe-7.2.21.ebuild 2514 BLAKE2B 03cdda33f124a7fb5e0f13c9d8274dc281fa5d4e8d9cc5c0df6c5454afb004e64986dbe9fad07fdc0ab3d54fc49c561af471b388104c2e411526dacd4c9652af SHA512 d81d198df0d1353afcbac1afc2f0cf57df1993324986eeec7446518d034bc15f1eff3bd077e3a3e1a70babc4d2f71aa97a115fdcb09550508ebdc18aa67f2426 +EBUILD ipe-7.2.22.ebuild 2514 BLAKE2B 03cdda33f124a7fb5e0f13c9d8274dc281fa5d4e8d9cc5c0df6c5454afb004e64986dbe9fad07fdc0ab3d54fc49c561af471b388104c2e411526dacd4c9652af SHA512 d81d198df0d1353afcbac1afc2f0cf57df1993324986eeec7446518d034bc15f1eff3bd077e3a3e1a70babc4d2f71aa97a115fdcb09550508ebdc18aa67f2426 MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc diff --git a/media-gfx/ipe/ipe-7.2.18.ebuild b/media-gfx/ipe/ipe-7.2.18.ebuild index ecac0eb..d0c08da 100644 --- a/media-gfx/ipe/ipe-7.2.18.ebuild +++ b/media-gfx/ipe/ipe-7.2.18.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils toolchain-funcs + +LUA_COMPAT=( lua5-{3..4} ) +inherit lua-single eutils toolchain-funcs DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" HOMEPAGE="http://ipe.otfried.org" @@ -15,14 +17,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="highprec" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RDEPEND="app-text/texlive-core - >=dev-lang/lua-5.3 media-libs/freetype:2 x11-libs/cairo dev-qt/qtcore:5 dev-qt/qtwidgets:5" DEPEND="${RDEPEND} - virtual/pkgconfig" + ${LUA_DEPS}" + +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${P}/src" COMMONDIR=/usr/share/ipe/common @@ -59,6 +64,7 @@ src_prepare() { } pkg_setup() { + lua-single_pkg_setup if search_urw_fonts; then einfo "URW fonts found in ${URWFONTDIR}" else @@ -78,7 +84,8 @@ src_install() { emake install \ IPEPREFIX="${EPREFIX}/usr" \ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" + INSTALL_ROOT="${ED}" \ + LUA_VERSION="$(lua_get_version)" dodoc ../{news,readme}.txt doicon ipe/icons/ipe.png make_desktop_entry ipe Ipe ipe diff --git a/media-gfx/ipe/ipe-7.2.19.ebuild b/media-gfx/ipe/ipe-7.2.19.ebuild index ecac0eb..d0c08da 100644 --- a/media-gfx/ipe/ipe-7.2.19.ebuild +++ b/media-gfx/ipe/ipe-7.2.19.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils toolchain-funcs + +LUA_COMPAT=( lua5-{3..4} ) +inherit lua-single eutils toolchain-funcs DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" HOMEPAGE="http://ipe.otfried.org" @@ -15,14 +17,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="highprec" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RDEPEND="app-text/texlive-core - >=dev-lang/lua-5.3 media-libs/freetype:2 x11-libs/cairo dev-qt/qtcore:5 dev-qt/qtwidgets:5" DEPEND="${RDEPEND} - virtual/pkgconfig" + ${LUA_DEPS}" + +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${P}/src" COMMONDIR=/usr/share/ipe/common @@ -59,6 +64,7 @@ src_prepare() { } pkg_setup() { + lua-single_pkg_setup if search_urw_fonts; then einfo "URW fonts found in ${URWFONTDIR}" else @@ -78,7 +84,8 @@ src_install() { emake install \ IPEPREFIX="${EPREFIX}/usr" \ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" + INSTALL_ROOT="${ED}" \ + LUA_VERSION="$(lua_get_version)" dodoc ../{news,readme}.txt doicon ipe/icons/ipe.png make_desktop_entry ipe Ipe ipe diff --git a/media-gfx/ipe/ipe-7.2.20.ebuild b/media-gfx/ipe/ipe-7.2.20.ebuild index ecac0eb..d0c08da 100644 --- a/media-gfx/ipe/ipe-7.2.20.ebuild +++ b/media-gfx/ipe/ipe-7.2.20.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils toolchain-funcs + +LUA_COMPAT=( lua5-{3..4} ) +inherit lua-single eutils toolchain-funcs DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" HOMEPAGE="http://ipe.otfried.org" @@ -15,14 +17,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="highprec" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RDEPEND="app-text/texlive-core - >=dev-lang/lua-5.3 media-libs/freetype:2 x11-libs/cairo dev-qt/qtcore:5 dev-qt/qtwidgets:5" DEPEND="${RDEPEND} - virtual/pkgconfig" + ${LUA_DEPS}" + +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${P}/src" COMMONDIR=/usr/share/ipe/common @@ -59,6 +64,7 @@ src_prepare() { } pkg_setup() { + lua-single_pkg_setup if search_urw_fonts; then einfo "URW fonts found in ${URWFONTDIR}" else @@ -78,7 +84,8 @@ src_install() { emake install \ IPEPREFIX="${EPREFIX}/usr" \ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" + INSTALL_ROOT="${ED}" \ + LUA_VERSION="$(lua_get_version)" dodoc ../{news,readme}.txt doicon ipe/icons/ipe.png make_desktop_entry ipe Ipe ipe diff --git a/media-gfx/ipe/ipe-7.2.21.ebuild b/media-gfx/ipe/ipe-7.2.21.ebuild index ecac0eb..d0c08da 100644 --- a/media-gfx/ipe/ipe-7.2.21.ebuild +++ b/media-gfx/ipe/ipe-7.2.21.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils toolchain-funcs + +LUA_COMPAT=( lua5-{3..4} ) +inherit lua-single eutils toolchain-funcs DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" HOMEPAGE="http://ipe.otfried.org" @@ -15,14 +17,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="highprec" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RDEPEND="app-text/texlive-core - >=dev-lang/lua-5.3 media-libs/freetype:2 x11-libs/cairo dev-qt/qtcore:5 dev-qt/qtwidgets:5" DEPEND="${RDEPEND} - virtual/pkgconfig" + ${LUA_DEPS}" + +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${P}/src" COMMONDIR=/usr/share/ipe/common @@ -59,6 +64,7 @@ src_prepare() { } pkg_setup() { + lua-single_pkg_setup if search_urw_fonts; then einfo "URW fonts found in ${URWFONTDIR}" else @@ -78,7 +84,8 @@ src_install() { emake install \ IPEPREFIX="${EPREFIX}/usr" \ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" + INSTALL_ROOT="${ED}" \ + LUA_VERSION="$(lua_get_version)" dodoc ../{news,readme}.txt doicon ipe/icons/ipe.png make_desktop_entry ipe Ipe ipe diff --git a/media-gfx/ipe/ipe-7.2.22.ebuild b/media-gfx/ipe/ipe-7.2.22.ebuild index ecac0eb..d0c08da 100644 --- a/media-gfx/ipe/ipe-7.2.22.ebuild +++ b/media-gfx/ipe/ipe-7.2.22.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit eutils toolchain-funcs + +LUA_COMPAT=( lua5-{3..4} ) +inherit lua-single eutils toolchain-funcs DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" HOMEPAGE="http://ipe.otfried.org" @@ -15,14 +17,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="highprec" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RDEPEND="app-text/texlive-core - >=dev-lang/lua-5.3 media-libs/freetype:2 x11-libs/cairo dev-qt/qtcore:5 dev-qt/qtwidgets:5" DEPEND="${RDEPEND} - virtual/pkgconfig" + ${LUA_DEPS}" + +BDEPEND="virtual/pkgconfig" S="${WORKDIR}/${P}/src" COMMONDIR=/usr/share/ipe/common @@ -59,6 +64,7 @@ src_prepare() { } pkg_setup() { + lua-single_pkg_setup if search_urw_fonts; then einfo "URW fonts found in ${URWFONTDIR}" else @@ -78,7 +84,8 @@ src_install() { emake install \ IPEPREFIX="${EPREFIX}/usr" \ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" + INSTALL_ROOT="${ED}" \ + LUA_VERSION="$(lua_get_version)" dodoc ../{news,readme}.txt doicon ipe/icons/ipe.png make_desktop_entry ipe Ipe ipe -- 2.39.5