media-gfx/drawing: new pkg; add version 0.6.1 and 9999 (live)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-10-03 04:49:50 +02:00
parent 97a4d8a604
commit 14d8d3ff81
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 134 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST drawing-0.6.1.tar.gz 7708597 BLAKE2B a4fc09c10d2666feb1aa013aec06c7a34fbe2e8422027f157b5d792c8b894a1b2b12cf175c4d9f8f28b7a70b5f3063388b65a02b8d672017c7b59018e934e51c SHA512 7da3329ecb009a7fff32c0c76d9211ef264a6f7f80399835e51b2f08495d84bd5fbaf418fcf4e0c1b0d92fd64cdc07cf962754332896df46bfe04f72244c9d16

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit gnome2-utils meson python-single-r1 xdg
DESCRIPTION="A drawing application for the GNOME desktop"
HOMEPAGE="https://github.com/maoschanz/drawing"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/maoschanz/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/maoschanz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="
mirror
test
"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
dev-libs/appstream-glib[introspection]
dev-libs/glib
dev-python/pygobject[cairo]
dev-util/desktop-file-utils
"
RDEPEND="
${DEPEND}
"
pkg_preinst() {
gnome2_schemas_savelist
xdg_environment_reset
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,61 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit gnome2-utils meson python-single-r1 xdg
DESCRIPTION="A drawing application for the GNOME desktop"
HOMEPAGE="https://github.com/maoschanz/drawing"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/maoschanz/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/maoschanz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="
mirror
test
"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
dev-libs/appstream-glib[introspection]
dev-libs/glib
dev-python/pygobject[cairo]
dev-util/desktop-file-utils
"
RDEPEND="
${DEPEND}
"
pkg_preinst() {
gnome2_schemas_savelist
xdg_environment_reset
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@protonmail.com</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="gitlab">maoschanz/drawing</remote-id>
</upstream>
</pkgmetadata>