diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 01:05:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 01:05:27 +0000 |
commit | b7819d03d7312d3d8d12b49738aa417f35f6e18a (patch) | |
tree | ddda281c46717f76e2c0d0ea4ed00da4bd58d9b5 /media-gfx | |
parent | 77b9f0d5906f0bd9ddf010abe155218c6629738a (diff) |
gentoo auto-resync : 22:11:2022 - 01:05:27
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/Manifest.gz | bin | 38342 -> 38502 bytes | |||
-rw-r--r-- | media-gfx/graphite2/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild | 2 | ||||
-rw-r--r-- | media-gfx/realesrgan-ncnn-vulkan/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/realesrgan-ncnn-vulkan/metadata.xml | 11 | ||||
-rw-r--r-- | media-gfx/realesrgan-ncnn-vulkan/realesrgan-ncnn-vulkan-0.2.0.ebuild | 56 |
6 files changed, 73 insertions, 2 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex 93afec17369b..dc40e887dfad 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest index caca60f77d91..18dd89d97ede 100644 --- a/media-gfx/graphite2/Manifest +++ b/media-gfx/graphite2/Manifest @@ -6,5 +6,5 @@ AUX graphite2-1.3.5-includes-libs-perl.patch 836 BLAKE2B 0429d214ff7fd9b903e1d3b AUX graphite2-1.35-fix-gcc-linking.patch 697 BLAKE2B 3f4f181477e5f2f5db85f0b5c76dfb2b471c41cb42bfce9a4663fc8aab7035371690077c45cff580c6a700a65466f866944e34127b307f6ef44035f47a65fabd SHA512 f8a8481f5e8e0178e38e8b8dff2e2b1d2f3143d1f1eca6b3b2ea15ea087651dff150fae8166ceaf18eb3995bb480f09e185ddf89b4ad6e352e1085d4655c71b7 DIST graphite2-1.3.14_p20210810.tar.gz 6656693 BLAKE2B 63a7d96b58f2779d8a4a353e1a986212b884fdf780fedcb83b22dcef2f7678d44c88c14ece2d09dc745df505a4a3825ce61d7c84bd05fd4e98c23d6e86e9326d SHA512 be54c1386578970cf65c1860336a113268181753c1e2a139e37ceeafcfa76e3162086879c54094d70cd0d36ad5852a95390aaa69572d875921e9481f1ae508ff EBUILD graphite2-1.3.14_p20210810-r1.ebuild 3075 BLAKE2B 7ab6cf0bf0b47adcc07f5553328bbc69921e51d069161fe4e57b6054af25ffa9597e3e7b47dfcb5ab9cf46c94f7a55ab029fb1c067f1c9b61d8ebe684bbae581 SHA512 cbf4c9d901d6f796de0d13ad247029b7d6b80cb469ed147fb394f7abc2042351178b639f0214d1803ada5b5f696327525f27a33c7fcd54c53abd5e4adfd3d34c -EBUILD graphite2-1.3.14_p20210810-r2.ebuild 3035 BLAKE2B f9cca2e362823b677cb804456b738e8a87d3122076b4db27a5dcdbb117f31f6cbb3044eeb881bc4f44f0b35ad9cae54d053d5335dc10f6039bacffe06891ce68 SHA512 f034801225df09974ff1c787f18e1daefdc3ff0be0cfc624e078a920b2a19699b4c3bbf0dc931998d1bab1ca8efecb13c87f4cf2a116223268191e8cc8e2ee40 +EBUILD graphite2-1.3.14_p20210810-r2.ebuild 3034 BLAKE2B 32fcefb3de4b38fdd9958bfc9b234a5a91992662a8d56d4df13bb06fbc0b292450818c3b1e99d0fdcd39c1af086bfc4835169720d8b22d29e2ad9a371033407b SHA512 8c3fcabfe9ecd579b9efffb2cd8f7615520e25a8afab6c6a86ead5cc3a5b6e8705a5c63ef442945f2c03361200c23f461f160e18ea61a6c48df5717aa47c0211 MISC metadata.xml 393 BLAKE2B 27dcc3bcbc5a0ec32bb751ec3bb8788c2c85d5d7743f0243749a88ace9b5a3faaa10adc84731dbec3e37208efef41e3d4124de57005345927e848a7cbca6b098 SHA512 1086491557aff2d6f3552829550db85332c809d20ec1e3517bfa311fdfb2a5386cc4b624481b4fd7db7e48ab39bb5d76e048461352b74cdecf89d904ef52590b diff --git a/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild b/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild index 3ad36af44b71..97ddd1d78926 100644 --- a/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild +++ b/media-gfx/graphite2/graphite2-1.3.14_p20210810-r2.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/graphite-${COMMIT}" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="perl test" RESTRICT="!test? ( test )" diff --git a/media-gfx/realesrgan-ncnn-vulkan/Manifest b/media-gfx/realesrgan-ncnn-vulkan/Manifest new file mode 100644 index 000000000000..44e5f70c0b2d --- /dev/null +++ b/media-gfx/realesrgan-ncnn-vulkan/Manifest @@ -0,0 +1,4 @@ +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 +EBUILD realesrgan-ncnn-vulkan-0.2.0.ebuild 1234 BLAKE2B e6fc5da4140c02246ec3300f7f0b6eb5a413608177581eb76ba9b7a6eae62a0f550e73f92c986fab9df39ea0628719d7e945441a633c080cc4c18248fd12b78d SHA512 34102d7539deff85cfffca99dc04dd1e6e6f9dd076c07493d789683e7def098f8fd5d360ca4f601898e86985316b7dca108d471e23965e0d999354ceaf996572 +MISC metadata.xml 349 BLAKE2B 24ac1f2d8bd653751e3be4ab8c49a3fc83d1f525b6ec7189688c753e4d9e684096111ad52cda36f4cd644d721bd056308544c7bde33d00f753d9d15c4e285949 SHA512 7effdd72cfa675eb85e9d3f9dc7ffc70c2f660dfb32ca198046dbcbcebe910b5171cd67edd5eef0f6b6e53709a03f742f4a74107fcb2790c9c9651142c48bef6 diff --git a/media-gfx/realesrgan-ncnn-vulkan/metadata.xml b/media-gfx/realesrgan-ncnn-vulkan/metadata.xml new file mode 100644 index 000000000000..c611331d3419 --- /dev/null +++ b/media-gfx/realesrgan-ncnn-vulkan/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>slashbeast@gentoo.org</email> + <name>Piotr Karbowski</name> + </maintainer> + <upstream> + <remote-id type="github">xinntao/Real-ESRGAN-ncnn-vulkan</remote-id> + </upstream> +</pkgmetadata> 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 new file mode 100644 index 000000000000..71a046f87d9e --- /dev/null +++ b/media-gfx/realesrgan-ncnn-vulkan/realesrgan-ncnn-vulkan-0.2.0.ebuild @@ -0,0 +1,56 @@ +# 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/. +} |