public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/realesrgan-ncnn-vulkan/
Date: Sun,  4 Dec 2022 09:56:50 +0000 (UTC)	[thread overview]
Message-ID: <1670147732.e8812cf3de296cbf347557b4df493ba7dfd744e6.slashbeast@gentoo> (raw)

commit:     e8812cf3de296cbf347557b4df493ba7dfd744e6
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 09:55:32 2022 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 09:55:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8812cf3

media-gfx/realesrgan-ncnn-vulkan: new default model; added missing model.

Closes: https://bugs.gentoo.org/883447
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 media-gfx/realesrgan-ncnn-vulkan/Manifest          |  2 +-
 .../realesrgan-ncnn-vulkan-0.2.0.ebuild            | 56 ----------------------
 2 files changed, 1 insertion(+), 57 deletions(-)

diff --git a/media-gfx/realesrgan-ncnn-vulkan/Manifest b/media-gfx/realesrgan-ncnn-vulkan/Manifest
index 82a91a75b8ae..c83810c8caea 100644
--- a/media-gfx/realesrgan-ncnn-vulkan/Manifest
+++ b/media-gfx/realesrgan-ncnn-vulkan/Manifest
@@ -1,2 +1,2 @@
-DIST Real-ESRGAN-v0.2.5.0-models.tar.xz 39195532 BLAKE2B 3ff956be8a4a8890cc7b42f9e5f9e12d769f83f918762b75fd3d31e4659b793eca8d107b89fb39b8d601d14775f448ef35de3e9f437d51efb841a910fb56f88b SHA512 f1ede62854d76b6bf2278e074a21893ad4010a8327fb6744bc4af63717a0dfa342f618bfa916886f6e05a31e71feed3c1244395572688d6d531feec08431aace
 DIST realesrgan-ncnn-vulkan-0.2.0.tar.gz 138744 BLAKE2B ec74388e789efbf6ea82a88428ff5745aa65d38b3d490b80858f91e21ff0f50333f791dadf2a626a4bee1ca88c808e41a413afce1f85d5a82aa824ecab673838 SHA512 5c845ad2fbea45eba1899582f3ca69bea679107cc4b3c49a94649b5a954117269a5b7d65ffeb8943531c71fff2ca749c06d0e3e0fd9c155ad3196f48c548d7cd
+DIST realesrgan-ncnn-vulkan-models.tar.xz 69216524 BLAKE2B ed9a1f019a48b81828221eb1cad38d0a710dfae15a13729276b040aed33bba0d326906fb0e9e162ce0ea4dc6f1bbcae92c08c4479fc3b09e854c2d5718b62c04 SHA512 4ac10f031688b18ac0920a0d848520a1fe4818a4141914ab4f4d36505abb271f4dbc538b41c3bc34586d7485773d86df2446c4af41f6d00cf4b140975ce21eda

diff --git a/media-gfx/realesrgan-ncnn-vulkan/realesrgan-ncnn-vulkan-0.2.0.ebuild b/media-gfx/realesrgan-ncnn-vulkan/realesrgan-ncnn-vulkan-0.2.0.ebuild
deleted file mode 100644
index 71a046f87d9e..000000000000
--- a/media-gfx/realesrgan-ncnn-vulkan/realesrgan-ncnn-vulkan-0.2.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="NCNN implementation of Real-ESRGAN"
-HOMEPAGE="https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan"
-SRC_URI="
-	https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
-	https://dev.gentoo.org/~slashbeast/distfiles/${PN}/Real-ESRGAN-v0.2.5.0-models.tar.xz
-"
-
-LICENSE="MIT BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-	dev-libs/ncnn:=[vulkan]
-	media-libs/libwebp:=
-	media-libs/vulkan-loader"
-DEPEND="
-	${RDEPEND}
-	dev-util/glslang
-	dev-util/vulkan-headers"
-
-S="${WORKDIR}/Real-ESRGAN-ncnn-vulkan-${PV}"
-
-src_prepare() {
-	rm -rf "src/libwebp" "src/ncnn"
-
-	CMAKE_USE_DIR=${S}/src
-	cmake_src_prepare
-
-	# Update all paths to match installation for models.
-	sed "s%PATHSTR(\"models\")%PATHSTR(\"${EPREFIX}/usr/share/${PN}/models\")%g" \
-		-i src/main.cpp || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DGLSLANG_TARGET_DIR="${ESYSROOT}"/usr/$(get_libdir)/cmake
-		-DUSE_SYSTEM_NCNN=ON
-		-DUSE_SYSTEM_WEBP=ON
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	dobin "${BUILD_DIR}"/realesrgan-ncnn-vulkan
-
-	insinto /usr/share/${PN}/models
-	doins -r ../models/.
-}


             reply	other threads:[~2022-12-04  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04  9:56 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-10 20:20 [gentoo-commits] repo/gentoo:master commit in: media-gfx/realesrgan-ncnn-vulkan/ Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2022-12-04 20:17 Ionen Wolkens
2022-11-21 20:24 Piotr Karbowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1670147732.e8812cf3de296cbf347557b4df493ba7dfd744e6.slashbeast@gentoo \
    --to=slashbeast@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox