@XGQT you asked for it - Microsoft Paint added

This commit is contained in:
grepwood 2020-04-25 16:06:12 +02:00
parent c384259c8a
commit 10d6d2141d
6 changed files with 76 additions and 0 deletions

12
licenses/UNKNOWN Normal file
View File

@ -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.

View File

@ -0,0 +1 @@
DIST mspaint.exe 343040 BLAKE2B 25057623fbeb70ca6c61c980bb051ccec011fefc7b58e9af97f01a1386ac8a4104469215a06639b2876f77a5f6ff58b7c2087c3cce6b5d4a03faa40f750ff85a SHA512 5986851823ec9a4d2f250f7850fc8d1b7e81f32df229d0e2bcdfe2b6bbc620683bd290a982e21075f97f16e338840efcbe0515b904d20b4a463086233a7b3082

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -euo pipefail
wine /usr/share/mspaint/mspaint.exe

View File

@ -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;

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View File

@ -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
}