commit:     d9cbd14df74524e99793f9f3578a53c4761f6042
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 13:52:35 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 13 15:14:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9cbd14d

app-office/naps2: bump to 8.1.4

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-office/naps2/Manifest           |   4 +
 app-office/naps2/naps2-8.1.4.ebuild | 279 ++++++++++++++++++++++++++++++++++++
 2 files changed, 283 insertions(+)

diff --git a/app-office/naps2/Manifest b/app-office/naps2/Manifest
index e01c80447438..900e11281ed5 100644
--- a/app-office/naps2/Manifest
+++ b/app-office/naps2/Manifest
@@ -67,11 +67,13 @@ DIST microsoft.testplatform.testhost.17.10.0.nupkg 2879677 
BLAKE2B 5828346a430b8
 DIST microsoft.win32.primitives.4.3.0.nupkg 63333 BLAKE2B 
132ec29940d4b716110980c4f9a06ba15183d29de638379d09998124605165e51652b2727e3892b57dbc7cacfdc71f9e1b59c9dd5463a524657351f5385d896d
 SHA512 
366f07a79d72f6d61c2b7c43eaa938dd68dfb6b83599d1f6e02089b136fa82bec74b6d54d6e03e08a3c612d51c5596e3535cbc2b29f39b97a827b3e7c79826f0
 DIST microsoft.win32.systemevents.4.7.0.nupkg 148460 BLAKE2B 
07615e6811f9fbfb65b22f70e266ac3af25117bf0e57803c1e19f452ceb71b5feed2d6bd78caae7b0dd87e2a752442ff25e639fbc02831d3c02f6377a1c2913a
 SHA512 
3dc95211fd597cbeb7b8498e79d58c8dc373767d129252f1858f223fe9228bef56c4dd48e613694581fd197e8c1ec428ec8788a451b9c248e2073c7603c994d4
 DIST microsoft.win32.systemevents.8.0.0.nupkg 233719 BLAKE2B 
7d8cad3d5cad9646167ac7b6c9784e080bbc3033fa010d6ebf795d8c38aa1e8e6c75a612c769137a19dfcbc14c88b4d00e3ce50eff4070ee011ef7f2a9c8ffb4
 SHA512 
25016c508653fbf463c52d8fc3d2773b7c211c2402c4ea7b4aa987fb29c851d3f80c5e7abbcace2d4d5e061ae290524e8029afbc49a37d7e5186fe06aa4609b2
+DIST microsoft.win32.systemevents.9.0.3.nupkg 184464 BLAKE2B 
ec83c8f5834e6716f1e45279de108ecb5937af8b74537133e14d250d4f0fabfd4c4b97023f13c990151c567b8f68bcad2f9772e03998bc3943e876e4980dd1ed
 SHA512 
1dac0e903ae7aa73ea1ac46665f8bbddd7d82a1d79ca6d331ff34d13ecb3e9f546168472f5da96e5db028191e8bb40110d969117e81977bdd4d1bb4874633590
 DIST microsoft.windowsdesktop.app.ref.6.0.32.nupkg 3854138 BLAKE2B 
b36cf8f3165db48106bb68447e39c8dd86eae2fc1be0a448ace8ecae77d30a74e3113f08b9115b1116201d71e883ebe9b1b43ca8ffab990d8ab9576140744477
 SHA512 
0a569b52b1d2ba44e4414988ec03ec0fa4e9fb047d891e3eaf9f69a03d89460b03da410be8fd7f17444f5015bfb284cf19cb2bbf9ffb081b95ce3bb3ba362507
 DIST microsoft.windowsdesktop.app.ref.8.0.7.nupkg 4466896 BLAKE2B 
25772a98070145ec2567f703514cf2f7d6b01af5d531af90670d51fe818c7e5c2a36d16b603840725ad631e97c4f29589703f8a262aa70dbd28965e4f205edd0
 SHA512 
