diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-05-13 10:31:59 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-05-13 10:50:31 -0400 |
commit | 4b180231d0018390f48889c8d6b0a4690397a66f (patch) | |
tree | f96356a9697fdb2eb9e6dab1a28ade4bbd228ccd /media-gfx/waifu2x-ncnn-vulkan | |
parent | dev-libs/ncnn: drop 20210525-r1 (diff) | |
download | gentoo-4b180231d0018390f48889c8d6b0a4690397a66f.tar.gz gentoo-4b180231d0018390f48889c8d6b0a4690397a66f.tar.bz2 gentoo-4b180231d0018390f48889c8d6b0a4690397a66f.zip |
media-gfx/waifu2x-ncnn-vulkan: drop 20210521-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-gfx/waifu2x-ncnn-vulkan')
-rw-r--r-- | media-gfx/waifu2x-ncnn-vulkan/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521-r1.ebuild | 55 |
2 files changed, 0 insertions, 56 deletions
diff --git a/media-gfx/waifu2x-ncnn-vulkan/Manifest b/media-gfx/waifu2x-ncnn-vulkan/Manifest index e641f2feec75..be06cc43ad75 100644 --- a/media-gfx/waifu2x-ncnn-vulkan/Manifest +++ b/media-gfx/waifu2x-ncnn-vulkan/Manifest @@ -1,2 +1 @@ -DIST waifu2x-ncnn-vulkan-20210521.tar.gz 34076523 BLAKE2B d04c3ac1152be899292730fe06f317c92f1334ea3f91cc6208444574c271d401152b4432bf5293f7193f0c318ca1685145754dd78ad0a8523aefa0fd56d40b4a SHA512 b1a0202a94deb9faadda34c5d46bceabec7ee00960676ca98090af4101bb63648fdc266cc608bfc621a3ec65c8c5f9503a02a4db4e51e9b2048d574c7a7f368a DIST waifu2x-ncnn-vulkan-20220419.tar.gz 34076913 BLAKE2B 0a8355d5b940e6371c49bf3b981a0dd7508b07ecd4d944da2a8a1f0a1ea7c77f61747bbb025c033781f032292e55ccccfa2a3b72684243973d132da99ed09ebf SHA512 fbb6491dddaea9806300cf3f5a582e25d7c644084d61cae33bb38339ac3cf47af03866a1f9bc4bd30f9270b68a945760ebb58535a19b5855a4a0824138ddb513 diff --git a/media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521-r1.ebuild b/media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521-r1.ebuild deleted file mode 100644 index ca5fdc679d96..000000000000 --- a/media-gfx/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 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" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-libs/ncnn:=[vulkan] - dev-util/glslang - media-libs/libwebp:= - media-libs/vulkan-loader" -DEPEND=" - ${RDEPEND} - dev-util/vulkan-headers" - -PATCHES=( - "${FILESDIR}"/${PN}-20210521-no-lto.patch -) - -src_prepare() { - CMAKE_USE_DIR="${S}/src" - cmake_src_prepare - - # Update all paths to match installation for models. - sed "/PATHSTR\|model path/s|models-|${EPREFIX}/usr/share/${PN}/models-|" \ - -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}"/waifu2x-ncnn-vulkan - - insinto /usr/share/${PN} - doins -r models/. - - einstalldocs -} |