From 5b7f6475da27c05b30659a00ecb49636aca2bece Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 31 Aug 2024 12:01:05 +0100 Subject: gentoo auto-resync : 31:08:2024 - 12:01:05 --- app-office/naps2/Manifest | 2 +- app-office/naps2/naps2-7.5.1-r1.ebuild | 373 +++++++++++++++++++++++++++++++++ app-office/naps2/naps2-7.5.1.ebuild | 371 -------------------------------- 3 files changed, 374 insertions(+), 372 deletions(-) create mode 100644 app-office/naps2/naps2-7.5.1-r1.ebuild delete mode 100644 app-office/naps2/naps2-7.5.1.ebuild (limited to 'app-office/naps2') diff --git a/app-office/naps2/Manifest b/app-office/naps2/Manifest index 338c8f66f2a0..398cd96a1cbb 100644 --- a/app-office/naps2/Manifest +++ b/app-office/naps2/Manifest @@ -272,5 +272,5 @@ DIST xunit.extensibility.core.2.9.0.nupkg 296715 BLAKE2B 76b33cd2a89e2d22bc02b30 DIST xunit.extensibility.execution.2.9.0.nupkg 378299 BLAKE2B 6ca0e2cf8026b3fb0b36805704bc11bb8492abb53b89e65baec6dae83d8cc0d914a6424e917d334f860a3396be537f0782a1a54e3813f9ba8441499183d4aad7 SHA512 9674463e310e5e26c5da4d256ff45bcfca9f5c40b9541ba68d7a091f6350ad27134534ce0ede94b041cbaab0730b91bcd1726d300f6da3b991da17171922f0cb DIST xunit.runner.visualstudio.2.8.2.nupkg 595969 BLAKE2B d1ef775c4234177fcca64dc44144fecc2d613976c7afe58ddfba0a204bd36b932cb8adaa3619e47922218306b487de1f256611f5d1448798afc393a91b896c13 SHA512 cfe133857c4b9609ff9fb150e49d032716c69ecff5bf1d643c987852af8e3c2851a5d4b2df1fcc0aa43f8ed91ba1cec144cb61cf5e24ee92f40f78aafdee1dd0 DIST zxing.net.0.16.9.nupkg 9657500 BLAKE2B a23c04e26bc09fccfec0a1e6f810ad2d3fae8e733fd5a3bd7ca17acc1010a7410657ae57576af6e66238999dcf945ca97f7e7b85abeee0b69b1b67692fa8332f SHA512 145f8e6bcf29b6c19ca336b4ec6063d0d35393f8fb613046cf40fcf68e9c1b7bb97341baece18ff3d37fc1cf31a227ff9da5266b994d6196dad592a43acfb567 -EBUILD naps2-7.5.1.ebuild 12328 BLAKE2B 49be0a0bd2fa680ca0330027cc49f1c460f412b69883f8c47747ca5d885e1841eaf0ffae9152da4000645d2c53b24dc2b7367e4d78450c85bd1e95dfec7e4e39 SHA512 63f5930dac01a7e07ca28aae47a569e6a8e62ee6f7cb7d0ee6b2df732595ab0801a68306760ff78fb43d55f0f7d95364f42bf6490f86f37b8d67e4b976f4d5fb +EBUILD naps2-7.5.1-r1.ebuild 12403 BLAKE2B f412e05cef5c84c14ee30d7291cd8133752e3a06e11afbe576906c90a0346dbf5ac5bdd8b2ac5750fc6c69566f2efdef16bd43563c91231f2941c51aee9c61c5 SHA512 9a5d10c3b159c3f3d0d7846f0ac5a7d5cfa772baaf60b21db6f7090c70ed83312218b6187ce305dcf05ad78ebedb128188117806d5436655f09df35a73e925db MISC metadata.xml 1133 BLAKE2B 580656b19030f09df98a6dc493ccf97807fee8301643dad864a00f7b889989f75df7465173ef77538d62d14c74048bd009a73032995a581e82b6989dd988949e SHA512 b1753810c95191f97a04857519cdccee7f18567b0db3c531c0e1c48f93a6103e257248467ebf6908ba311ffc97a8ff4da0a3fe1d98279087fbc974287a884bb4 diff --git a/app-office/naps2/naps2-7.5.1-r1.ebuild b/app-office/naps2/naps2-7.5.1-r1.ebuild new file mode 100644 index 000000000000..1299470412a2 --- /dev/null +++ b/app-office/naps2/naps2-7.5.1-r1.ebuild @@ -0,0 +1,373 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT="8.0" + +# Generated via gdmt, but the *.Mac projects had to be removed from the sln +# manually first. Later they are removed via "DOTNET_PKG_BAD_PROJECTS". +NUGETS=" +appium.webdriver@4.4.5 +atksharp@3.24.24.95 +autofac@8.0.0 +ben.demystifier@0.4.1 +cairosharp@3.24.24.95 +castle.core@4.3.1 +castle.core@5.0.0 +castle.core@5.1.1 +commandlineparser@2.9.1 +dotnetseleniumextras.pageobjects@3.11.0 +embedio@3.5.2 +eto.forms@2.8.3 +eto.platform.gtk@2.8.3 +eto.platform.windows@2.8.3 +gdksharp@3.24.24.95 +giosharp@3.24.24.95 +glibsharp@3.24.24.95 +google.protobuf@3.25.1 +grpc.core.api@2.59.0 +grpc.tools@2.65.0 +grpcdotnetnamedpipes@3.0.0 +gtksharp@3.24.24.95 +isexternalinit@1.0.3 +largeaddressaware@1.0.6 +libusbdotnet@3.0.102-alpha +makaretu.dns@2.0.1 +microsoft-windowsapicodepack-core@1.1.4 +microsoft-windowsapicodepack-shell@1.1.4 +microsoft.bcl.asyncinterfaces@6.0.0 +microsoft.bcl.asyncinterfaces@7.0.0 +microsoft.bcl.asyncinterfaces@8.0.0 +microsoft.codecoverage@17.10.0 +microsoft.extensions.configuration.abstractions@2.1.0 +microsoft.extensions.configuration.abstractions@8.0.0 +microsoft.extensions.configuration.binder@2.1.0 +microsoft.extensions.configuration@2.1.0 +microsoft.extensions.dependencyinjection.abstractions@2.1.0 +microsoft.extensions.dependencyinjection.abstractions@8.0.0 +microsoft.extensions.dependencyinjection.abstractions@8.0.1 +microsoft.extensions.dependencyinjection@8.0.0 +microsoft.extensions.logging.abstractions@2.1.0 +microsoft.extensions.logging.abstractions@8.0.0 +microsoft.extensions.logging.abstractions@8.0.1 +microsoft.extensions.logging@2.1.0 +microsoft.extensions.logging@8.0.0 +microsoft.extensions.options@2.1.0 +microsoft.extensions.options@8.0.0 +microsoft.extensions.primitives@2.1.0 +microsoft.extensions.primitives@8.0.0 +microsoft.net.test.sdk@17.10.0 +microsoft.netcore.app@2.1.30 +microsoft.netcore.dotnetapphost@2.1.30 +microsoft.netcore.dotnethostpolicy@2.1.30 +microsoft.netcore.dotnethostresolver@2.1.30 +microsoft.netcore.platforms@1.1.0 +microsoft.netcore.platforms@1.1.1 +microsoft.netcore.platforms@2.1.14 +microsoft.netcore.platforms@3.1.4 +microsoft.netcore.targets@1.1.0 +microsoft.netcore.targets@2.0.0 +microsoft.netframework.referenceassemblies.net462@1.0.3 +microsoft.netframework.referenceassemblies@1.0.3 +microsoft.testplatform.objectmodel@17.10.0 +microsoft.testplatform.testhost@17.10.0 +microsoft.win32.primitives@4.3.0 +microsoft.win32.systemevents@4.7.0 +microsoft.win32.systemevents@8.0.0 +microsoft.windowsdesktop.app.ref@6.0.32 +microsoft.windowsdesktop.app.ref@8.0.7 +mimekitlite@4.7.1 +naps2.mdns@1.0.1 +naps2.ntwain@1.0.0 +naps2.pdfium.binaries@1.1.0 +naps2.pdfsharp@1.0.1 +naps2.sane.binaries@1.1.0 +naps2.tesseract.binaries@1.2.0 +naps2.wia@2.0.3 +netstandard.library@1.6.1 +netstandard.library@2.0.3 +newtonsoft.json@13.0.1 +newtonsoft.json@13.0.3 +nlog.extensions.logging@5.3.11 +nlog@5.3.2 +nsubstitute@5.0.0 +nsubstitute@5.1.0 +pangosharp@3.24.24.95 +pdfavalidator@2.1.109 +polyfill@4.9.0 +richardszalay.mockhttp@7.0.0 +runtime.any.system.collections@4.3.0 +runtime.any.system.diagnostics.tools@4.3.0 +runtime.any.system.diagnostics.tracing@4.3.0 +runtime.any.system.globalization.calendars@4.3.0 +runtime.any.system.globalization@4.3.0 +runtime.any.system.io@4.3.0 +runtime.any.system.reflection.extensions@4.3.0 +runtime.any.system.reflection.primitives@4.3.0 +runtime.any.system.reflection@4.3.0 +runtime.any.system.resources.resourcemanager@4.3.0 +runtime.any.system.runtime.handles@4.3.0 +runtime.any.system.runtime.interopservices@4.3.0 +runtime.any.system.runtime@4.3.0 +runtime.any.system.text.encoding.extensions@4.3.0 +runtime.any.system.text.encoding@4.3.0 +runtime.any.system.threading.tasks@4.3.0 +runtime.any.system.threading.timer@4.3.0 +runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +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.0 +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.0 +runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.linux-arm.microsoft.netcore.app@2.1.30 +runtime.linux-arm.microsoft.netcore.dotnetapphost@2.1.30 +runtime.linux-arm.microsoft.netcore.dotnethostpolicy@2.1.30 +runtime.linux-arm.microsoft.netcore.dotnethostresolver@2.1.30 +runtime.linux-arm64.microsoft.netcore.app@2.1.30 +runtime.linux-arm64.microsoft.netcore.dotnetapphost@2.1.30 +runtime.linux-arm64.microsoft.netcore.dotnethostpolicy@2.1.30 +runtime.linux-arm64.microsoft.netcore.dotnethostresolver@2.1.30 +runtime.linux-musl-x64.microsoft.netcore.app@2.1.30 +runtime.linux-musl-x64.microsoft.netcore.dotnetapphost@2.1.30 +runtime.linux-musl-x64.microsoft.netcore.dotnethostpolicy@2.1.30 +runtime.linux-musl-x64.microsoft.netcore.dotnethostresolver@2.1.30 +runtime.linux-x64.microsoft.netcore.app@2.1.30 +runtime.linux-x64.microsoft.netcore.dotnetapphost@2.1.30 +runtime.linux-x64.microsoft.netcore.dotnethostpolicy@2.1.30 +runtime.linux-x64.microsoft.netcore.dotnethostresolver@2.1.30 +runtime.native.system.io.compression@4.3.0 +runtime.native.system.net.http@4.3.0 +runtime.native.system.security.cryptography.apple@4.3.0 +runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.native.system@4.3.0 +runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +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.0 +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.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.0 +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.0 +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.0 +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.0 +runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2 +runtime.unix.microsoft.win32.primitives@4.3.0 +runtime.unix.system.console@4.3.0 +runtime.unix.system.diagnostics.debug@4.3.0 +runtime.unix.system.io.filesystem@4.3.0 +runtime.unix.system.net.primitives@4.3.0 +runtime.unix.system.net.sockets@4.3.0 +runtime.unix.system.private.uri@4.3.0 +runtime.unix.system.runtime.extensions@4.3.0 +selenium.support@3.141.0 +selenium.webdriver@3.141.0 +sharpziplib@1.4.2 +simplebase@1.3.1 +sixlabors.fonts@1.0.1 +sixlabors.imagesharp@3.1.5 +standardsocketshttphandler@2.2.0.8 +system.appcontext@4.3.0 +system.buffers@4.3.0 +system.buffers@4.4.0 +system.buffers@4.5.1 +system.collections.concurrent@4.3.0 +system.collections.immutable@1.5.0 +system.collections.immutable@5.0.0 +system.collections.immutable@8.0.0 +system.collections.nongeneric@4.3.0 +system.collections.specialized@4.3.0 +system.collections@4.3.0 +system.componentmodel.annotations@5.0.0 +system.componentmodel.primitives@4.3.0 +system.componentmodel.typeconverter@4.3.0 +system.componentmodel@4.3.0 +system.console@4.3.0 +system.diagnostics.debug@4.3.0 +system.diagnostics.diagnosticsource@4.3.0 +system.diagnostics.diagnosticsource@7.0.2 +system.diagnostics.eventlog@6.0.0 +system.diagnostics.tools@4.3.0 +system.diagnostics.tracesource@4.3.0 +system.diagnostics.tracing@4.3.0 +system.drawing.common@4.7.2 +system.drawing.common@8.0.7 +system.dynamic.runtime@4.3.0 +system.globalization.calendars@4.3.0 +system.globalization.extensions@4.3.0 +system.globalization@4.3.0 +system.io.compression.zipfile@4.3.0 +system.io.compression@4.3.0 +system.io.filesystem.primitives@4.3.0 +system.io.filesystem@4.3.0 +system.io@4.3.0 +system.linq.async@6.0.1 +system.linq.expressions@4.3.0 +system.linq@4.3.0 +system.memory@4.5.0 +system.memory@4.5.1 +system.memory@4.5.4 +system.memory@4.5.5 +system.net.http@4.3.0 +system.net.http@4.3.4 +system.net.nameresolution@4.3.0 +system.net.primitives@4.3.0 +system.net.sockets@4.3.0 +system.numerics.vectors@4.4.0 +system.numerics.vectors@4.5.0 +system.objectmodel@4.3.0 +system.private.uri@4.3.0 +system.reflection.emit.ilgeneration@4.3.0 +system.reflection.emit.lightweight@4.3.0 +system.reflection.emit@4.3.0 +system.reflection.extensions@4.3.0 +system.reflection.metadata@1.6.0 +system.reflection.metadata@5.0.0 +system.reflection.primitives@4.3.0 +system.reflection.typeextensions@4.3.0 +system.reflection@4.3.0 +system.resources.extensions@7.0.0 +system.resources.extensions@8.0.0 +system.resources.resourcemanager@4.3.0 +system.runtime.compilerservices.unsafe@4.5.0 +system.runtime.compilerservices.unsafe@4.5.2 +system.runtime.compilerservices.unsafe@4.5.3 +system.runtime.compilerservices.unsafe@4.7.0 +system.runtime.compilerservices.unsafe@6.0.0 +system.runtime.extensions@4.3.0 +system.runtime.handles@4.3.0 +system.runtime.interopservices.runtimeinformation@4.3.0 +system.runtime.interopservices@4.3.0 +system.runtime.numerics@4.3.0 +system.runtime@4.3.0 +system.security.claims@4.3.0 +system.security.cryptography.algorithms@4.3.0 +system.security.cryptography.cng@4.3.0 +system.security.cryptography.csp@4.3.0 +system.security.cryptography.encoding@4.3.0 +system.security.cryptography.openssl@4.3.0 +system.security.cryptography.primitives@4.3.0 +system.security.cryptography.protecteddata@8.0.0 +system.security.cryptography.x509certificates@4.3.0 +system.security.principal.windows@4.3.0 +system.security.principal@4.3.0 +system.text.encoding.extensions@4.3.0 +system.text.encoding@4.3.0 +system.text.regularexpressions@4.3.0 +system.threading.tasks.dataflow@8.0.1 +system.threading.tasks.extensions@4.3.0 +system.threading.tasks.extensions@4.5.2 +system.threading.tasks.extensions@4.5.4 +system.threading.tasks@4.3.0 +system.threading.threadpool@4.3.0 +system.threading.timer@4.3.0 +system.threading@4.3.0 +system.valuetuple@4.5.0 +system.xml.readerwriter@4.3.0 +system.xml.xdocument@4.3.0 +system.xml.xmldocument@4.3.0 +unosquare.swan.lite@3.1.0 +xunit.abstractions@2.0.3 +xunit.analyzers@1.15.0 +xunit.assert@2.9.0 +xunit.core@2.9.0 +xunit.extensibility.core@2.9.0 +xunit.extensibility.execution@2.9.0 +xunit.runner.visualstudio@2.8.2 +xunit@2.9.0 +zxing.net@0.16.9 +" + +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" + +RDEPEND=" + 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 +) + +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_test() { + dotnet-pkg-base_test NAPS2.Lib.Tests +} + +src_install() { + dotnet-pkg_src_install + + 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 +} diff --git a/app-office/naps2/naps2-7.5.1.ebuild b/app-office/naps2/naps2-7.5.1.ebuild deleted file mode 100644 index fe3b93139046..000000000000 --- a/app-office/naps2/naps2-7.5.1.ebuild +++ /dev/null @@ -1,371 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOTNET_PKG_COMPAT="8.0" - -# Generated via gdmt, but the *.Mac projects had to be removed from the sln -# manually first. Later they are removed via "DOTNET_PKG_BAD_PROJECTS". -NUGETS=" -appium.webdriver@4.4.5 -atksharp@3.24.24.95 -autofac@8.0.0 -ben.demystifier@0.4.1 -cairosharp@3.24.24.95 -castle.core@4.3.1 -castle.core@5.0.0 -castle.core@5.1.1 -commandlineparser@2.9.1 -dotnetseleniumextras.pageobjects@3.11.0 -embedio@3.5.2 -eto.forms@2.8.3 -eto.platform.gtk@2.8.3 -eto.platform.windows@2.8.3 -gdksharp@3.24.24.95 -giosharp@3.24.24.95 -glibsharp@3.24.24.95 -google.protobuf@3.25.1 -grpc.core.api@2.59.0 -grpc.tools@2.65.0 -grpcdotnetnamedpipes@3.0.0 -gtksharp@3.24.24.95 -isexternalinit@1.0.3 -largeaddressaware@1.0.6 -libusbdotnet@3.0.102-alpha -makaretu.dns@2.0.1 -microsoft-windowsapicodepack-core@1.1.4 -microsoft-windowsapicodepack-shell@1.1.4 -microsoft.bcl.asyncinterfaces@6.0.0 -microsoft.bcl.asyncinterfaces@7.0.0 -microsoft.bcl.asyncinterfaces@8.0.0 -microsoft.codecoverage@17.10.0 -microsoft.extensions.configuration.abstractions@2.1.0 -microsoft.extensions.configuration.abstractions@8.0.0 -microsoft.extensions.configuration.binder@2.1.0 -microsoft.extensions.configuration@2.1.0 -microsoft.extensions.dependencyinjection.abstractions@2.1.0 -microsoft.extensions.dependencyinjection.abstractions@8.0.0 -microsoft.extensions.dependencyinjection.abstractions@8.0.1 -microsoft.extensions.dependencyinjection@8.0.0 -microsoft.extensions.logging.abstractions@2.1.0 -microsoft.extensions.logging.abstractions@8.0.0 -microsoft.extensions.logging.abstractions@8.0.1 -microsoft.extensions.logging@2.1.0 -microsoft.extensions.logging@8.0.0 -microsoft.extensions.options@2.1.0 -microsoft.extensions.options@8.0.0 -microsoft.extensions.primitives@2.1.0 -microsoft.extensions.primitives@8.0.0 -microsoft.net.test.sdk@17.10.0 -microsoft.netcore.app@2.1.30 -microsoft.netcore.dotnetapphost@2.1.30 -microsoft.netcore.dotnethostpolicy@2.1.30 -microsoft.netcore.dotnethostresolver@2.1.30 -microsoft.netcore.platforms@1.1.0 -microsoft.netcore.platforms@1.1.1 -microsoft.netcore.platforms@2.1.14 -microsoft.netcore.platforms@3.1.4 -microsoft.netcore.targets@1.1.0 -microsoft.netcore.targets@2.0.0 -microsoft.netframework.referenceassemblies.net462@1.0.3 -microsoft.netframework.referenceassemblies@1.0.3 -microsoft.testplatform.objectmodel@17.10.0 -microsoft.testplatform.testhost@17.10.0 -microsoft.win32.primitives@4.3.0 -microsoft.win32.systemevents@4.7.0 -microsoft.win32.systemevents@8.0.0 -microsoft.windowsdesktop.app.ref@6.0.32 -microsoft.windowsdesktop.app.ref@8.0.7 -mimekitlite@4.7.1 -naps2.mdns@1.0.1 -naps2.ntwain@1.0.0 -naps2.pdfium.binaries@1.1.0 -naps2.pdfsharp@1.0.1 -naps2.sane.binaries@1.1.0 -naps2.tesseract.binaries@1.2.0 -naps2.wia@2.0.3 -netstandard.library@1.6.1 -netstandard.library@2.0.3 -newtonsoft.json@13.0.1 -newtonsoft.json@13.0.3 -nlog.extensions.logging@5.3.11 -nlog@5.3.2 -nsubstitute@5.0.0 -nsubstitute@5.1.0 -pangosharp@3.24.24.95 -pdfavalidator@2.1.109 -polyfill@4.9.0 -richardszalay.mockhttp@7.0.0 -runtime.any.system.collections@4.3.0 -runtime.any.system.diagnostics.tools@4.3.0 -runtime.any.system.diagnostics.tracing@4.3.0 -runtime.any.system.globalization.calendars@4.3.0 -runtime.any.system.globalization@4.3.0 -runtime.any.system.io@4.3.0 -runtime.any.system.reflection.extensions@4.3.0 -runtime.any.system.reflection.primitives@4.3.0 -runtime.any.system.reflection@4.3.0 -runtime.any.system.resources.resourcemanager@4.3.0 -runtime.any.system.runtime.handles@4.3.0 -runtime.any.system.runtime.interopservices@4.3.0 -runtime.any.system.runtime@4.3.0 -runtime.any.system.text.encoding.extensions@4.3.0 -runtime.any.system.text.encoding@4.3.0 -runtime.any.system.threading.tasks@4.3.0 -runtime.any.system.threading.timer@4.3.0 -runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -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.0 -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.0 -runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.linux-arm.microsoft.netcore.app@2.1.30 -runtime.linux-arm.microsoft.netcore.dotnetapphost@2.1.30 -runtime.linux-arm.microsoft.netcore.dotnethostpolicy@2.1.30 -runtime.linux-arm.microsoft.netcore.dotnethostresolver@2.1.30 -runtime.linux-arm64.microsoft.netcore.app@2.1.30 -runtime.linux-arm64.microsoft.netcore.dotnetapphost@2.1.30 -runtime.linux-arm64.microsoft.netcore.dotnethostpolicy@2.1.30 -runtime.linux-arm64.microsoft.netcore.dotnethostresolver@2.1.30 -runtime.linux-musl-x64.microsoft.netcore.app@2.1.30 -runtime.linux-musl-x64.microsoft.netcore.dotnetapphost@2.1.30 -runtime.linux-musl-x64.microsoft.netcore.dotnethostpolicy@2.1.30 -runtime.linux-musl-x64.microsoft.netcore.dotnethostresolver@2.1.30 -runtime.linux-x64.microsoft.netcore.app@2.1.30 -runtime.linux-x64.microsoft.netcore.dotnetapphost@2.1.30 -runtime.linux-x64.microsoft.netcore.dotnethostpolicy@2.1.30 -runtime.linux-x64.microsoft.netcore.dotnethostresolver@2.1.30 -runtime.native.system.io.compression@4.3.0 -runtime.native.system.net.http@4.3.0 -runtime.native.system.security.cryptography.apple@4.3.0 -runtime.native.system.security.cryptography.openssl@4.3.0 -runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.native.system@4.3.0 -runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0 -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.0 -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.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.0 -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.0 -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.0 -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.0 -runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.2 -runtime.unix.microsoft.win32.primitives@4.3.0 -runtime.unix.system.console@4.3.0 -runtime.unix.system.diagnostics.debug@4.3.0 -runtime.unix.system.io.filesystem@4.3.0 -runtime.unix.system.net.primitives@4.3.0 -runtime.unix.system.net.sockets@4.3.0 -runtime.unix.system.private.uri@4.3.0 -runtime.unix.system.runtime.extensions@4.3.0 -selenium.support@3.141.0 -selenium.webdriver@3.141.0 -sharpziplib@1.4.2 -simplebase@1.3.1 -sixlabors.fonts@1.0.1 -sixlabors.imagesharp@3.1.5 -standardsocketshttphandler@2.2.0.8 -system.appcontext@4.3.0 -system.buffers@4.3.0 -system.buffers@4.4.0 -system.buffers@4.5.1 -system.collections.concurrent@4.3.0 -system.collections.immutable@1.5.0 -system.collections.immutable@5.0.0 -system.collections.immutable@8.0.0 -system.collections.nongeneric@4.3.0 -system.collections.specialized@4.3.0 -system.collections@4.3.0 -system.componentmodel.annotations@5.0.0 -system.componentmodel.primitives@4.3.0 -system.componentmodel.typeconverter@4.3.0 -system.componentmodel@4.3.0 -system.console@4.3.0 -system.diagnostics.debug@4.3.0 -system.diagnostics.diagnosticsource@4.3.0 -system.diagnostics.diagnosticsource@7.0.2 -system.diagnostics.eventlog@6.0.0 -system.diagnostics.tools@4.3.0 -system.diagnostics.tracesource@4.3.0 -system.diagnostics.tracing@4.3.0 -system.drawing.common@4.7.2 -system.drawing.common@8.0.7 -system.dynamic.runtime@4.3.0 -system.globalization.calendars@4.3.0 -system.globalization.extensions@4.3.0 -system.globalization@4.3.0 -system.io.compression.zipfile@4.3.0 -system.io.compression@4.3.0 -system.io.filesystem.primitives@4.3.0 -system.io.filesystem@4.3.0 -system.io@4.3.0 -system.linq.async@6.0.1 -system.linq.expressions@4.3.0 -system.linq@4.3.0 -system.memory@4.5.0 -system.memory@4.5.1 -system.memory@4.5.4 -system.memory@4.5.5 -system.net.http@4.3.0 -system.net.http@4.3.4 -system.net.nameresolution@4.3.0 -system.net.primitives@4.3.0 -system.net.sockets@4.3.0 -system.numerics.vectors@4.4.0 -system.numerics.vectors@4.5.0 -system.objectmodel@4.3.0 -system.private.uri@4.3.0 -system.reflection.emit.ilgeneration@4.3.0 -system.reflection.emit.lightweight@4.3.0 -system.reflection.emit@4.3.0 -system.reflection.extensions@4.3.0 -system.reflection.metadata@1.6.0 -system.reflection.metadata@5.0.0 -system.reflection.primitives@4.3.0 -system.reflection.typeextensions@4.3.0 -system.reflection@4.3.0 -system.resources.extensions@7.0.0 -system.resources.extensions@8.0.0 -system.resources.resourcemanager@4.3.0 -system.runtime.compilerservices.unsafe@4.5.0 -system.runtime.compilerservices.unsafe@4.5.2 -system.runtime.compilerservices.unsafe@4.5.3 -system.runtime.compilerservices.unsafe@4.7.0 -system.runtime.compilerservices.unsafe@6.0.0 -system.runtime.extensions@4.3.0 -system.runtime.handles@4.3.0 -system.runtime.interopservices.runtimeinformation@4.3.0 -system.runtime.interopservices@4.3.0 -system.runtime.numerics@4.3.0 -system.runtime@4.3.0 -system.security.claims@4.3.0 -system.security.cryptography.algorithms@4.3.0 -system.security.cryptography.cng@4.3.0 -system.security.cryptography.csp@4.3.0 -system.security.cryptography.encoding@4.3.0 -system.security.cryptography.openssl@4.3.0 -system.security.cryptography.primitives@4.3.0 -system.security.cryptography.protecteddata@8.0.0 -system.security.cryptography.x509certificates@4.3.0 -system.security.principal.windows@4.3.0 -system.security.principal@4.3.0 -system.text.encoding.extensions@4.3.0 -system.text.encoding@4.3.0 -system.text.regularexpressions@4.3.0 -system.threading.tasks.dataflow@8.0.1 -system.threading.tasks.extensions@4.3.0 -system.threading.tasks.extensions@4.5.2 -system.threading.tasks.extensions@4.5.4 -system.threading.tasks@4.3.0 -system.threading.threadpool@4.3.0 -system.threading.timer@4.3.0 -system.threading@4.3.0 -system.valuetuple@4.5.0 -system.xml.readerwriter@4.3.0 -system.xml.xdocument@4.3.0 -system.xml.xmldocument@4.3.0 -unosquare.swan.lite@3.1.0 -xunit.abstractions@2.0.3 -xunit.analyzers@1.15.0 -xunit.assert@2.9.0 -xunit.core@2.9.0 -xunit.extensibility.core@2.9.0 -xunit.extensibility.execution@2.9.0 -xunit.runner.visualstudio@2.8.2 -xunit@2.9.0 -zxing.net@0.16.9 -" - -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" - -RDEPEND=" - 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 -) - -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_test() { - dotnet-pkg-base_test NAPS2.Lib.Tests -} - -src_install() { - dotnet-pkg_src_install - - insinto /usr/share/metainfo - doins ./NAPS2.Setup/config/linux/com.naps2.Naps2.metainfo.xml - - domenu ./NAPS2.Setup/config/linux/com.naps2.Naps2.desktop - - einstalldocs -} - -pkg_postinst() { - xdg_pkg_postinst -} - -pkg_postrm() { - xdg_pkg_postrm -} -- cgit v1.2.3