eb4abc341ba790836c744acce8d9c422d5b544f385bf4d28eecca8573831563ba723bf4bcddcd0e06cb05690d45c15f846ceaad2889bb3316c77b3ba8ff5ade2
 DIST mimekitlite.4.7.1.nupkg 4782334 BLAKE2B 
dd066cde8b8f09a9aa0c44881a703d2e96b569d313cd6803be4ed568fc30360e7556c1e01baf61ab497880a46ba9304c3d9152787e3e460c273b2d92e801c23a
 SHA512 
cfc5608a058c98f5e5771554f6b46dba0a77265137cdd82549d733e2efc54ac0dfdb24d578243cc4024b3bf272d4cf2ed6b589df88786f7c68a38e73a7569ba0
 DIST naps2-7.5.3.tar.gz 41114628 BLAKE2B 
d3c6d50415345fd34a953742852e4f62a8ed8093b9036a0f221a9d3c92dbf05df14156d1067695765e3a50d703340f7e12eddd91b6799a70997213806c4426a1
 SHA512 
33ac3d7fbd394f8cab0b594928320b3c1b16cd6453d1b4446de85aef7f211e95587a3d05ccfa878adbebd8ae72a008dc3a0ac2b96102bd3cc8b2d7bbe01a2033
 DIST naps2-8.1.1.tar.gz 41386991 BLAKE2B 
278717c9509c6b522e2460527eba6ea2bee4116b90b5aca5fb7a780dee0d574d6f7e3463b314ad35a76bb9fd6c61b235f31048a667330656884ccc5b7020c0f8
 SHA512 
7ac03b1de44cd2273d98402e9b10720f8c9c58acdd39872ae5222f1c42b9ab0b6b12b7f6bd3051c3f3a2c18c438c75ec80a5c56377c024eda63e269eac992b9a
+DIST naps2-8.1.4.tar.gz 42103096 BLAKE2B 
228b41b6e34d17efd38e4043b87b28fa18fbb182648a90eb9b25b0c0e69099d6afac1a8c3bcbc907285c5cce94143b893c560e8929a6465a004561df93905370
 SHA512 
4ee8913c3d33cea7e07a0cd0e7b34314991b14df53ba18b1e185c3dbb7a27b100cf180608e21d8e7c4d4bd9272b59ff189d419e4fb8b3913e19cba027036bd53
 DIST naps2.mdns.1.0.1.nupkg 86085 BLAKE2B 
85c41ed205c155ebf618b09ab09fa6c405a528dafa5f435e55a7a59a4d8831ab8efd68c2e08ab2eb61c79869ce6dab8a72b9d3851285a57488043c3876b97cd4
 SHA512 
0415de3d8758b301df93f89019ea096f554c7e4760658f387da5c2e25c895fcbb1d905ecdb89ee894cbac19580bb7948b0be57174f9823c338d57243d8fcf650
 DIST naps2.ntwain.1.0.0.nupkg 490706 BLAKE2B 
8208a15d6c9ec65eda196cff2141d9349c1278d6536dbb02552462e1c53fdebb68ecabd84c73150e4848ab80a537e25db15c6fca27d264f7dbfd904f65eb0560
 SHA512 
83ae07decef61c55fb3dc11212f335264288881be2014e194e104da1892c0d58ab71c1e32832d219cf9618b4f9485d2ad79668bcd0cffdbad9790f6d0798c6d2
 DIST naps2.pdfium.binaries.1.1.0.nupkg 15878385 BLAKE2B 
891bca3725934a7e0f86165f3f8665a24d552682c0dae726d75954008c850fdad22f9c388d956de8af7b85ef01ca3baed5aacaea13e3d8e502bddac3c055ad53
 SHA512 
