diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-22 20:41:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-22 20:41:01 +0100 |
commit | ea6f03ddd591a238d9c5004d5ffbfaf7215c01ee (patch) | |
tree | e49b7109895d4bc1245d101acbdd2bc77efb48ef /media-gfx/pablodraw/pablodraw-3.3.13_beta.ebuild | |
parent | 63627de4936707c40b5c4dca4f23e9fe1e9c4837 (diff) |
gentoo auto-resync : 22:10:2023 - 20:41:01
Diffstat (limited to 'media-gfx/pablodraw/pablodraw-3.3.13_beta.ebuild')
-rw-r--r-- | media-gfx/pablodraw/pablodraw-3.3.13_beta.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/media-gfx/pablodraw/pablodraw-3.3.13_beta.ebuild b/media-gfx/pablodraw/pablodraw-3.3.13_beta.ebuild new file mode 100644 index 000000000000..965cc2432ee5 --- /dev/null +++ b/media-gfx/pablodraw/pablodraw-3.3.13_beta.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT=7.0 +NUGETS=" +atksharp@3.24.24.38 +cairosharp@3.24.24.38 +eto.forms@2.7.4 +eto.platform.gtk@2.7.4 +gdksharp@3.24.24.38 +giosharp@3.24.24.38 +glibsharp@3.24.24.38 +gtksharp@3.24.24.38 +lidgren.network@1.0.2 +microsoft.netcore.platforms@1.1.0 +mono.nat@3.0.3 +netstandard.library@2.0.3 +newtonsoft.json@13.0.2 +pangosharp@3.24.24.38 +sharpcompress@0.32.2 +system.buffers@4.5.1 +system.componentmodel.annotations@5.0.0 +system.memory@4.5.4 +system.numerics.vectors@4.4.0 +system.runtime.compilerservices.unsafe@4.5.3 +system.runtime.compilerservices.unsafe@6.0.0 +system.text.encoding.codepages@6.0.0 +" + +inherit desktop dotnet-pkg xdg + +DESCRIPTION="Ansi/Ascii text and RIPscrip vector graphic art editor/viewer" +HOMEPAGE="https://picoe.ca/products/pablodraw/ + https://github.com/cwensley/pablodraw/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/cwensley/${PN}.git" +else + SRC_URI="https://github.com/cwensley/${PN}/archive/${PV/_/-}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/${P/_/-}" + + KEYWORDS="~amd64" +fi + +SRC_URI+=" ${NUGET_URIS} " + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + x11-libs/gtk+:3[introspection] +" +BDEPEND=" + ${RDEPEND} +" + +DOTNET_PKG_PROJECTS=( Source/PabloDraw/PabloDraw.csproj ) + +src_unpack() { + dotnet-pkg_src_unpack + + if [[ -n "${EGIT_REPO_URI}" ]] ; then + git-r3_src_unpack + fi +} + +src_install() { + dotnet-pkg_src_install + dotnet-pkg-base_dolauncher "/usr/share/${P}/PabloDraw" "${PN}" + + doicon Assets/PabloDraw.png + make_desktop_entry "${PN}" PabloDraw PabloDraw "Graphics;RasterGraphics;" +} |