diff --git a/licenses/UNKNOWN b/licenses/UNKNOWN new file mode 100644 index 0000000..3ef2191 --- /dev/null +++ b/licenses/UNKNOWN @@ -0,0 +1,12 @@ +This is a placeholder license for software which proved difficult enough to +find a license text for, that the attempt was temporarily or permanently +abandoned. + +Such software is software that: +- FAILS to produce a license text in any of its running course +- FAILS to produce a license text via `strings` analysis +- FAILS to produce a copyright notice in any of its running course +- FAILS to produce a copyright notice via `strings` analysis + +We deliver such software in ebuilds in good faith. Everyone is welcome to help +find the license so that our ebuilds can be fully legally compliant. diff --git a/media-gfx/mspaint/Manifest b/media-gfx/mspaint/Manifest new file mode 100644 index 0000000..f9c02f0 --- /dev/null +++ b/media-gfx/mspaint/Manifest @@ -0,0 +1 @@ +DIST mspaint.exe 343040 BLAKE2B 25057623fbeb70ca6c61c980bb051ccec011fefc7b58e9af97f01a1386ac8a4104469215a06639b2876f77a5f6ff58b7c2087c3cce6b5d4a03faa40f750ff85a SHA512 5986851823ec9a4d2f250f7850fc8d1b7e81f32df229d0e2bcdfe2b6bbc620683bd290a982e21075f97f16e338840efcbe0515b904d20b4a463086233a7b3082 diff --git a/media-gfx/mspaint/files/mspaint b/media-gfx/mspaint/files/mspaint new file mode 100644 index 0000000..63c43b9 --- /dev/null +++ b/media-gfx/mspaint/files/mspaint @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +set -euo pipefail +wine /usr/share/mspaint/mspaint.exe diff --git a/media-gfx/mspaint/files/mspaint.desktop b/media-gfx/mspaint/files/mspaint.desktop new file mode 100644 index 0000000..26ca523 --- /dev/null +++ b/media-gfx/mspaint/files/mspaint.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Microsoft Paint +Comment=Microsoft Paint for Windows XP +Keywords=mspaint;graphic;design;illustration;painting; +Exec=mspaint +Icon=mspaint +Categories=Graphics;2DGraphics;RasterGraphics; diff --git a/media-gfx/mspaint/metadata.xml b/media-gfx/mspaint/metadata.xml new file mode 100644 index 0000000..097975e --- /dev/null +++ b/media-gfx/mspaint/metadata.xml @@ -0,0 +1,4 @@ + + + + diff --git a/media-gfx/mspaint/mspaint-5.1.2600.ebuild b/media-gfx/mspaint/mspaint-5.1.2600.ebuild new file mode 100644 index 0000000..2845f01 --- /dev/null +++ b/media-gfx/mspaint/mspaint-5.1.2600.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Microsoft Paint for Windows XP." +HOMEPAGE="https://archive.org/details/mspaint_xp_version" + +LICENSE+=" UNKNOWN" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +SRC_URI="https://archive.org/download/mspaint_xp_version/mspaint.exe" + +IUSE="+abi_x86_32" +REQUIRED_USE="abi_x86_32" + +BDEPEND+=" + media-gfx/icoutils + media-gfx/imagemagick + sys-apps/coreutils +" + +RDEPEND+=" + app-shells/bash:0 + virtual/wine[abi_x86_32] +" + +DEPEND="${RDEPEND}" + +S=${WORKDIR} + +src_unpack() { + wrestool -x -t14 -o . "${DISTDIR}"/mspaint.exe + convert mspaint.exe_14_2.ico mspaint.png + mv mspaint-6.png mspaint.png +} + +src_install() { + insinto /usr/share/mspaint + doins "${DISTDIR}"/mspaint.exe + insinto /usr/share/pixmaps + doins mspaint.png + insinto /usr/share/applications + doins "${FILESDIR}"/mspaint.desktop + dobin "${FILESDIR}"/mspaint +}