b2b747628a2dd9fb9626c1ce977622b2a40079ddd506a845e39bff4264ac06406234b6a4b4b16c5c394dc5487b7a3b414b86370844c94a5245b594eaa1b5a761
@@ -79,6 +81,7 @@ DIST naps2.pdfsharp.1.0.1.nupkg 668676 BLAKE2B 
d060b00b9c4fb6be89bfc69b9be2a3b64
 DIST naps2.sane.binaries.1.1.0.nupkg 10280612 BLAKE2B 
9787f72851ac8e0e32190065ef12bae7940fdc1c5ec6313c0938a8bdbfa2cf4ff40a39da46a4afe17d955aa0e0b56a5a9c6f6b4a43d1b692b8a48643499c7648
 SHA512 
e6802adec2cc2f3939ba7bb5f725b08bba8c123d29603183761c67fdbb98008f318760b2177adb832222675c1c8b1c6310d45bfe2751f3238194909f42ab9e38
 DIST naps2.tesseract.binaries.1.2.0.nupkg 12374829 BLAKE2B 
1018b72c517cabc2e56941860c305b30b3c9ae3f8ca2b128961954078c290fe6afb10b6e75797174891140118300b9ce5f1a9536dffe8e3068c033d1764aa8e3
 SHA512 
3c1f8bced2878eecb1a18268829fa98b3a31ef808357eb50d00533345f4c4ae8e770e0bc62104661cf0429bcbc736c280883a58ada73e350f1df2dde0859f376
 DIST naps2.tesseract.binaries.1.3.0.nupkg 13268867 BLAKE2B 
1e5f724d442b9b4366a14ca53a2fe780a9d27e2ab2195c1f6fe0ed16fb56a1d5df50d74909a39c4e21bfe719807f69e60f28cde47a5dd2332164019ccdc4bc6a
 SHA512 
88f314359cf7318436174472d7265384d44dcb93e41b730d7529e1ee80068801d2cae8ad0a5e6a6faa27608519b432dffadb49287b7b7f1eb78d9ad98dcbcefd
+DIST naps2.tesseract.binaries.1.3.1.nupkg 13267508 BLAKE2B 
49ae23d1ff589851a4c7d5e93baa4988071ff9b48f44ceff91a82f58f6828c62d916c676ca54fd67c0f4b6728ac110088e65a23f84c261c26351c6f1c81fa33e
 SHA512 
e3935cad23d840adf617f49bfb796072a6b07aba5fe7291b000ad7572ef1ed6c70d7c102d18f4681ebe485f782aa34dd1fce3511557241d82aa884c2f034d114
 DIST naps2.wia.2.0.3.nupkg 81720 BLAKE2B 
19658f6ecfd47a21d88955c89968e111f06504246790f779078f47f9d4d947d692df19713e6422b7fcb75608d4ee999872f78729fd80ae58d9b9e612a8f2d0ae
 SHA512 
0eede4a6c57e76c87fd44aa56aca8181e39ea3f2bce782027ae6161781deb7b7c9b060966a31a6d22202fc75648f744e1fa0aefa27a8550fc13d04454a9b0743
 DIST netstandard.library.1.6.1.nupkg 17360 BLAKE2B 
02badd3473451f83997f0b66d05f1541c741e65b9127b8b27ab391260df7939f235eb6648b11c7c11cc5400489ddf1cd26820b7bdf6fd9f1d8f0dfdfeef96acc
 SHA512 
0972dc2dbb4925e896f62bce2e59d4e48639320ee38ad3016dcd485fbd6936a0ed08073ad5eef2a612dff05dfc390f3930fff9e79d87a06070eeb8128277cbd0
 DIST netstandard.library.2.0.0.nupkg 3143842 BLAKE2B 
7e3fc865e7893fb531b21e2ca791b788af01481316e49a79c4676050c2b8ad413fd8a4ef9890557582ec8b9741c8aa01b080b8d2caa16e02bfff2a7b38777989
 SHA512 
