From: Michael Palimaka Date: Fri, 1 Nov 2019 09:56:47 +0000 (+1100) Subject: media-gfx/evoluspencil: version bump 3.1.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe6a5e4348eaa9b3a64b7061e1ad25b6b821be73;p=gentoo.git media-gfx/evoluspencil: version bump 3.1.0 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Michael Palimaka --- diff --git a/media-gfx/evoluspencil/Manifest b/media-gfx/evoluspencil/Manifest index b8ac0a8490bd..4742ad8605b3 100644 --- a/media-gfx/evoluspencil/Manifest +++ b/media-gfx/evoluspencil/Manifest @@ -1 +1,2 @@ DIST evoluspencil-3.0.4-49.rpm 55779457 BLAKE2B 7f74bf4d0ac4dcd6ef2e37d56e6b06eda72a34e6c4bc0e2fbb5b55727bb3ba0ecfe183e64ad5f6abe77d258dca2bfc7acca0d08c934a7700699690ff8d39e335 SHA512 72a17841d214523223d6f35ca8ba69076070baf83248ceb5747a23865ec955f8aafbb799eb01b3a3c99226a7bc1653e55be6f7292941b1a859598e016673f2ec +DIST evoluspencil-3.1.0-1.rpm 88059338 BLAKE2B 905f37968815be8daf37f60197f33636094c1007553d917f4098e09de9943bbd027bb21cf216df64145206ac968b48fff7a91fcb3acbb1b5d01a897375e31e99 SHA512 3a9a451563f499d918b36b48482a13107e18de0f7fcb786b20a88ffd8f487cf07cfdc279bcf6d4db3b8bbde89a424352d7e1fa1d8eeaa4972d830ec22883a15f diff --git a/media-gfx/evoluspencil/evoluspencil-3.1.0.ebuild b/media-gfx/evoluspencil/evoluspencil-3.1.0.ebuild new file mode 100644 index 000000000000..199a2b8ec46d --- /dev/null +++ b/media-gfx/evoluspencil/evoluspencil-3.1.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit rpm xdg-utils + +MY_PN="${PN/evolus/}" +MY_PV="${PV}.ga" + +DESCRIPTION="A simple GUI prototyping tool to create mockups" +HOMEPAGE="https://pencil.evolus.vn/" +SRC_URI="https://pencil.evolus.vn/dl/V${MY_PV}/${MY_PN}-${MY_PV}-1.x86_64.rpm -> ${P}-1.rpm" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-accessibility/at-spi2-atk + app-accessibility/at-spi2-core + dev-libs/atk + dev-libs/expat + dev-libs/glib + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + net-print/cups + sys-apps/dbus + sys-apps/util-linux + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango +" + +S="${WORKDIR}" + +QA_PREBUILT=" + opt/${MY_PN}/*.so + opt/${MY_PN}/chrome-sandbox + opt/${MY_PN}/pencil +" + +src_prepare() { + default + rm opt/${MY_PN}-${MY_PV}/${MY_PN}.desktop || die +} + +src_install() { + insinto /opt/${MY_PN} + doins -r opt/${MY_PN}-${MY_PV}/* + + fperms 755 /opt/${MY_PN}/${MY_PN} + dosym ../../opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN} + + insinto /usr/share/applications + doins "${FILESDIR}"/${MY_PN}.desktop + + mkdir -p "${D}"/usr/share/icons/hicolor/256x256/apps/ || die + mv "${D}"/opt/${MY_PN}/${MY_PN}.png "${D}"/usr/share/icons/hicolor/256x256/apps/ || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-gfx/evoluspencil/files/pencil.desktop b/media-gfx/evoluspencil/files/pencil.desktop new file mode 100644 index 000000000000..4a3354ddfd9e --- /dev/null +++ b/media-gfx/evoluspencil/files/pencil.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Pencil +Comment=An open-source GUI prototyping tool that is available for ALL platforms. +Exec="/usr/bin/pencil" +Terminal=false +Type=Application +Icon=pencil +Categories=Graphics