media-gfx/drawing: add 1.0.1

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2022-10-08 02:33:50 +03:00
parent 533b94dbb1
commit fa9f49cbfe
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 95 additions and 17 deletions

View File

@ -1 +1,2 @@
DIST drawing-0.6.1.tar.gz 7708597 BLAKE2B a4fc09c10d2666feb1aa013aec06c7a34fbe2e8422027f157b5d792c8b894a1b2b12cf175c4d9f8f28b7a70b5f3063388b65a02b8d672017c7b59018e934e51c SHA512 7da3329ecb009a7fff32c0c76d9211ef264a6f7f80399835e51b2f08495d84bd5fbaf418fcf4e0c1b0d92fd64cdc07cf962754332896df46bfe04f72244c9d16 DIST drawing-0.6.1.tar.gz 7708597 BLAKE2B a4fc09c10d2666feb1aa013aec06c7a34fbe2e8422027f157b5d792c8b894a1b2b12cf175c4d9f8f28b7a70b5f3063388b65a02b8d672017c7b59018e934e51c SHA512 7da3329ecb009a7fff32c0c76d9211ef264a6f7f80399835e51b2f08495d84bd5fbaf418fcf4e0c1b0d92fd64cdc07cf962754332896df46bfe04f72244c9d16
DIST drawing-1.0.1.tar.gz 14388196 BLAKE2B a3a1c392b8b33f27d172afd82f7654468799bc888e0e503f7c918b428bee839bf80e0fae461ac85808343dce392ac3856c1c63e352609a22bac32c01b3bdbb6a SHA512 68d1381e56233eded1562aa3632a4ae3e0afb0b2835530cfab8d30c56557d2e04915ef153b7965abe3ba00d603c7b0e354f37c088df382bb4345d55dc3fe7c2e

View File

@ -0,0 +1,68 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
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"
else
SRC_URI="https://github.com/maoschanz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
IUSE="doc"
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# tests are not useful
RESTRICT="test"
DEPEND="
${PYTHON_DEPS}
dev-libs/glib:2
dev-python/pygobject[cairo]
x11-libs/gtk+:3
"
RDEPEND="
${DEPEND}
"
BDEPEND="
doc? (
dev-util/itstool
sys-devel/gettext
)
"
src_configure() {
local emesonargs=(
$(meson_use doc enable-translation-and-appdate)
)
meson_src_configure
}
pkg_preinst() {
gnome2_schemas_savelist
xdg_pkg_preinst
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=8
PYTHON_COMPAT=( python3_{6,7,8} ) PYTHON_COMPAT=( python3_{8..11} )
inherit gnome2-utils meson python-single-r1 xdg inherit gnome2-utils meson python-single-r1 xdg
@ -18,42 +18,51 @@ else
KEYWORDS="~amd64" KEYWORDS="~amd64"
fi fi
RESTRICT=" IUSE="doc"
mirror
test
"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# tests are not useful
RESTRICT="test"
DEPEND=" DEPEND="
${PYTHON_DEPS} ${PYTHON_DEPS}
dev-libs/appstream-glib[introspection] dev-libs/glib:2
dev-libs/glib
dev-python/pygobject[cairo] dev-python/pygobject[cairo]
dev-util/desktop-file-utils x11-libs/gtk+:3
" "
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
" "
BDEPEND="
doc? (
dev-util/itstool
sys-devel/gettext
)
"
src_configure() {
local emesonargs=(
$(meson_use doc enable-translation-and-appdate)
)
meson_src_configure
}
pkg_preinst() { pkg_preinst() {
gnome2_schemas_savelist gnome2_schemas_savelist
xdg_environment_reset xdg_pkg_preinst
} }
pkg_postinst() { pkg_postinst() {
gnome2_gconf_install gnome2_gconf_install
gnome2_schemas_update gnome2_schemas_update
xdg_icon_cache_update xdg_pkg_postinst
xdg_desktop_database_update
xdg_mimeinfo_database_update
} }
pkg_postrm() { pkg_postrm() {
gnome2_gconf_uninstall gnome2_gconf_uninstall
gnome2_schemas_update gnome2_schemas_update
xdg_icon_cache_update xdg_pkg_postrm
xdg_desktop_database_update
xdg_mimeinfo_database_update
} }