mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
app-office/softmaker-office-nx: add 1234
Signed-off-by: amielke <gentoo@amielke.de> neue Datei: app-office/softmaker-office-nx/Manifest neue Datei: app-office/softmaker-office-nx/metadata.xml neue Datei: app-office/softmaker-office-nx/softmaker-office-nx-1234.ebuild neue Datei: licenses/SoftMakerOffice
This commit is contained in:
1
app-office/softmaker-office-nx/Manifest
Normal file
1
app-office/softmaker-office-nx/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST softmaker-office-nx-1234-amd64.tgz 305598779 BLAKE2B 710a0ec67ca5f3ffed09749a9b9041bfac8f8e396765b687269fbdcb174b3b9cc24b45e82aa2935ce36bc693215ca3b1b31dbc512d3fc2ac3f3e67dfa05957eb SHA512 1b6b2085bed7e7ebd80f0e916df02c272f4e57eb2d3e7b5145bf70313013e05545ae3bccd0bf5ac9fa03fd3e67b9e3335ce0dd55007882d5dc3ab66101c98056
|
||||
8
app-office/softmaker-office-nx/metadata.xml
Normal file
8
app-office/softmaker-office-nx/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@amielke.de</email>
|
||||
<name>Andread Mielke</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
113
app-office/softmaker-office-nx/softmaker-office-nx-1234.ebuild
Normal file
113
app-office/softmaker-office-nx/softmaker-office-nx-1234.ebuild
Normal file
@@ -0,0 +1,113 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
DESCRIPTION="SoftMaker Office NX binary package"
|
||||
HOMEPAGE="https://www.softmaker.com"
|
||||
SRC_URI="https://www.softmaker.net/down/softmaker-office-nx-${PV//\./-}-amd64.tgz"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="SoftMakerOffice"
|
||||
|
||||
PAYLOAD="${WORKDIR}/officenx"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="strip mirror bindist"
|
||||
|
||||
RDEPEND="
|
||||
net-misc/curl
|
||||
sys-libs/glibc
|
||||
virtual/opengl
|
||||
dev-libs/glib
|
||||
media-libs/gstreamer
|
||||
media-libs/gst-plugins-base
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
"
|
||||
|
||||
QA_PREBUILT="/opt/softmaker-office-nx/*"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
mkdir "${PAYLOAD}" || die
|
||||
cd "${PAYLOAD}" || die
|
||||
|
||||
xz -dc "${WORKDIR}/officenx.tar.lzma" | tar xf - || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local install_dir="/opt/softmaker-office-nx"
|
||||
|
||||
insinto "${install_dir}"
|
||||
doins -r ${PAYLOAD}/*
|
||||
|
||||
fperms +x \
|
||||
"${install_dir}/textmaker" \
|
||||
"${install_dir}/planmaker" \
|
||||
"${install_dir}/presentations"
|
||||
|
||||
exeinto /usr/bin
|
||||
|
||||
cat > "${T}/textmakernx" <<EOF || die
|
||||
#!/bin/sh
|
||||
exec ${install_dir}/textmaker "\$@"
|
||||
EOF
|
||||
doexe "${T}/textmakernx"
|
||||
|
||||
cat > "${T}/planmakernx" <<EOF || die
|
||||
#!/bin/sh
|
||||
exec ${install_dir}/planmaker "\$@"
|
||||
EOF
|
||||
doexe "${T}/planmakernx"
|
||||
|
||||
cat > "${T}/presentationsnx" <<EOF || die
|
||||
#!/bin/sh
|
||||
exec ${install_dir}/presentations "\$@"
|
||||
EOF
|
||||
doexe "${T}/presentationsnx"
|
||||
|
||||
make_desktop_entry "textmakernx %U" "TextMaker NX" textmaker "Office;WordProcessor;" \
|
||||
"MimeType=application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;"
|
||||
|
||||
make_desktop_entry "planmakernx %U" "PlanMaker NX" planmaker "Office;Spreadsheet;" \
|
||||
"MimeType=application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;"
|
||||
|
||||
make_desktop_entry "presentationsnx %U" "Presentations NX" presentations "Office;Presentation;" \
|
||||
"MimeType=application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;"
|
||||
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${PAYLOAD}/mime/softmaker-office-nx.xml"
|
||||
|
||||
for size in 16 24 32 48 64 128 256 512 1024; do
|
||||
newicon -s ${size} "${PAYLOAD}/icons/tml_${size}.png" textmaker.png
|
||||
newicon -s ${size} "${PAYLOAD}/icons/pml_${size}.png" planmaker.png
|
||||
newicon -s ${size} "${PAYLOAD}/icons/prl_${size}.png" presentations.png
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
elog "SoftMaker Office NX has been installed."
|
||||
elog "To set SoftMaker applications as your default handlers, you may run:"
|
||||
elog " xdg-mime default textmakernx-softmaker-office-nx.desktop application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
||||
elog " xdg-mime default planmakernx-softmaker-office-nx.desktop application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
||||
elog " xdg-mime default presentationsnx-softmaker-office-nx.desktop application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
||||
elog "You may also set defaults for ODT/ODS/ODP and other formats if desired."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
31
licenses/SoftMakerOffice
Normal file
31
licenses/SoftMakerOffice
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
LIZENZVEREINBARUNG
|
||||
|
||||
Die mit dieser Lizenz gelieferte Software ist das Eigentum der SoftMaker Software GmbH ("SoftMaker") oder ihrer Lizenzgeber und ist urheberrechtlich geschützt. SoftMaker als Eigentümer der Software gewährt Ihnen gewisse Rechte, sobald Sie der vorliegenden Vereinbarung zugestimmt haben. Sofern nicht durch Nachträge oder Ergänzungsverträge modifziert, lauten Ihre Rechte und Verpflichtungen wie folgt:
|
||||
SIE SIND BERECHTIGT:
|
||||
|
||||
Ein Exemplar der Software auf bis zu 3 (drei) Computern zu installieren und gleichzeitig zu verwenden, sofern diese Computer zum selben Familienhaushalt oder zur selben Organisation am selben physikalischen Ort gehören.
|
||||
Eine angemessene Zahl von Sicherungskopien (Backups) zum Zwecke der Datensicherung anfertigen, solange diese Sicherungskopien nicht an Dritte weitergegeben werden.
|
||||
Die Software dauerhaft an einen Dritten übertragen, solange Sie keine Kopien oder das Original der Software zurückbehalten und der Empfänger den Bedingungen dieser Vereinbarung zustimmt.
|
||||
|
||||
SIE SIND NICHT BERECHTIGT:
|
||||
|
||||
Kopien der zugehörigen Dokumentation anzufertigen.
|
||||
die Software, Teile von ihr oder die Dokumentation zu sublizenzieren, zu vermieten oder zu verleihen.
|
||||
die Software durch Reverse Engineering zu entschlüsseln, zu dekompilieren, zu disassemblieren, zu modifizieren, zu übersetzen, irgendwelche Maßnahmen vorzunehmen, um den Quellcode zu erlangen, oder abgeleitete Werke der Software zu erstellen.
|
||||
|
||||
GEWÄHRLEISTUNG:
|
||||
|
||||
SoftMaker übernimmt für die Zeit der gesetzlichen Gewährleistungspflicht die Gewährleistung dafür, dass die erworbene Software im Sinne der zum Zeitpunkt des Kaufes vorhandenen Programmspezifikation lauffähig ist. Voraussetzung für die Gewährleistung ist die vertragsgemäße Nutzung. Für die vollständige Fehlerfreiheit der Programme unter allen Nutzungsbedingungen kann keine Gewähr übernommen werden.
|
||||
|
||||
SoftMaker übernimmt keine Gewährleistung für Funktionsbeeinträchtigungen infolge von anderen Programmen, Bedienungsfehlern, unsachgemäßer Behandlung oder vertragswidriger Benutzung.
|
||||
|
||||
Die Gewährleistung richtet sich nach den gesetzlichen Regeln. Für den Schadensfall beschränkt sich die Verpflichtung von SoftMaker darauf, das Programm auszutauschen oder eine Nachbesserung zu versuchen.
|
||||
SCHLUSSBESTIMMUNGEN:
|
||||
|
||||
Diese Vereinbarung stellt die vollständige Vereinbarung der Vertragsparteien zu diesem Thema dar und ersetzt alle vorherigen Vereinbarungen, Bestellungen und Verträge zu diesem Thema. Diese Vereinbarung unterliegt dem Gesetz der Bundesrepublik Deutschland. Der ausschließliche Gerichtsstand ist Nürnberg, Deutschland. Eine Anwendung des UN-Kaufrechts oder eine abweichende Gerichtsstandvereinbarung sind ausgeschlossen.
|
||||
|
||||
Soweit diese Lizenzvereinbarung keine Regelungen enthält, gelten die allgemeinen gesetzlichen Bestimmungen des Rechts der Bundesrepublik Deutschland. Die Nichtigkeit oder Unwirksamkeit einzelner Bestimmungen dieses Vertrages berührt die Gültigkeit der übrigen Bestimmungen nicht. Die Parteien sind alsdann verpflichtet, die mangelnde Bestimmung durch eine solche zu ersetzen, deren wirtschaftlicher und juristischer Sinn dem der mangelhaften Bestimmung möglichst nahe kommt.
|
||||
|
||||
Alle Rechte an der Software, die in dieser Vereinbarung nicht ausdrücklich dem Vertragspartner eingeräumt werden, verbleiben vollständig bei SoftMaker.
|
||||
|
||||
Reference in New Issue
Block a user