e3d64072b9cd9f9e86209c06a22688ecda7070427c9a35327d2a9560824c0e1381ccf7bc1d21d2ef8b301761f4bfc7f38fba712df7188d2f4fe4f748aac4d0c7
@@ -198,6 +201,7 @@ DIST system.diagnostics.tracesource.4.3.0.nupkg 227705 
BLAKE2B a94d8a907a729dd4a
 DIST system.diagnostics.tracing.4.3.0.nupkg 581864 BLAKE2B 
e09e616dff7879932b358746a62b530499aa61726c4490c56d2d7a0bf888db5b42d75d89cc5befc9fdb6af231beff998b6b243c2b2a08084da089709e0c82a75
 SHA512 
d0a5d30e261cd45b7dfab02b7ffbd76b64e0c9b892ed826ea61481c983c0208b05b69981cd79e91cd4e5811e1cd4c3cea06a1afce05811ece58be5e4c20169ea
 DIST system.drawing.common.4.7.2.nupkg 1218622 BLAKE2B 
6ead80743aedd6def2af97699cc35b48b86cd0af021517550486fcdf5cd2a5ad4ffa430c8472cbdfb754629e2008b5ada8e3ecea37abbdc63de9125788b211e7
 SHA512 
5510e9093f9b0655fb140ec173fa8c3944e9cb1661939763ab7ee66005507c7a37ef90422f18f4e609e27334a962f9a1b47474387941eb77c665a0f72d82a7d9
 DIST system.drawing.common.8.0.7.nupkg 1568177 BLAKE2B 
31993b92e50f7b39499d04839b8ac2c6308dbd2c9af6871e2ee20be605d78f754848e2edaa6fb1529a38bfba2a925faa4a96228d271013dec46510c64a9866b1
 SHA512 
1a527afac8c5dc6c622f98f6f2e9815734da515e3a11428b69fcd0a4726883918c0942b2a54653ba1381bdd1cb5985eba5090c81e9be3087d72e51308d40e7fd
+DIST system.drawing.common.9.0.3.nupkg 2049689 BLAKE2B 
1c9fd7db77510718c0362a8eb07f7c09c153adf21e4e4bf4fa48008b3a44a90e408466d806670df4118f721229f1c1340cd6dee5f690bc4879e95c16fa3d429b
 SHA512 
07f63f1645a3aa30fbaf87f302c111071b908cee8bfcf19922a929d8a0a64ab379824822ebc6e13229cfe94c17c636c8aafc3ed1ff59bfc0bf2284d3df23bcb5
 DIST system.dynamic.runtime.4.3.0.nupkg 548103 BLAKE2B 
42ac34ffe9b9b6fe69c984aa2b22f0715f7979685730de048490ca05feefd800349df39aeb2bc6b4c3608cd042abc018714fbdc49475a11b46077a2638824c8b
 SHA512 
54446fee94f432cb8fd38ec10c929a87b307a76f152a2e9da11ba99c41ceb0f65913cf218944990f0e122d4f858945091e9806c84c0285ada1fcc939337d30ea
 DIST system.globalization.4.3.0.nupkg 589136 BLAKE2B 
7b07f9b68f0744ddcfa3f0db6190c1a0696c2f89f8c5e92922ac20fc4155e22d97e7191bf7866c9b58acec056bff08531b0adacccaec7d4301e1d4b149fa511f
 SHA512 
823d2ba308cb073b40a3146ecccd0d9fd7b1615ac3fbefb16f73d873e411fd81c3bdc87df206d3dc7e2f14c9cd53aafca684a3570c25471280aada8de805ece2
 DIST system.globalization.calendars.4.3.0.nupkg 177689 BLAKE2B 
b70b5d9e545835e5a3fe4c703b2bd7c857968ba1fcae5299c9c41d550338914f2ad9d168948018fa7da7271d62a3b9d2ad1e696d334ee7d3fdaefd25395aa64c
 SHA512 
e97190231402b393774b925efc02a2bfa41d1d117a17fb87da6e399f5234546962767e9cd8f39970efa408e4f453cd1e6751a2a61e366bc97406e1b0b8a4be86

