From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/waifu2x-ncnn-vulkan/
Date: Sun, 26 Apr 2020 20:09:10 +0000 (UTC) [thread overview]
Message-ID: <1587931742.dbe8100cf254f0522962235ade2c607d5af55773.slashbeast@gentoo> (raw)
commit: dbe8100cf254f0522962235ade2c607d5af55773
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 26 20:08:20 2020 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 20:09:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe8100c
media-gfx/waifu2x-ncnn-vulkan-20200414: version bump
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
media-gfx/waifu2x-ncnn-vulkan/Manifest | 1 +
.../waifu2x-ncnn-vulkan-20200414.ebuild | 40 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/media-gfx/waifu2x-ncnn-vulkan/Manifest b/media-gfx/waifu2x-ncnn-vulkan/Manifest
index 95bc6fda03e..0bfe764ae8b 100644
--- a/media-gfx/waifu2x-ncnn-vulkan/Manifest
+++ b/media-gfx/waifu2x-ncnn-vulkan/Manifest
@@ -1 +1,2 @@
DIST waifu2x-ncnn-vulkan-20200224.tar.gz 34063828 BLAKE2B 9fa00abd31f0d81dd785be5253e44f5bd4082ae9b2fcae747562eb6c577fd7cccdfeaf7421d09c54119fd36285dffcc68d2889ddc06d1a6ddf47ea418066367e SHA512 13531a186817da99efb60fc0b16d0d3f455d0f2d2c9b4b53ddaedf7c50f622b2e5385e4f5dd29668cf845444b39645f0b7e810ab5084aa1e3ca6dbaf424a4e13
+DIST waifu2x-ncnn-vulkan-20200414.tar.gz 34063752 BLAKE2B eb52cc3cf857bdb428497acf8721d51abd6e067b4ae2f126833dfcf8402eae118cfa112b310b366e3e945b871b8c3306e5d826426c43e66b6e1055729644f222 SHA512 c0c5d40fdbf0b643b589d5bca5460ec59fbf38ede33af510c4b30b3211f18cd44d665980a11c13ee922cacf7a05d89b076078bcb8fa59c0523ad6b985a804d97
diff --git a/media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20200414.ebuild b/media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20200414.ebuild
new file mode 100644
index 00000000000..77225416ea8
--- /dev/null
+++ b/media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20200414.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="waifu2x converter using ncnn and vulkan"
+HOMEPAGE="https://github.com/nihui/waifu2x-ncnn-vulkan"
+
+SRC_URI="https://github.com/nihui/waifu2x-ncnn-vulkan/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ dev-libs/ncnn
+ media-libs/vulkan-loader"
+
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+#S="${WORKDIR}/${P}/src"
+CMAKE_USE_DIR="${S}/src"
+
+src_prepare() {
+ # Make finding models actually possible.
+ sed -i 's|path_t model = PATHSTR("models-cunet")|path_t model = PATHSTR("/usr/share/waifu2x-ncnn-vulkan/models-cunet")|' src/main.cpp\
+
+ cmake_src_prepare
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/waifu2x-ncnn-vulkan
+
+ insinto "/usr/share/${PN}"
+ doins -r models/*
+}
next reply other threads:[~2020-04-26 20:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-26 20:09 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/waifu2x-ncnn-vulkan/ Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2022-08-07 13:59 Ionen Wolkens
2022-07-28 14:35 Ionen Wolkens
2022-05-13 14:51 Ionen Wolkens
2022-04-20 2:40 Ionen Wolkens
2022-04-20 2:40 Ionen Wolkens
2021-06-08 7:10 Ionen Wolkens
2021-05-31 19:30 Piotr Karbowski
2021-05-31 19:30 Piotr Karbowski
2021-05-31 19:30 Piotr Karbowski
2021-04-18 17:38 Piotr Karbowski
2021-04-18 17:38 Piotr Karbowski
2020-08-30 18:27 Piotr Karbowski
2020-03-29 22:06 Piotr Karbowski
2020-03-29 21:09 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=1587931742.dbe8100cf254f0522962235ade2c607d5af55773.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