From 8d8302677aeb2906313ea1214b7c3b46f18f187c Mon Sep 17 00:00:00 2001 From: Denis Reva Date: Sat, 11 Apr 2020 13:19:27 +0500 Subject: [PATCH 01/10] media-libs/amdvlk: new ebuild from Github's pull request Signed-off-by: Denis Reva All Unquoted variables is needed for fetching Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Reva Denis --- media-libs/amdvlk/Manifest | 8 ++ media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 125 +++++++++++++++++++++++ media-libs/amdvlk/metadata.xml | 16 +++ 3 files changed, 149 insertions(+) create mode 100644 media-libs/amdvlk/Manifest create mode 100644 media-libs/amdvlk/amdvlk-2020.1.4.ebuild create mode 100644 media-libs/amdvlk/metadata.xml diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest new file mode 100644 index 0000000000..22a1c3805e --- /dev/null +++ b/media-libs/amdvlk/Manifest @@ -0,0 +1,8 @@ +DIST AMDVLK-v-2020.Q1.4.tar.gz 30348 BLAKE2B fc3e4f03d52c064f8b028b1afd2aad6aab3196811d2d6e9535399f39619dc88317e3fb94e1faa9048fc6a3cbe64b1ee6ddc66a759fd38f5408e9cf8b9f535caa SHA512 53fd24eee13c38360b9f962a5d28a1598cdb180357a1ba8ba7c4460d6cd43f909fac25b8cb3231ec29ee172d85ff23faaa135970683072aa468bd15a5505353f +DIST CWPack-b601c88aeca7a7b08becb3d32709de383c8ee428.tar.gz 24538 BLAKE2B b30ddc4cf6e307864c77308faeb5a41a8ed9e708b668dac25989cfbe528422d70ffc17b54109c52abdf5da5c426a3d143cd19b4a3577459d5cce72a85e71284d SHA512 cc544f361ced841525041d6d31678698946362338cbd49ccfda6836f2dcfa4ce495d09b7ce191699364fd5101c671a6734aa4fb3ce447b9e8f1e75f7ea13c766 +DIST MetroHash-2b6fee002db6cc92345b02aeee963ebaaf4c0e2f.tar.gz 11762 BLAKE2B 4210468564233b0d49572bef5046479123e7597fa69d5a62d8e2b39b3898e89ae044ea2e58cce21f5034fd06c6178b9dbbee25d8f5ad5f3da18ac762b54400cb SHA512 565f98cb44af81c43096eabeaba269ea9cdc3ecfb06868fedf663a0d6f88f3c49251192de43cb30a5172b2ac60580f58fc2bacbd4cbefbc42283efccdfa8a87f +DIST llpc-7686a2ddba683f7a361460f3806b0d45e615ca76.tar.gz 1955263 BLAKE2B f9c6ad489f4998ede751d0b35b129a27d91d0e9d0e86a6d05652adb016eaae9ae40f3756c12ad2139040ab7543aeb1399988f28bda70417f480f42b0a8980ae9 SHA512 dc737957da89f6af4fdb85df2113857d8b9418df4396e7e362d029c696a11cf691b5aaff1ce14ab8ad0c1301d10af5f689394a76351eb965cba6be0e0194cb5d +DIST llvm-project-5c958c70bc6366298296dc778e903f65528c3b0f.tar.gz 116288565 BLAKE2B 438a04e6f3394e94bcfdcf97ecb240216050e723e1685ba05b10333061e7c8a6a79023071f35547509c88ed55541ed4e51988e06a89013201154dd89240b6f94 SHA512 57da73edda674e10ed799a06fa16f3dc5d241307bc28b463ab1cf4f359daa07c186fd64e242053fc4a3869efa604176c92a7850fc6005b1333e5aa92f6bf0bdd +DIST pal-bb7398b1c7509a30ba4f7d947b5ad5549a4d58db.tar.gz 7340860 BLAKE2B 66c0055ecff085b4ad762cba70f5c8448c448bcdebc2ebffd368a8a953cf40eb6e114e3c97cdd772b0c8c98982288f04915f647d247d21bd4dc7135491f98d28 SHA512 ed5cecd0243322f6c9885203677faabf4245b7af88b0eac2b0a736af971491690ce123b243b1d76af06249f0549aa2a724b67120ac413c6f4f6de0651d8c6b60 +DIST spvgen-d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1.tar.gz 17745 BLAKE2B b4244e0eb7e2967b692569090481e21cf87ee2124f9e9c0bc550be5e9c26baa08a6be33785cb15c05b54d57805cb1489f7f9abcc3490ed1f374f7c2a4b7dee61 SHA512 48ba6708eae2409af54165eb8577eded0f3adc228963807ef4a49496c954e1ee256c00b243fa1caa070cbc4931c1d8b6dcbc702620d6361bd3ab0a1a3414bce3 +DIST xgl-2db4177e78133c868e2c6b4dcc46aeb2f512163a.tar.gz 841923 BLAKE2B e67ae03976a806ed1eaddfd694270ea58d18a0d9cb60a8fe4ac67cbddf765df958127258aa28d8d824c5267fbcd3066abb3ffdb0fb2064c580cbdc4d7daf638b SHA512 26fdf2003c32d63792b80942d59bdda56c26e809a26031f77c0f31383df280c8b76ef7c9d321d193e2512075f197461b27db356f8170887c25fda01c85b9f5ed diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild new file mode 100644 index 0000000000..f8b5424287 --- /dev/null +++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +MULTILIB_COMPAT=( abi_x86_{32,64} ) + +inherit multilib-minimal check-reqs + +#cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151 +DESCRIPTION="AMD Open Source Driver for Vulkan" +HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug wayland" +REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )" +###DEPENDS +BUNDLED_LLVM_DEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]" +DEPEND="wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] ) + ${BUNDLED_LLVM_DEPEND} + >=dev-util/vulkan-headers-1.2.133" +BDEPEND="${BUNDLED_LLVM_DEPEND} + dev-util/cmake" +RDEPEND=" ${DEPEND} + x11-libs/libdrm[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libxcb[${MULTILIB_USEDEP}] + x11-libs/libxshmfence[${MULTILIB_USEDEP}] + >=media-libs/vulkan-loader-1.2.133[${MULTILIB_USEDEP}]" + +CHECKREQS_MEMORY="4G" +CHECKREQS_DISK_BUILD="2G" +S="${WORKDIR}" +CMAKE_USE_DIR="${S}/xgl" + +###SOURCE CODE VARIABLES +FETCH_URI="https://github.com/GPUOpen-Drivers" +CORRECT_AMDVLK_PV="v-$(ver_rs 1 '.Q')" #Works only for amdvlk source code: transforming version 2019.2.2 to v-2019.Q2.2. Any other commits should be updated manually +##For those who wants update ebuild: check https://github.com/GPUOpen-Drivers/AMDVLK/blob/master/default.xml +##and place commits in the desired variables +## EXAMPLE: XGL_COMMIT="80e5a4b11ad2058097e77746772ddc9ab2118e07" +## SRC_URI="... ${FETCH_URI}/$PART/archive/$COMMIT.zip -> $PART-$COMMIT.zip ..." +XGL_COMMIT="2db4177e78133c868e2c6b4dcc46aeb2f512163a" +PAL_COMMIT="bb7398b1c7509a30ba4f7d947b5ad5549a4d58db" +LLPC_COMMIT="7686a2ddba683f7a361460f3806b0d45e615ca76" +SPVGEN_COMMIT="d16fddddf22a1eb3a3f4ce05cbcb95a337f708b1" +LLVM_PROJECT_COMMIT="5c958c70bc6366298296dc778e903f65528c3b0f" +METROHASH_COMMIT="2b6fee002db6cc92345b02aeee963ebaaf4c0e2f" +CWPACK_COMMIT="b601c88aeca7a7b08becb3d32709de383c8ee428" +## SRC_URI +SRC_URI=" ${FETCH_URI}/AMDVLK/archive/${CORRECT_AMDVLK_PV}.tar.gz -> AMDVLK-${CORRECT_AMDVLK_PV}.tar.gz +${FETCH_URI}/xgl/archive/${XGL_COMMIT}.tar.gz -> xgl-${XGL_COMMIT}.tar.gz +${FETCH_URI}/pal/archive/${PAL_COMMIT}.tar.gz -> pal-${PAL_COMMIT}.tar.gz +${FETCH_URI}/llpc/archive/${LLPC_COMMIT}.tar.gz -> llpc-${LLPC_COMMIT}.tar.gz +${FETCH_URI}/spvgen/archive/${SPVGEN_COMMIT}.tar.gz -> spvgen-${SPVGEN_COMMIT}.tar.gz +${FETCH_URI}/llvm-project/archive/${LLVM_PROJECT_COMMIT}.tar.gz -> llvm-project-${LLVM_PROJECT_COMMIT}.tar.gz +${FETCH_URI}/MetroHash/archive/${METROHASH_COMMIT}.tar.gz -> MetroHash-${METROHASH_COMMIT}.tar.gz +${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.tar.gz" + +###EBUILD FUNCTIONS +src_prepare() { + ##moving src to proper directories + mkdir -p ${S} + mkdir -p ${S}/third_party + mv AMDVLK-${CORRECT_AMDVLK_PV}/ ${S}/AMDVLK + mv xgl-${XGL_COMMIT}/ ${S}/xgl + mv pal-${PAL_COMMIT}/ ${S}/pal + mv llpc-${LLPC_COMMIT}/ ${S}/llpc + mv spvgen-${SPVGEN_COMMIT}/ ${S}/spvgen + mv llvm-project-${LLVM_PROJECT_COMMIT}/ ${S}/llvm-project + mv MetroHash-${METROHASH_COMMIT}/ ${S}/third_party/metrohash + mv CWPack-${CWPACK_COMMIT}/ ${S}/third_party/cwpack + ##Installing rule + cat << EOF > "${T}/10-amdvlk-dri3.conf" || die +Section "Device" +Identifier "AMDgpu" +Option "DRI" "3" +EndSection +EOF + cd ${S}/xgl + default +} + +multilib_src_configure() { + local mycmakeargs=( \ + -DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \ + -DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \ + -B${BUILD_DIR} ) + cd ${S}/xgl + cmake -H. "${mycmakeargs[@]}" +} + +multilib_src_install() { + if use abi_x86_64 && multilib_is_native_abi; then + mkdir -p ${D}/usr/lib64/ + mv "${BUILD_DIR}/icd/amdvlk64.so" ${D}/usr/lib64/ + insinto /usr/share/vulkan/icd.d + doins ${S}/AMDVLK/json/Redhat/amd_icd64.json + else + mkdir -p ${D}/usr/lib/ + mv "${BUILD_DIR}/icd/amdvlk32.so" ${D}/usr/lib/ + insinto /usr/share/vulkan/icd.d + doins ${S}/AMDVLK/json/Redhat/amd_icd32.json + fi +} + +multilib_src_install_all() { + insinto /usr/share/X11/xorg.conf.d/ + doins ${T}/10-amdvlk-dri3.conf + einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf" + einfo "It's safe to double xorg configuration files if you have already had ones" +} + +pkg_postinst() { + elog "More information about the configuration can be found here:" + elog " https://github.com/GPUOpen-Drivers/AMDVLK" + ewarn "Make sure the following line is NOT included in the any Xorg configuration section:" + ewarn "Driver \"modesetting\"" + ewarn "Else AMDVLK breaks things" + ewarn "With some games AMDVLK is still not stable. Use it at you own risk" + elog "You may want to disable default vulkan mesa provider in package.use \"media-libs/mesa -vulkan\"" + elog "or perform export in /etc/env.d/ variable VK_ICD_FILENAMES=vulkanprovidername:vulkanprovidername2 " + elog "exampe| VK_ICD_FILENAMES=\"/usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/amd_icd64.json\"" +} diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml new file mode 100644 index 0000000000..d986303f67 --- /dev/null +++ b/media-libs/amdvlk/metadata.xml @@ -0,0 +1,16 @@ + + + + + denis7774@gmail.com + Reva Denis aka RarogCmex + + + proxy-maint@gentoo.org + Proxy Maintainers + + + The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools. + Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI. + + From 68c5bcd3a9b9dba48fbd3f69451e00ba1655b9a7 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 10:30:32 +0200 Subject: [PATCH 02/10] dev-python/backrefs: fixup doc Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/backrefs/backrefs-4.3.0.ebuild | 24 +++++++---------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/dev-python/backrefs/backrefs-4.3.0.ebuild b/dev-python/backrefs/backrefs-4.3.0.ebuild index d86de11353..a7183c489a 100644 --- a/dev-python/backrefs/backrefs-4.3.0.ebuild +++ b/dev-python/backrefs/backrefs-4.3.0.ebuild @@ -5,7 +5,13 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit distutils-r1 +DOCBUILDER="mkdocs" +DOCDEPEND=" + ~dev-python/mkdocs-material-4.6.3 + dev-python/pyspelling +" + +inherit distutils-r1 docs DESCRIPTION="Wrapper around re or regex that adds additional back references" HOMEPAGE=" @@ -18,27 +24,11 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc" - DEPEND=" test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/regex[${PYTHON_USEDEP}] ) " -BDEPEND=" - doc? ( - >=dev-python/mkdocs-material-2.2.5 - dev-python/pyspelling - ) -" distutils_enable_tests pytest - -python_compile_all() { - default - if use doc; then - mkdocs build || die "failed to make docs" - HTML_DOCS="site" - fi -} From e755a37dd1c591e27827076bc6b172d111ed87ad Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 10:38:46 +0200 Subject: [PATCH 03/10] dev-python/bracex: do not depend on mkdocs-git-rev... Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/bracex/bracex-2.0.0.ebuild | 32 +++++++++++++-------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.0.ebuild index 3f6f564c7e..82b9ebe470 100644 --- a/dev-python/bracex/bracex-2.0.0.ebuild +++ b/dev-python/bracex/bracex-2.0.0.ebuild @@ -5,7 +5,14 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit distutils-r1 +DOCBUILDER="mkdocs" +DOCDEPEND=" + ~dev-python/mkdocs-material-5.0.0_rc2 + dev-python/mkdocs_pymdownx_material_extras + dev-python/pyspelling +" + +inherit distutils-r1 docs DESCRIPTION="Bash style brace expansion for Python" HOMEPAGE=" @@ -18,22 +25,13 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc" - -BDEPEND=" - doc? ( - dev-python/mkdocs-git-revision-date-localized-plugin - dev-python/mkdocs_pymdownx_material_extras - dev-python/pyspelling - ) -" - distutils_enable_tests pytest -python_compile_all() { - default - if use doc; then - mkdocs build || die "failed to make docs" - HTML_DOCS="site" - fi +python_prepare_all() { + # git revision data plugin needs git repo to build + # do not depend on this + sed -i -e '/git-revision-date-localized/d' \ + mkdocs.yml || die + + distutils-r1_python_prepare_all } From 987055310a9b3338c9b4494fdeb673afcf28a820 Mon Sep 17 00:00:00 2001 From: YOSHIOKA Takuma Date: Sat, 11 Apr 2020 20:37:56 +0900 Subject: [PATCH 04/10] x11-libs/sdl-fakeqwerty: use BDEPEND for pkgconfig and change package version to `0_pre20191217` as the project does not have official release yet. Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: YOSHIOKA Takuma --- x11-libs/sdl-fakeqwerty/Manifest | 2 +- .../files/{Makefile-20191217 => Makefile-0_pre20191217} | 0 ...erty-20191217.ebuild => sdl-fakeqwerty-0_pre20191217.ebuild} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename x11-libs/sdl-fakeqwerty/files/{Makefile-20191217 => Makefile-0_pre20191217} (100%) rename x11-libs/sdl-fakeqwerty/{sdl-fakeqwerty-20191217.ebuild => sdl-fakeqwerty-0_pre20191217.ebuild} (98%) diff --git a/x11-libs/sdl-fakeqwerty/Manifest b/x11-libs/sdl-fakeqwerty/Manifest index 05256df7e3..33db6f5426 100644 --- a/x11-libs/sdl-fakeqwerty/Manifest +++ b/x11-libs/sdl-fakeqwerty/Manifest @@ -1 +1 @@ -DIST sdl-fakeqwerty-20191217.tar.gz 19099 BLAKE2B e75ab93a1c1e4a47c4a4a65e1842139768cdc0cf1333880ebf762c0ec5e9560af7af31a91928c89b115d10858045340c58dc3fbbc3fe4bf0887f9be3f4f6a12d SHA512 5487fc75f028254df82b2546e51909ae0db693e1989116812e35fac0c1bebebcd72d5eb5335a313074d93417e0d4cd831e14fde712856d98ad73d580794e1144 +DIST sdl-fakeqwerty-0_pre20191217.tar.gz 19099 BLAKE2B e75ab93a1c1e4a47c4a4a65e1842139768cdc0cf1333880ebf762c0ec5e9560af7af31a91928c89b115d10858045340c58dc3fbbc3fe4bf0887f9be3f4f6a12d SHA512 5487fc75f028254df82b2546e51909ae0db693e1989116812e35fac0c1bebebcd72d5eb5335a313074d93417e0d4cd831e14fde712856d98ad73d580794e1144 diff --git a/x11-libs/sdl-fakeqwerty/files/Makefile-20191217 b/x11-libs/sdl-fakeqwerty/files/Makefile-0_pre20191217 similarity index 100% rename from x11-libs/sdl-fakeqwerty/files/Makefile-20191217 rename to x11-libs/sdl-fakeqwerty/files/Makefile-0_pre20191217 diff --git a/x11-libs/sdl-fakeqwerty/sdl-fakeqwerty-20191217.ebuild b/x11-libs/sdl-fakeqwerty/sdl-fakeqwerty-0_pre20191217.ebuild similarity index 98% rename from x11-libs/sdl-fakeqwerty/sdl-fakeqwerty-20191217.ebuild rename to x11-libs/sdl-fakeqwerty/sdl-fakeqwerty-0_pre20191217.ebuild index 6294fc4833..3c31b100f2 100644 --- a/x11-libs/sdl-fakeqwerty/sdl-fakeqwerty-20191217.ebuild +++ b/x11-libs/sdl-fakeqwerty/sdl-fakeqwerty-0_pre20191217.ebuild @@ -19,10 +19,10 @@ REQUIRED_USE="|| ( sdl sdl2 xlib )" RDEPEND="" DEPEND=" - virtual/pkgconfig xlib? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) sdl? ( >=media-libs/libsdl-1.2[${MULTILIB_USEDEP}] ) sdl2? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )" +BDEPEND="virtual/pkgconfig" DOCS=( README.md background.md games ) From 74dd58ec47c8788639667a0335e048940db8fda5 Mon Sep 17 00:00:00 2001 From: Denis Reva Date: Sat, 11 Apr 2020 19:05:57 +0500 Subject: [PATCH 05/10] media-libs/amdvlk: Fixed manifest, slightly improved ebuild. Unquoted variables is a neccessary part of ebuild Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Denis Reva --- media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 4 ++-- media-libs/amdvlk/metadata.xml | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild index f8b5424287..3971a41b91 100644 --- a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild +++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild @@ -1,15 +1,15 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=7 MULTILIB_COMPAT=( abi_x86_{32,64} ) inherit multilib-minimal check-reqs -#cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151 +#inherit cmake-multilib and cmake-utils build doesn't support https://github.com/GPUOpen-Drivers/AMDVLK/issues/151 DESCRIPTION="AMD Open Source Driver for Vulkan" HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK" - LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/media-libs/amdvlk/metadata.xml b/media-libs/amdvlk/metadata.xml index d986303f67..b5b5e7e553 100644 --- a/media-libs/amdvlk/metadata.xml +++ b/media-libs/amdvlk/metadata.xml @@ -5,10 +5,6 @@ denis7774@gmail.com Reva Denis aka RarogCmex - - proxy-maint@gentoo.org - Proxy Maintainers - The AMD Open Source Driver for Vulkan® is an open-source Vulkan driver for AMD Radeon™ graphics adapters on Linux®. It is built on top of AMD’s Platform Abstraction Library (PAL), a shared component that is designed to encapsulate certain hardware and OS-specific programming details for many of AMD’s 3D and compute drivers. Leveraging PAL can help provide a consistent experience across platforms, including support for recently released GPUs and compatibility with AMD developer tools. Shaders that compose a particular VkPipeline object are compiled as a single entity using the LLVM-Based Pipeline Compiler (LLPC) library. LLPC builds on LLVM’s existing shader compilation infrastructure for AMD GPUs to generate code objects compatible with PAL’s pipeline ABI. From 420adb81c01c273258b3ee1218b6093dce1bc279 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Sat, 11 Apr 2020 22:41:56 +0800 Subject: [PATCH 06/10] sci-electronics/verilator: bump to 4.032 upgrade package to new version Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Huang Rui --- sci-electronics/verilator/Manifest | 2 +- .../{verilator-4.026.ebuild => verilator-4.032.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sci-electronics/verilator/{verilator-4.026.ebuild => verilator-4.032.ebuild} (100%) diff --git a/sci-electronics/verilator/Manifest b/sci-electronics/verilator/Manifest index a3d4eefb85..82e2bf722e 100644 --- a/sci-electronics/verilator/Manifest +++ b/sci-electronics/verilator/Manifest @@ -1 +1 @@ -DIST verilator-4.026.tar.gz 2404465 BLAKE2B a861c16b706a26bb0d9f879a6ac129eca29cfd36c47d044ba8297ce2f4bfbc3d6a8f68f652a0b7db0542373416e975b2266bbf1ea11b0f949c12c1c5f6706b05 SHA512 cc91c44da39b5b0256adf1d43acad22d07bcdc56636336673916a7b01d39c5fc06603b87a9d9e214497a793d1e9ff198593f915f676c99a32f0853f4b74d0527 +DIST verilator-4.032.tar.gz 2497830 BLAKE2B eb318e0326be9f72b32bd98f8a6de74516bda4bdf2d21d572c72e92759a4ee64e514fdb3dae20c8bea40e72d493775a02766e7ea619dd8eb541f3450278b0b20 SHA512 2b34d0b6d94babb74b443b3f3ae4e6c9f15423a0b078df72930c4f75b4a831843a4d4b901dc586725a67a49c6f5308402fef4c9ca72b88b13b01746b36d2fb20 diff --git a/sci-electronics/verilator/verilator-4.026.ebuild b/sci-electronics/verilator/verilator-4.032.ebuild similarity index 100% rename from sci-electronics/verilator/verilator-4.026.ebuild rename to sci-electronics/verilator/verilator-4.032.ebuild From c382c3d89a6587d1e2b34f3974102704ebf0794e Mon Sep 17 00:00:00 2001 From: Denis Reva Date: Sat, 11 Apr 2020 23:07:08 +0500 Subject: [PATCH 07/10] media-plugins/whysynth: New ebuild: DSSI music software synthesizer Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Denis Reva --- media-plugins/whysynth/Manifest | 1 + media-plugins/whysynth/metadata.xml | 22 ++++++++++++++ .../whysynth/whysynth-20180323.ebuild | 29 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 media-plugins/whysynth/Manifest create mode 100644 media-plugins/whysynth/metadata.xml create mode 100644 media-plugins/whysynth/whysynth-20180323.ebuild diff --git a/media-plugins/whysynth/Manifest b/media-plugins/whysynth/Manifest new file mode 100644 index 0000000000..03d9e7eae6 --- /dev/null +++ b/media-plugins/whysynth/Manifest @@ -0,0 +1 @@ +DIST whysynth-20180323.tar.gz 2656205 BLAKE2B 305ebe9162bb4aed15ac4632f1511123b8cf1b7dd1859b18d1339ad076581938076a7856df36a7517d880e391db79dac445ebff51c956ecb09a4193d6335695c SHA512 978df4611adfa184027ba694b547e8307ee9ac167ef5057d0c0ce124e2206bbb633f93d88b789824112e71b6fa9f99de731d61f71d97416d5d87ac9df6b7dd40 diff --git a/media-plugins/whysynth/metadata.xml b/media-plugins/whysynth/metadata.xml new file mode 100644 index 0000000000..b5af65068d --- /dev/null +++ b/media-plugins/whysynth/metadata.xml @@ -0,0 +1,22 @@ + + + + + denis7774@gmail.com + Reva Denis + + + smbolton/whysynth + + + WhySynth is a versatile softsynth which operates as a plugin for the DSSI Soft Synth Interface. A brief list of features: + 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice. + 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle, asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase distortion. + 10 filter modes. + flexible modulation and mixdown options, plus effects. + DSSI is a plugin API for software instruments (soft synths) with user interfaces, permitting them to be hosted in-process by audio applications. More information on DSSI can be found at: + http://dssi.sourceforge.net/ + WhySynth is something of a mongrel, combining bits from Xsynth-DSSI, hexter, Csound, Mats Olsson's MSS, and various other programs, with inspiration from a number of my favorite long-hair-days synths (Matrix 6, ESQ-1, K4), and wavecycle data resynthesized from Claude Kaber's Virtual K4 samples and //christian's exegesis of the Ensoniq SQ-80 wavetable ROMs. See the enclosed file AUTHORS for more details. + WhySynth is written by Sean Bolton, and copyright (c) 2017 under the GNU General Public License, version 2 or later. See the enclosed file COPYING for details. While this software is 'free' within the requirements of this license, I (Sean) would appreciate any or all of the following should you find WhySynth useful. + + diff --git a/media-plugins/whysynth/whysynth-20180323.ebuild b/media-plugins/whysynth/whysynth-20180323.ebuild new file mode 100644 index 0000000000..ec2966f516 --- /dev/null +++ b/media-plugins/whysynth/whysynth-20180323.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools +DESCRIPTION="A software synthesizer plugin for the DSSI Soft Synth Interface" +HOMEPAGE="http://smbolton.com/whysynth.html https://github.com/smbolton/whysynth" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" +LICENSE="GPL-2" +WHYSYNTH_COMMIT="32e4bc73baa554bb1844b3165e657911f43f3568" +SRC_URI="https://github.com/smbolton/${PN}/archive/${WHYSYNTH_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${WHYSYNTH_COMMIT}" +RDEPEND="media-libs/dssi + media-libs/liblo + sci-libs/fftw:3.0 + x11-libs/gtk+:2 + media-libs/ladspa-sdk + media-libs/alsa-lib" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + ./autogen.sh + default + WANT_AUTOMAKE="1.7" eautoreconf +} From 678b22e46e279428aeaaf5c837c0222dc4253244 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 21:23:19 +0200 Subject: [PATCH 08/10] dev-python/spotipy: 2.11.1 version bump Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/spotipy/Manifest | 2 +- .../spotipy/{spotipy-2.10.0.ebuild => spotipy-2.11.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename dev-python/spotipy/{spotipy-2.10.0.ebuild => spotipy-2.11.1.ebuild} (100%) diff --git a/dev-python/spotipy/Manifest b/dev-python/spotipy/Manifest index 7b137923ca..8abc1d94c1 100644 --- a/dev-python/spotipy/Manifest +++ b/dev-python/spotipy/Manifest @@ -1 +1 @@ -DIST spotipy-2.10.0.tar.gz 82414 BLAKE2B 06915b6e910ab69853ee8e54503da050733e138dc27fbb3c27049c2277231c97659fcbc3f3205aa252f89b738f5863851751de253efce970f31617046a6e8de5 SHA512 00e9a05ce4321c889a4586ae504b4399753701a6fc08ecc4775099b74d82087551c81329242c395ff9d0497f45c9aa4c9a261132295117be310cd6f33ca1811a +DIST spotipy-2.11.1.tar.gz 85670 BLAKE2B 821650ed83968ad76c1cf1fd6463d1441acf0e05b48721b82200d4be642056b3525f5d61de61856a342ffd67623b09a6d466df0e4b4c036e2a33c66872fd6702 SHA512 596ba9ce5e36f8885d6cf04112e16e97e40e39a1da0879e0c2e254118454766220a16b3dd8008364085aa238f27e40899c57e442574dfebf1e393fad74b852a9 diff --git a/dev-python/spotipy/spotipy-2.10.0.ebuild b/dev-python/spotipy/spotipy-2.11.1.ebuild similarity index 100% rename from dev-python/spotipy/spotipy-2.10.0.ebuild rename to dev-python/spotipy/spotipy-2.11.1.ebuild From 1a60e3b6aa702f3f036a0334abc7777b95057626 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 22:26:45 +0200 Subject: [PATCH 09/10] media-plugins/whysynth: fix inconsistent use of spaces/tabs indentation makes repoman happy Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- media-plugins/whysynth/metadata.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/media-plugins/whysynth/metadata.xml b/media-plugins/whysynth/metadata.xml index b5af65068d..6c512ea8a9 100644 --- a/media-plugins/whysynth/metadata.xml +++ b/media-plugins/whysynth/metadata.xml @@ -9,14 +9,14 @@ smbolton/whysynth - WhySynth is a versatile softsynth which operates as a plugin for the DSSI Soft Synth Interface. A brief list of features: - 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice. - 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle, asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase distortion. - 10 filter modes. - flexible modulation and mixdown options, plus effects. - DSSI is a plugin API for software instruments (soft synths) with user interfaces, permitting them to be hosted in-process by audio applications. More information on DSSI can be found at: - http://dssi.sourceforge.net/ - WhySynth is something of a mongrel, combining bits from Xsynth-DSSI, hexter, Csound, Mats Olsson's MSS, and various other programs, with inspiration from a number of my favorite long-hair-days synths (Matrix 6, ESQ-1, K4), and wavecycle data resynthesized from Claude Kaber's Virtual K4 samples and //christian's exegesis of the Ensoniq SQ-80 wavetable ROMs. See the enclosed file AUTHORS for more details. - WhySynth is written by Sean Bolton, and copyright (c) 2017 under the GNU General Public License, version 2 or later. See the enclosed file COPYING for details. While this software is 'free' within the requirements of this license, I (Sean) would appreciate any or all of the following should you find WhySynth useful. + WhySynth is a versatile softsynth which operates as a plugin for the DSSI Soft Synth Interface. A brief list of features: + 4 oscillators, 2 filters, 3 LFOs, and 5 envelope generators per voice. + 11 oscillator modes: minBLEP, wavecycle, chorused wavecycle, asynchronous granular, three FM modes, waveshaper, noise, PADsynth, and phase distortion. + 10 filter modes. + flexible modulation and mixdown options, plus effects. + DSSI is a plugin API for software instruments (soft synths) with user interfaces, permitting them to be hosted in-process by audio applications. More information on DSSI can be found at: + http://dssi.sourceforge.net/ + WhySynth is something of a mongrel, combining bits from Xsynth-DSSI, hexter, Csound, Mats Olsson's MSS, and various other programs, with inspiration from a number of my favorite long-hair-days synths (Matrix 6, ESQ-1, K4), and wavecycle data resynthesized from Claude Kaber's Virtual K4 samples and //christian's exegesis of the Ensoniq SQ-80 wavetable ROMs. See the enclosed file AUTHORS for more details. + WhySynth is written by Sean Bolton, and copyright (c) 2017 under the GNU General Public License, version 2 or later. See the enclosed file COPYING for details. While this software is 'free' within the requirements of this license, I (Sean) would appreciate any or all of the following should you find WhySynth useful. From 114edb092c3aaa0ccb3e414a5fb0ff8e934688e1 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sat, 11 Apr 2020 22:31:55 +0200 Subject: [PATCH 10/10] media-libs/amdvlk: quote S,D and T variables Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- media-libs/amdvlk/amdvlk-2020.1.4.ebuild | 38 ++++++++++++------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild index 3971a41b91..e249ecf12a 100644 --- a/media-libs/amdvlk/amdvlk-2020.1.4.ebuild +++ b/media-libs/amdvlk/amdvlk-2020.1.4.ebuild @@ -61,16 +61,16 @@ ${FETCH_URI}/CWPack/archive/${CWPACK_COMMIT}.tar.gz -> CWPack-${CWPACK_COMMIT}.t ###EBUILD FUNCTIONS src_prepare() { ##moving src to proper directories - mkdir -p ${S} - mkdir -p ${S}/third_party - mv AMDVLK-${CORRECT_AMDVLK_PV}/ ${S}/AMDVLK - mv xgl-${XGL_COMMIT}/ ${S}/xgl - mv pal-${PAL_COMMIT}/ ${S}/pal - mv llpc-${LLPC_COMMIT}/ ${S}/llpc - mv spvgen-${SPVGEN_COMMIT}/ ${S}/spvgen - mv llvm-project-${LLVM_PROJECT_COMMIT}/ ${S}/llvm-project - mv MetroHash-${METROHASH_COMMIT}/ ${S}/third_party/metrohash - mv CWPack-${CWPACK_COMMIT}/ ${S}/third_party/cwpack + mkdir -p "${S}" + mkdir -p "${S}/third_party" + mv AMDVLK-${CORRECT_AMDVLK_PV}/ "${S}/AMDVLK" + mv xgl-${XGL_COMMIT}/ "${S}/xgl" + mv pal-${PAL_COMMIT}/ "${S}/pal" + mv llpc-${LLPC_COMMIT}/ "${S}/llpc" + mv spvgen-${SPVGEN_COMMIT}/ "${S}/spvgen" + mv llvm-project-${LLVM_PROJECT_COMMIT}/ "${S}/llvm-project" + mv MetroHash-${METROHASH_COMMIT}/ "${S}/third_party/metrohash" + mv CWPack-${CWPACK_COMMIT}/ "${S}/third_party/cwpack" ##Installing rule cat << EOF > "${T}/10-amdvlk-dri3.conf" || die Section "Device" @@ -78,7 +78,7 @@ Identifier "AMDgpu" Option "DRI" "3" EndSection EOF - cd ${S}/xgl + cd "${S}/xgl" default } @@ -87,27 +87,27 @@ multilib_src_configure() { -DBUILD_WAYLAND_SUPPORT=$(usex wayland ) \ -DCMAKE_BUILD_TYPE="$(usex debug "Debug" "Release")" \ -B${BUILD_DIR} ) - cd ${S}/xgl + cd "${S}"/xgl cmake -H. "${mycmakeargs[@]}" } multilib_src_install() { if use abi_x86_64 && multilib_is_native_abi; then - mkdir -p ${D}/usr/lib64/ - mv "${BUILD_DIR}/icd/amdvlk64.so" ${D}/usr/lib64/ + mkdir -p "${D}/usr/lib64/" + mv "${BUILD_DIR}/icd/amdvlk64.so" "${D}/usr/lib64/" insinto /usr/share/vulkan/icd.d - doins ${S}/AMDVLK/json/Redhat/amd_icd64.json + doins "${S}/AMDVLK/json/Redhat/amd_icd64.json" else - mkdir -p ${D}/usr/lib/ - mv "${BUILD_DIR}/icd/amdvlk32.so" ${D}/usr/lib/ + mkdir -p "${D}/usr/lib/" + mv "${BUILD_DIR}/icd/amdvlk32.so" "${D}/usr/lib/" insinto /usr/share/vulkan/icd.d - doins ${S}/AMDVLK/json/Redhat/amd_icd32.json + doins "${S}/AMDVLK/json/Redhat/amd_icd32.json" fi } multilib_src_install_all() { insinto /usr/share/X11/xorg.conf.d/ - doins ${T}/10-amdvlk-dri3.conf + doins "${T}/10-amdvlk-dri3.conf" einfo "AMDVLK requires DRI3 mode so config file is istalled in /usr/share/X11/xorg.conf.d/10-amdvlk-dri3.conf" einfo "It's safe to double xorg configuration files if you have already had ones" }