diff --git a/app-office/naps2/naps2-8.1.4.ebuild 
b/app-office/naps2/naps2-8.1.4.ebuild
new file mode 100644
index 000000000000..f268e5d49315
--- /dev/null
+++ b/app-office/naps2/naps2-8.1.4.ebuild
@@ -0,0 +1,279 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOTNET_PKG_COMPAT="9.0"
+
+# Generated via "gdmt restore", but the *.Mac projects had to be removed from
+# the sln manually first. Later they are removed via "DOTNET_PKG_BAD_PROJECTS".
+NUGETS="
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0
+runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.2
+runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
+"
+
+inherit dotnet-pkg desktop xdg
+
+DESCRIPTION="Document scanning application with a focus on simplicity and ease 
of use"
+HOMEPAGE="https://www.naps2.com/
+       https://github.com/cyanfish/naps2/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/cyanfish/${PN}.git";
+else
+       
SRC_URI="https://github.com/cyanfish/${PN}/archive/refs/tags/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+       KEYWORDS="~amd64"
+fi
+
+SRC_URI+=" ${NUGET_URIS} "
+
+LICENSE="AGPL-3+ Apache-2.0 BSD BSD-2 GPL-2+ LGPL-3+ MIT"
+SLOT="0"
+RESTRICT="test"
+
+RDEPEND="
+       app-text/tesseract
+       media-fonts/liberation-fonts
+       media-fonts/noto
+       media-fonts/noto-cjk
+       media-gfx/sane-backends
+       x11-libs/gtk+:3
+"
+
+DOTNET_PKG_PROJECTS=( NAPS2.App.Gtk )
+DOTNET_PKG_BAD_PROJECTS=(
+       # For MacOS.
+       NAPS2.App.Mac
+       NAPS2.Images.Mac
+       NAPS2.Lib.Mac
+
+       # For Windows.
+       NAPS2.App.Console
+       NAPS2.App.WinForms
+       NAPS2.App.Worker
+       NAPS2.Images.Wpf
+       NAPS2.Lib.WinForms
+
+       # Failing tests:
+       NAPS2.App.Tests
+       NAPS2.Escl.Tests
+       NAPS2.Lib.Tests
+       NAPS2.Sdk.ScannerTests
+       NAPS2.Sdk.Tests
+)
+
+DOCS=( CHANGELOG.md README.md )
+
+src_unpack() {
+       dotnet-pkg_src_unpack
+
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
+               git-r3_src_unpack
+       fi
+}
+
+src_prepare() {
+       dotnet-pkg_src_prepare
+
+       # Having this package reference in a proj file will make dotnet copy
+       # the host's libhostpolicy.so and break the Gentoo's mechanism of 
handling
+       # dotnet executables.
+       sed -e "/.*NETCore.App.*/d" -i NAPS2.App.Gtk/NAPS2.App.Gtk.csproj || die
+}
+
+src_install() {
+       dotnet-pkg_src_install
+
+       local linux_dir=""
+       case "${ARCH}" in
+               arm* )
+                       linux_dir="/usr/share/${P}/_linuxarm"
+                       ;;
+               * )
+                       linux_dir="/usr/share/${P}/_linux"
+                       ;;
+       esac
+
+       # Use system tesseract.
+       rm -f "${ED}/${linux_dir}/tesseract" || die
+       dosym -r /usr/bin/tesseract "${linux_dir}/tesseract"
+
+       find "${ED}/${linux_dir}" -type f -exec chmod a+rx {} + || die
+
+       newicon --size 128 ./NAPS2.Lib/Icons/scanner-128.png com.naps2.Naps2.png
+       domenu ./NAPS2.Setup/config/linux/com.naps2.Naps2.desktop
+
+       insinto /usr/share/metainfo
+       doins ./NAPS2.Setup/config/linux/com.naps2.Naps2.metainfo.xml
+
+       einstalldocs
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

Reply via email to