diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/evoluspencil |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/evoluspencil')
-rw-r--r-- | media-gfx/evoluspencil/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/evoluspencil/evoluspencil-2.0.5.ebuild | 44 | ||||
-rw-r--r-- | media-gfx/evoluspencil/files/launcher | 9 | ||||
-rw-r--r-- | media-gfx/evoluspencil/metadata.xml | 10 |
4 files changed, 69 insertions, 0 deletions
diff --git a/media-gfx/evoluspencil/Manifest b/media-gfx/evoluspencil/Manifest new file mode 100644 index 000000000000..ed603fdae106 --- /dev/null +++ b/media-gfx/evoluspencil/Manifest @@ -0,0 +1,6 @@ +AUX launcher 324 SHA256 16608d41dd0314982c8b4355da7fcfa8fccb86cb012256cb54bfb42d28020749 SHA512 4266eca92c9860a5bd73d14e3650729bf93e2b14525dfe6d7b36009273561404440395e3d494b924fc2f76372a97a17ee40f5e375f70157174783812b272fb72 WHIRLPOOL 9086d5ea9e67c5ae9c556a50d2cf812b57515b392135646de34176b5fa7b79d465426e4353049057c12cd102ca29210b01b56e9435faf53783e98d1a2599d808 +DIST pencil-2.0.5.tar.gz 4810418 SHA256 a07e855de89f99b35f93f6916b50cdef1be00d8d53aa57748197a38bc0b2c566 SHA512 cb9ab75f69ca886c7b0579dd293e4c4b4279eac21f4301ad0299e55b27d998d59f7b9444916d306939e6c7f4603a8267aecd3dc0ab3efc41175659886e399b0d WHIRLPOOL 171d2f6aac8862ca3482824680e720562dbb667e1d7186a0b144116a1a9a7b6540a4885db8a28df3237f21221f3728624f77206b0cac70fec511872d48859732 +EBUILD evoluspencil-2.0.5.ebuild 934 SHA256 3bc0a73d2985a8fe8c1eb934837c6d1b5a872d35d0461a1112865b652f6b0c54 SHA512 160de1770f26f0e46f114b91085c5d64230f9e891433e7f3c3f2e1cce9cc81ff6322eb95655d56d374a9235f673c06688b503ce5a31473e39dc00cce65104c66 WHIRLPOOL 5016f4e9f7a0e42587415b8d3144499df989037d3e41301a40045894902a27d275b03ede53a700b443933ee348b777bb392b1c625acdc4c44c0aecba54b7f8db +MISC ChangeLog 2539 SHA256 d90f46eb0c78d00cbcdc7b9dda3b6adc75e108bb1d0b2ace6d16e947d6108daa SHA512 c9b9b62750759bbd2fe088e1a4789bd003a165df710a7961f9851529941438bbd5ac75ef537280ac328d48353678ebc5e4d20f4ac9914b8538fc59cd83c99989 WHIRLPOOL 1a73bf2275937b8fbe097a3d7ae0cf431fa7832aa280dac9fa58f37fe0fdbb4c071c5653a06ba2425d379c6e2d9df6e14600c971f41c16a5474ed1e068c17b02 +MISC ChangeLog-2015 1653 SHA256 eff67d4952aeb28aad9225b6c48b5065346f412b1a630093d6487a27a84900fb SHA512 26712e99df94a1ce861304be91ca212e32e5f5b67ec68ec216580adef09d8e7ce755024cf67049d21d802e8637171a366bd676457aeccf0e5c9bd380a0e9da54 WHIRLPOOL e78a53219dabb82ee5c58ab15a89f37108dcec19c439a6353520c574eefd09fe43e012177f040fb4ee5fb6ed164d162ee69f7b3bc2ba5eb8bfad0ad416832ac9 +MISC metadata.xml 299 SHA256 9f0b3bb48da3eaa3102e8b5821eb5acf65674e9a1df6fac3ae253ebb17a0e8a9 SHA512 be27e090213278995ed73b5b85ef663921136f999def3608d1fdf79bd6537ba38d2424f204e228aa498fa85a2e327633c63b6ca01dae330cc37c4f6832ff861b WHIRLPOOL 350761aed61375537fe600988cf8789831dbdb0f50fa2cb1b5b54cca1664aecc914a4c8eaa4f75852af160634151c117b48ac59c618a7d73aaf22c8e3da95857 diff --git a/media-gfx/evoluspencil/evoluspencil-2.0.5.ebuild b/media-gfx/evoluspencil/evoluspencil-2.0.5.ebuild new file mode 100644 index 000000000000..9fd30e8fefa0 --- /dev/null +++ b/media-gfx/evoluspencil/evoluspencil-2.0.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +MY_P="pencil-${PV}" + +inherit fdo-mime + +DESCRIPTION="A simple GUI prototyping tool to create mockups" +HOMEPAGE="http://pencil.evolus.vn/" +SRC_URI="https://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="|| ( www-client/firefox www-client/firefox-bin )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # avoid file collisions with media-gfx/pencil + mv usr/bin/{pencil,${PN}} || die + mv usr/share/{pencil,${PN}} || die + mv usr/share/applications/{pencil,${PN}}.desktop || die + + sed -e "s/pencil/${PN}/" -i usr/bin/${PN} \ + -i usr/share/applications/${PN}.desktop || die +} + +src_install() { + insinto / + doins -r usr + newbin "${FILESDIR}"/launcher ${PN} +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} diff --git a/media-gfx/evoluspencil/files/launcher b/media-gfx/evoluspencil/files/launcher new file mode 100644 index 000000000000..4ac04e8c8c82 --- /dev/null +++ b/media-gfx/evoluspencil/files/launcher @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -x /usr/bin/firefox ] ; then + /usr/bin/firefox --app "/usr/share/evoluspencil/application.ini" +elif [ -x /usr/bin/firefox-bin ] ; then + /usr/bin/firefox-bin --app "/usr/share/evoluspencil/application.ini" +else + echo Could not execute required /usr/bin/firefox or /usr/bin/firefox-bin +fi diff --git a/media-gfx/evoluspencil/metadata.xml b/media-gfx/evoluspencil/metadata.xml new file mode 100644 index 000000000000..4ef6f906fdd1 --- /dev/null +++ b/media-gfx/evoluspencil/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kensington@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">evolus/pencil</remote-id> + </upstream> +</pkgmetadata> |