From d9cf679f16cbc649ab9b3fd0c1c3a6f82c182d6b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 25 Jan 2020 12:37:42 +0000 Subject: x11-terms/cool-retro-term: migrate from gnome2-utils to xdg-utils Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich --- .../cool-retro-term-1.1.1-r1.ebuild | 62 ---------------------- .../cool-retro-term-1.1.1-r2.ebuild | 60 +++++++++++++++++++++ 2 files changed, 60 insertions(+), 62 deletions(-) delete mode 100644 x11-terms/cool-retro-term/cool-retro-term-1.1.1-r1.ebuild create mode 100644 x11-terms/cool-retro-term/cool-retro-term-1.1.1-r2.ebuild (limited to 'x11-terms') diff --git a/x11-terms/cool-retro-term/cool-retro-term-1.1.1-r1.ebuild b/x11-terms/cool-retro-term/cool-retro-term-1.1.1-r1.ebuild deleted file mode 100644 index ae6bd03245b4..000000000000 --- a/x11-terms/cool-retro-term/cool-retro-term-1.1.1-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit gnome2-utils qmake-utils - -QTW_PN=qmltermwidget -QTW_PV=0.2.0 -QTW_P=${QTW_PN}-${QTW_PV} - -DESCRIPTION="terminal emulator which mimics the look and feel of the old cathode tube screens" -HOMEPAGE="https://github.com/Swordfish90/cool-retro-term" -SRC_URI="https://github.com/Swordfish90/cool-retro-term/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/Swordfish90/qmltermwidget/archive/${QTW_PV}.tar.gz -> ${QTW_P}.tar.gz" - -LICENSE="GPL-2 GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - dev-qt/qtdeclarative:5[localstorage] - dev-qt/qtgraphicaleffects:5 - dev-qt/qtquickcontrols:5[widgets] - dev-qt/qtsql:5 - dev-qt/qtwidgets:5 -" - -RDEPEND="${DEPEND}" - -src_prepare() { - default - - rmdir qmltermwidget || die - mv "${WORKDIR}/${QTW_P}" qmltermwidget || die - pushd qmltermwidget || die - eapply "${FILESDIR}"/qmltermwidget-0.2.0-gcc-10.patch - popd || die -} - -src_configure() { - eqmake5 PREFIX="${EPREFIX}/usr" -} - -src_install() { - # default attempts to install directly to /usr - emake INSTALL_ROOT="${D}" install - doman packaging/debian/cool-retro-term.1 -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} diff --git a/x11-terms/cool-retro-term/cool-retro-term-1.1.1-r2.ebuild b/x11-terms/cool-retro-term/cool-retro-term-1.1.1-r2.ebuild new file mode 100644 index 000000000000..1f9256427d7d --- /dev/null +++ b/x11-terms/cool-retro-term/cool-retro-term-1.1.1-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg-utils + +QTW_PN=qmltermwidget +QTW_PV=0.2.0 +QTW_P=${QTW_PN}-${QTW_PV} + +DESCRIPTION="terminal emulator which mimics the look and feel of the old cathode tube screens" +HOMEPAGE="https://github.com/Swordfish90/cool-retro-term" +SRC_URI="https://github.com/Swordfish90/cool-retro-term/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/Swordfish90/qmltermwidget/archive/${QTW_PV}.tar.gz -> ${QTW_P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-qt/qtdeclarative:5[localstorage] + dev-qt/qtgraphicaleffects:5 + dev-qt/qtquickcontrols:5[widgets] + dev-qt/qtsql:5 + dev-qt/qtwidgets:5 +" + +RDEPEND="${DEPEND}" + +src_prepare() { + default + + rmdir qmltermwidget || die + mv "${WORKDIR}/${QTW_P}" qmltermwidget || die + pushd qmltermwidget || die + eapply "${FILESDIR}"/qmltermwidget-0.2.0-gcc-10.patch + popd || die +} + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" +} + +src_install() { + # default attempts to install directly to /usr + emake INSTALL_ROOT="${D}" install + doman packaging/debian/cool-retro-term.1 +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} -- cgit v1.2.3-65-gdbad