From 2b50b979373e726ba32df6cc64cbeaadcd861d6a Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Mon, 1 Jun 2020 15:57:38 +0200 Subject: [PATCH 1/8] app-misc/cheat: bump minor to 3.10.1 this release officially adds support for 32bit systems. `x86` keyword has been added but not tested. It should work since Go supports well both architectures. https://github.com/cheat/cheat/releases/tag/3.10.1 Package-Manager: Portage-2.3.89, Repoman 2.3.20 Signed-off-by: Mathieu Tortuyaux --- app-misc/cheat/Manifest | 6 +++--- app-misc/cheat/{cheat-3.10.0.ebuild => cheat-3.10.1.ebuild} | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename app-misc/cheat/{cheat-3.10.0.ebuild => cheat-3.10.1.ebuild} (98%) diff --git a/app-misc/cheat/Manifest b/app-misc/cheat/Manifest index 98f3529442..2abb09b7e5 100644 --- a/app-misc/cheat/Manifest +++ b/app-misc/cheat/Manifest @@ -1,4 +1,4 @@ -DIST cheat-3.10.0.tar.gz 1529751 BLAKE2B 03f1ce804b035c77987a8dc87932b0211feaeb8d6b217f3a204ec8ef0af795a7bec17b0cd0ea6e2af7eb7be89fb9f1a1a02c0a7511398d63213a5cc233de7ded SHA512 61f72669ced43315bd01da92930c7664d2a83e44985d4106ed26073567b8fffbe40ea74727f37950984c4a7f39d56586d745196f9f6aae6008d81436ce409fbd +DIST cheat-3.10.1.tar.gz 1529815 BLAKE2B ab88435b1e8c6aef4de056be8d3f9c7fdfa4e92c989f075abc784a730c926a0ef36183b442e67a97576e99c42dfef63212b500fce2a8b21edf2b5a9e5ad793fa SHA512 aefd54df2837bad0897baff72a415720e1557696e5644e2725daa39d421a4cb6921da93810789d384e994e991cb73df7bf875e09b8c94b93dad23b494bb77400 DIST github.com%2Falecthomas%2Fassert%2F@v%2Fv0.0.0-20170929043011-405dbfeb8e38.mod 36 BLAKE2B d0745757255951a92d471fdb1eeaae2e118d367caf0fcea00a405536d7e30609f22276e7a453aac1ca38063635df798a0843f279c178d394a7cbef9c9f9b3c27 SHA512 87ff97fea3e25aa903503e56fe5afc337918f7253dd7175833adb144a7296451a7d4ebd76df504737a5b4c5237b1102920728d21a587957d5d25db5d38e1217b DIST github.com%2Falecthomas%2Fassert%2F@v%2Fv0.0.0-20170929043011-405dbfeb8e38.zip 73310 BLAKE2B b0aaa346be477c14bd504f98219659c8a82ba08afdd94f1a5ffbb44cfcb6cc9b014c1ee35aec6071d4733134931e6d2a569940e9f1f06a5e69b00f56d82579e9 SHA512 adf9a3b8bda92edd028f497ca10648900a7aac4dae9372469b511afc74e79f8b990e448f375ab2a8df651a491bab5413196c06db531adc10358865f74de6f26b DIST github.com%2Falecthomas%2Fchroma%2F@v%2Fv0.7.3.mod 687 BLAKE2B b987855d98e0e6181e8f28c12976081b5e0699cffc79b0721c811eaf6962e6edc5a01135519f787eac6d38e742517aa4d6e061ac4e5ba986e5c5e0cbd2a19177 SHA512 bf5c7b4933d685d90882099aa8c5bc33f8ec58e5a35138180b58771185306b6119cfaab319a43ade929b4560be9746f9155c8d55d1755df12b177613982c7617 @@ -61,5 +61,5 @@ DIST gopkg.in%2Fyaml.v1%2F@v%2Fv1.0.0-20140924161607-9f9df34309c0.mod 24 BLAKE2B DIST gopkg.in%2Fyaml.v1%2F@v%2Fv1.0.0-20140924161607-9f9df34309c0.zip 67419 BLAKE2B 2cb2c937d62a330cddc757cc8b1de8a9831fdac7670bce11b83c34a0a25644e3286940406df1417d6194756bbbf28c601a1e438d2c29fd40fd186945da8f3edb SHA512 f731b8df7820132eb2aef828af6c65fe5f43facdec9978807db2873477a1888cc3b0518676a316625bb12907a301bbc08b03c19c521ea20a9960d5264ff4a8d3 DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.2.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.4.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.8.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 -DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.8.zip 80666 BLAKE2B ff3645b71cedd41b9fef6e5d01f3d89a2db6930f406aded7889530b04689ea34b53fa2a7af352c264681ee40b1d192c86ca2f7dcc33dca825d355694527e4dbf SHA512 19f019e85b8c9a533c3cf2fd492b1813272f00cce06a56ffe43046935e49ccf6e191ce83f1d236f6355bae7126aa722016f05174687ff2faf54f121958266edf +DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.3.0.mod 95 BLAKE2B adb3684980f1d8e6c23444e91028f8db55f1bc496114eb3508dbecf9917dbc8a0a4bed7c0d761123335a75b9ffe727e180f2d6aa5f84312edb05a798185c8362 SHA512 916ff67ddb6c2ba39905db4277ce42596d9ca5a42f8aa7f47f16335e78d91a1b30419fd1b7b6967b37e248363397ec527b38d2f500b3546edda5d2bce1944379 +DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.3.0.zip 80765 BLAKE2B d6d8bfba5082aabb1a247add43b21ffa058b58fef60e8efbf973b724273cda2496ef0c9b226ad14bfea17f141f077d3bd98dfe3dbcf3c2938fd64570abd662b2 SHA512 2a89b2bce856cc11f3b71edec9e538048acf07f6aabbe27236b663b284c086c5862f086734e58727e9db8912a113fea51f72dad1a45a9e85860764f9c27b19d2 diff --git a/app-misc/cheat/cheat-3.10.0.ebuild b/app-misc/cheat/cheat-3.10.1.ebuild similarity index 98% rename from app-misc/cheat/cheat-3.10.0.ebuild rename to app-misc/cheat/cheat-3.10.1.ebuild index 56bb5ffba9..d9169a78ea 100644 --- a/app-misc/cheat/cheat-3.10.0.ebuild +++ b/app-misc/cheat/cheat-3.10.1.ebuild @@ -71,8 +71,8 @@ EGO_SUM=( "gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod" "gopkg.in/yaml.v2 v2.2.2/go.mod" "gopkg.in/yaml.v2 v2.2.4/go.mod" - "gopkg.in/yaml.v2 v2.2.8" - "gopkg.in/yaml.v2 v2.2.8/go.mod" + "gopkg.in/yaml.v2 v2.3.0" + "gopkg.in/yaml.v2 v2.3.0/go.mod" ) go-module_set_globals @@ -85,7 +85,7 @@ SRC_URI="https://github.com/cheat/cheat/archive/${PV}.tar.gz -> ${P}.tar.gz # software. Checked with dev-go/golicense LICENSE="MIT Apache-2.0 BSD BSD-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="zsh-completion" From 7d6a1eb206f59a12fc155caa79b295f40770d61e Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Tue, 2 Jun 2020 11:31:36 +0200 Subject: [PATCH 2/8] games-util/legendary: Version bump 0.0.18. Signed-off-by: Ronny (tastytea) Gutbrod --- games-util/legendary/Manifest | 1 + games-util/legendary/legendary-0.0.18.ebuild | 22 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 games-util/legendary/legendary-0.0.18.ebuild diff --git a/games-util/legendary/Manifest b/games-util/legendary/Manifest index eee81e188d..eb2dbeea2c 100644 --- a/games-util/legendary/Manifest +++ b/games-util/legendary/Manifest @@ -1,2 +1,3 @@ DIST legendary-0.0.15.tar.gz 71630 BLAKE2B 2cc7292c73cbc490c31796766783a60ba55be78415eac6d2d06e1df3dc108901dba99373af0504319f2467b110dded1b5bc0d898ef62977d0716369c148deaeb SHA512 60908b52b2d706e538b67a63f031e4c55ab1f9d88c84154994477eb79806b406d0ef4bae9ba431c5f854e1058f72c82d3cd3faeccef28a64fb74acf365ad8205 DIST legendary-0.0.17.tar.gz 72469 BLAKE2B e7f068cda589c1188068be0e9b18bfc5346d92a2a91a804faadcd856a192c2a49e00f268621573915f4502552a686702be5bdbdb23f9b062f5f4c2ab618d5b74 SHA512 4dbdb5605edbf43c1a16161436007d4d050dd7dcbfae35ace0ec03460db08f7bbe099d184af0aba0c6d8d26a592d9b3f7ea436c99c61fb9c2386211fdee02c3f +DIST legendary-0.0.18.tar.gz 73881 BLAKE2B de0f02a0691e1b7986793cfc67154122f8eef9a7de0ec416602cf1ea9d2257af8439ab77eb2cdee25fedb72196d9ccee9bf3de788e15c80950174c3ff6520c5f SHA512 71a7b67420cca0063b05e59c33eeab8f7b9e884799b7e021e34a19faf2c7bab5fd6c4c9d928957dd141814e1e42317e1e0e146a1f5123e77664a4ad93e0b420b diff --git a/games-util/legendary/legendary-0.0.18.ebuild b/games-util/legendary/legendary-0.0.18.ebuild new file mode 100644 index 0000000000..7310e06d7d --- /dev/null +++ b/games-util/legendary/legendary-0.0.18.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_8 ) + +inherit distutils-r1 + +DESCRIPTION="A free and open-source replacement for the Epic Games Launcher" +HOMEPAGE="https://github.com/derrod/legendary" +SRC_URI="https://github.com/derrod/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + Date: Tue, 2 Jun 2020 11:33:43 +0200 Subject: [PATCH 3/8] games-util/legendary: Delete old ebuilds. Signed-off-by: Ronny (tastytea) Gutbrod --- games-util/legendary/Manifest | 1 - games-util/legendary/legendary-0.0.15.ebuild | 22 -------------------- 2 files changed, 23 deletions(-) delete mode 100644 games-util/legendary/legendary-0.0.15.ebuild diff --git a/games-util/legendary/Manifest b/games-util/legendary/Manifest index eb2dbeea2c..d283edd913 100644 --- a/games-util/legendary/Manifest +++ b/games-util/legendary/Manifest @@ -1,3 +1,2 @@ -DIST legendary-0.0.15.tar.gz 71630 BLAKE2B 2cc7292c73cbc490c31796766783a60ba55be78415eac6d2d06e1df3dc108901dba99373af0504319f2467b110dded1b5bc0d898ef62977d0716369c148deaeb SHA512 60908b52b2d706e538b67a63f031e4c55ab1f9d88c84154994477eb79806b406d0ef4bae9ba431c5f854e1058f72c82d3cd3faeccef28a64fb74acf365ad8205 DIST legendary-0.0.17.tar.gz 72469 BLAKE2B e7f068cda589c1188068be0e9b18bfc5346d92a2a91a804faadcd856a192c2a49e00f268621573915f4502552a686702be5bdbdb23f9b062f5f4c2ab618d5b74 SHA512 4dbdb5605edbf43c1a16161436007d4d050dd7dcbfae35ace0ec03460db08f7bbe099d184af0aba0c6d8d26a592d9b3f7ea436c99c61fb9c2386211fdee02c3f DIST legendary-0.0.18.tar.gz 73881 BLAKE2B de0f02a0691e1b7986793cfc67154122f8eef9a7de0ec416602cf1ea9d2257af8439ab77eb2cdee25fedb72196d9ccee9bf3de788e15c80950174c3ff6520c5f SHA512 71a7b67420cca0063b05e59c33eeab8f7b9e884799b7e021e34a19faf2c7bab5fd6c4c9d928957dd141814e1e42317e1e0e146a1f5123e77664a4ad93e0b420b diff --git a/games-util/legendary/legendary-0.0.15.ebuild b/games-util/legendary/legendary-0.0.15.ebuild deleted file mode 100644 index 7310e06d7d..0000000000 --- a/games-util/legendary/legendary-0.0.15.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_8 ) - -inherit distutils-r1 - -DESCRIPTION="A free and open-source replacement for the Epic Games Launcher" -HOMEPAGE="https://github.com/derrod/legendary" -SRC_URI="https://github.com/derrod/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - Date: Tue, 2 Jun 2020 12:32:01 +0200 Subject: [PATCH 4/8] games-action/taisei: New package. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Oliver Freyermuth --- games-action/taisei/Manifest | 1 + games-action/taisei/metadata.xml | 14 ++++++ games-action/taisei/taisei-1.3.1.ebuild | 57 +++++++++++++++++++++++++ games-action/taisei/taisei-9999.ebuild | 57 +++++++++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 games-action/taisei/Manifest create mode 100644 games-action/taisei/metadata.xml create mode 100644 games-action/taisei/taisei-1.3.1.ebuild create mode 100644 games-action/taisei/taisei-9999.ebuild diff --git a/games-action/taisei/Manifest b/games-action/taisei/Manifest new file mode 100644 index 0000000000..f1112cb62a --- /dev/null +++ b/games-action/taisei/Manifest @@ -0,0 +1 @@ +DIST taisei-v1.3.1.tar.xz 70763196 BLAKE2B ca1901ba0205f6771c087ee70222ceaa3c406a1c632a5f46df1fe4fe493c89af8b587e397551777cd956ab73b5104450356303d0ea0cb8d5cd1b6723ceb1d648 SHA512 5e6f364e67717091041a30103bf117bb5d7a6be76d3d9499b13e36fc190be8c2a0e7ceb582e1d106aa0c1acbb6e39b99a4873a0885af1ec2117ff6ff08e14e3c diff --git a/games-action/taisei/metadata.xml b/games-action/taisei/metadata.xml new file mode 100644 index 0000000000..b3e78d8547 --- /dev/null +++ b/games-action/taisei/metadata.xml @@ -0,0 +1,14 @@ + + + + + o.freyermuth@googlemail.com + Oliver Freyermuth + + + taisei-project/taisei + + + Enable link time optimization + + diff --git a/games-action/taisei/taisei-1.3.1.ebuild b/games-action/taisei/taisei-1.3.1.ebuild new file mode 100644 index 0000000000..27ed838383 --- /dev/null +++ b/games-action/taisei/taisei-1.3.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + KEYWORDS="" + EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" +else + SRC_URI="https://github.com/taisei-project/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.xz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-v${PV}" +fi + +inherit meson + +DESCRIPTION="A free and open-source Touhou Project clone and fangame" +HOMEPAGE="https://taisei-project.org/" + +LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain" +SLOT="0" +IUSE="doc +lto" + +RDEPEND=" + >=media-libs/libsdl2-2.0.6 + >=media-libs/sdl2-mixer-2.0.4 + media-libs/freetype:2 + >=media-libs/libpng-1.5 + >=media-libs/libwebp-0.5 + >=dev-libs/libzip-1.2 + media-libs/opusfile + dev-libs/openssl + media-libs/shaderc + dev-util/spirv-tools" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-util/meson-0.49 + >=dev-lang/python-3.5 + doc? ( dev-python/docutils )" + +src_prepare() { + if use doc; then + # Fixup install path for documentation. + sed -i "s/doc_path = join_paths(datadir, 'doc', 'taisei')/doc_path = join_paths(datadir, 'doc', '"${P}"')/" meson.build || die + fi + default +} + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + $(meson_use lto b_lto) + # Stips binary by default otherwise. + -Dstrip=false + ) + meson_src_configure +} diff --git a/games-action/taisei/taisei-9999.ebuild b/games-action/taisei/taisei-9999.ebuild new file mode 100644 index 0000000000..27ed838383 --- /dev/null +++ b/games-action/taisei/taisei-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + KEYWORDS="" + EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" +else + SRC_URI="https://github.com/taisei-project/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.xz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-v${PV}" +fi + +inherit meson + +DESCRIPTION="A free and open-source Touhou Project clone and fangame" +HOMEPAGE="https://taisei-project.org/" + +LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain" +SLOT="0" +IUSE="doc +lto" + +RDEPEND=" + >=media-libs/libsdl2-2.0.6 + >=media-libs/sdl2-mixer-2.0.4 + media-libs/freetype:2 + >=media-libs/libpng-1.5 + >=media-libs/libwebp-0.5 + >=dev-libs/libzip-1.2 + media-libs/opusfile + dev-libs/openssl + media-libs/shaderc + dev-util/spirv-tools" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-util/meson-0.49 + >=dev-lang/python-3.5 + doc? ( dev-python/docutils )" + +src_prepare() { + if use doc; then + # Fixup install path for documentation. + sed -i "s/doc_path = join_paths(datadir, 'doc', 'taisei')/doc_path = join_paths(datadir, 'doc', '"${P}"')/" meson.build || die + fi + default +} + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + $(meson_use lto b_lto) + # Stips binary by default otherwise. + -Dstrip=false + ) + meson_src_configure +} From 1e5051ada86eedc0b027e1cd8a166647a8a23f72 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 2 Jun 2020 14:20:40 +0200 Subject: [PATCH 5/8] games-action/taisei: Remove package again. I missed it already exists as games-arcade/taisei, and will now focus on improving the existing package. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Oliver Freyermuth --- games-action/taisei/Manifest | 1 - games-action/taisei/metadata.xml | 14 ------ games-action/taisei/taisei-1.3.1.ebuild | 57 ------------------------- games-action/taisei/taisei-9999.ebuild | 57 ------------------------- 4 files changed, 129 deletions(-) delete mode 100644 games-action/taisei/Manifest delete mode 100644 games-action/taisei/metadata.xml delete mode 100644 games-action/taisei/taisei-1.3.1.ebuild delete mode 100644 games-action/taisei/taisei-9999.ebuild diff --git a/games-action/taisei/Manifest b/games-action/taisei/Manifest deleted file mode 100644 index f1112cb62a..0000000000 --- a/games-action/taisei/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST taisei-v1.3.1.tar.xz 70763196 BLAKE2B ca1901ba0205f6771c087ee70222ceaa3c406a1c632a5f46df1fe4fe493c89af8b587e397551777cd956ab73b5104450356303d0ea0cb8d5cd1b6723ceb1d648 SHA512 5e6f364e67717091041a30103bf117bb5d7a6be76d3d9499b13e36fc190be8c2a0e7ceb582e1d106aa0c1acbb6e39b99a4873a0885af1ec2117ff6ff08e14e3c diff --git a/games-action/taisei/metadata.xml b/games-action/taisei/metadata.xml deleted file mode 100644 index b3e78d8547..0000000000 --- a/games-action/taisei/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - o.freyermuth@googlemail.com - Oliver Freyermuth - - - taisei-project/taisei - - - Enable link time optimization - - diff --git a/games-action/taisei/taisei-1.3.1.ebuild b/games-action/taisei/taisei-1.3.1.ebuild deleted file mode 100644 index 27ed838383..0000000000 --- a/games-action/taisei/taisei-1.3.1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - KEYWORDS="" - EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" -else - SRC_URI="https://github.com/taisei-project/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.xz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-v${PV}" -fi - -inherit meson - -DESCRIPTION="A free and open-source Touhou Project clone and fangame" -HOMEPAGE="https://taisei-project.org/" - -LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain" -SLOT="0" -IUSE="doc +lto" - -RDEPEND=" - >=media-libs/libsdl2-2.0.6 - >=media-libs/sdl2-mixer-2.0.4 - media-libs/freetype:2 - >=media-libs/libpng-1.5 - >=media-libs/libwebp-0.5 - >=dev-libs/libzip-1.2 - media-libs/opusfile - dev-libs/openssl - media-libs/shaderc - dev-util/spirv-tools" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-util/meson-0.49 - >=dev-lang/python-3.5 - doc? ( dev-python/docutils )" - -src_prepare() { - if use doc; then - # Fixup install path for documentation. - sed -i "s/doc_path = join_paths(datadir, 'doc', 'taisei')/doc_path = join_paths(datadir, 'doc', '"${P}"')/" meson.build || die - fi - default -} - -src_configure() { - local emesonargs=( - $(meson_use doc docs) - $(meson_use lto b_lto) - # Stips binary by default otherwise. - -Dstrip=false - ) - meson_src_configure -} diff --git a/games-action/taisei/taisei-9999.ebuild b/games-action/taisei/taisei-9999.ebuild deleted file mode 100644 index 27ed838383..0000000000 --- a/games-action/taisei/taisei-9999.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - KEYWORDS="" - EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" -else - SRC_URI="https://github.com/taisei-project/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.xz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN}-v${PV}" -fi - -inherit meson - -DESCRIPTION="A free and open-source Touhou Project clone and fangame" -HOMEPAGE="https://taisei-project.org/" - -LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain" -SLOT="0" -IUSE="doc +lto" - -RDEPEND=" - >=media-libs/libsdl2-2.0.6 - >=media-libs/sdl2-mixer-2.0.4 - media-libs/freetype:2 - >=media-libs/libpng-1.5 - >=media-libs/libwebp-0.5 - >=dev-libs/libzip-1.2 - media-libs/opusfile - dev-libs/openssl - media-libs/shaderc - dev-util/spirv-tools" -DEPEND="${RDEPEND}" -BDEPEND=">=dev-util/meson-0.49 - >=dev-lang/python-3.5 - doc? ( dev-python/docutils )" - -src_prepare() { - if use doc; then - # Fixup install path for documentation. - sed -i "s/doc_path = join_paths(datadir, 'doc', 'taisei')/doc_path = join_paths(datadir, 'doc', '"${P}"')/" meson.build || die - fi - default -} - -src_configure() { - local emesonargs=( - $(meson_use doc docs) - $(meson_use lto b_lto) - # Stips binary by default otherwise. - -Dstrip=false - ) - meson_src_configure -} From eee55ae2995fbed8258f126d8689789fb195e071 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 2 Jun 2020 17:43:58 +0200 Subject: [PATCH 6/8] games-arcade/taisei: Add live ebuild, BDEPEND, doc/lto, LICENSE. This adds: - Me as additional maintainer (clarified with @lanodan). - doc USE flag to build docs conditionally. - lto USE flag (upstream has it default on). - missing BDEPEND packages. - A live ebuild. - Fixes LICENSE. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Oliver Freyermuth --- games-arcade/taisei/metadata.xml | 5 +++ games-arcade/taisei/taisei-1.3.1.ebuild | 30 ++++++++++---- games-arcade/taisei/taisei-9999.ebuild | 54 +++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 8 deletions(-) create mode 100644 games-arcade/taisei/taisei-9999.ebuild diff --git a/games-arcade/taisei/metadata.xml b/games-arcade/taisei/metadata.xml index 3111344a52..8d7c68eff8 100644 --- a/games-arcade/taisei/metadata.xml +++ b/games-arcade/taisei/metadata.xml @@ -5,6 +5,10 @@ contact@hacktivis.me Haelwenn (lanodan) Monnier + + o.freyermuth@googlemail.com + Oliver Freyermuth + https://github.com/taisei-project/taisei/issues https://taisei-project.org/news.atom @@ -14,6 +18,7 @@ Taisei is an open clone of the Touhou Project series. Touhou is a one-man project of shoot-em-up games set in an isolated world full of Japanese folklore. + Enable link time optimization Enable loading of game data from ZIP packages via dev-libs/libzip diff --git a/games-arcade/taisei/taisei-1.3.1.ebuild b/games-arcade/taisei/taisei-1.3.1.ebuild index ef0458c76f..a8371fb626 100644 --- a/games-arcade/taisei/taisei-1.3.1.ebuild +++ b/games-arcade/taisei/taisei-1.3.1.ebuild @@ -5,15 +5,22 @@ EAPI=7 inherit meson +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + KEYWORDS="" + EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" +else + SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-v${PV}.tar.xz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi + DESCRIPTION="Clone of the Touhou series, written in C using SDL/OpenGL/OpenAL." HOMEPAGE="https://taisei-project.org/" -LICENSE="BSD" +LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain" SLOT="0" -SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-v${PV}.tar.xz" -KEYWORDS="~amd64" -IUSE="zip" -S="${WORKDIR}/${PN}-v${PV}" +IUSE="doc +lto zip" DEPEND=" media-libs/freetype:2 @@ -24,17 +31,24 @@ DEPEND=" sys-libs/zlib zip? ( dev-libs/libzip ) " +BDEPEND=">=dev-util/meson-0.49 + >=dev-lang/python-3.5 + doc? ( dev-python/docutils )" src_prepare() { - sed -i '/strip=true/d' meson.build || die "Failed removing auto-stripping" - sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'taisei-${PV}\')/" \ - meson.build || die "Failed changing doc_path" + if use doc; then + sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'${P}\')/" \ + meson.build || die "Failed changing doc_path" + fi default } src_configure() { local emesonargs=( + $(meson_use doc docs) + $(meson_use lto b_lto) $(meson_use zip enable_zip) + -Dstrip=false ) meson_src_configure } diff --git a/games-arcade/taisei/taisei-9999.ebuild b/games-arcade/taisei/taisei-9999.ebuild new file mode 100644 index 0000000000..a8371fb626 --- /dev/null +++ b/games-arcade/taisei/taisei-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + KEYWORDS="" + EGIT_REPO_URI="https://github.com/taisei-project/taisei.git" +else + SRC_URI="https://github.com/taisei-project/taisei/releases/download/v${PV}/${PN}-v${PV}.tar.xz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +DESCRIPTION="Clone of the Touhou series, written in C using SDL/OpenGL/OpenAL." +HOMEPAGE="https://taisei-project.org/" +LICENSE="MIT CC-BY-4.0 CC0-1.0 public-domain" +SLOT="0" + +IUSE="doc +lto zip" + +DEPEND=" + media-libs/freetype:2 + >=media-libs/libpng-1.5 + media-libs/libsdl2 + media-libs/sdl2-mixer + media-libs/libwebp + sys-libs/zlib + zip? ( dev-libs/libzip ) +" +BDEPEND=">=dev-util/meson-0.49 + >=dev-lang/python-3.5 + doc? ( dev-python/docutils )" + +src_prepare() { + if use doc; then + sed -i "s/doc_path = join.*/doc_path = join_paths(datadir, \'doc\', \'${P}\')/" \ + meson.build || die "Failed changing doc_path" + fi + default +} + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + $(meson_use lto b_lto) + $(meson_use zip enable_zip) + -Dstrip=false + ) + meson_src_configure +} From 99f678492d15f81466c38763b0fa2c48d0d6cc47 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 2 Jun 2020 18:33:44 +0200 Subject: [PATCH 7/8] media-video/mpv-mpris: New package. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Oliver Freyermuth --- media-video/mpv-mpris/Manifest | 1 + media-video/mpv-mpris/metadata.xml | 15 +++++++ media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 48 +++++++++++++++++++++ media-video/mpv-mpris/mpv-mpris-9999.ebuild | 48 +++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 media-video/mpv-mpris/Manifest create mode 100644 media-video/mpv-mpris/metadata.xml create mode 100644 media-video/mpv-mpris/mpv-mpris-0.5.ebuild create mode 100644 media-video/mpv-mpris/mpv-mpris-9999.ebuild diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest new file mode 100644 index 0000000000..21feb4bc2d --- /dev/null +++ b/media-video/mpv-mpris/Manifest @@ -0,0 +1 @@ +DIST mpv-mpris-0.5.tar.gz 8559 BLAKE2B 7eef231ab3855ed3f0a708484881f1df93152d9b79be491986ed0da2cd54870101d5fd90a35d95344b886a6af930c303b3f8c0bc480b55c8799ec8b96e7acdab SHA512 9c28b4f3fdcd6bddf3824125f994807d7a31f8e7398178296dab9d4422d3cc71a0b798ae75fe68c890556c993fb04bf5d7ffa379676312840fdf219bf4a974f7 diff --git a/media-video/mpv-mpris/metadata.xml b/media-video/mpv-mpris/metadata.xml new file mode 100644 index 0000000000..b7574b8220 --- /dev/null +++ b/media-video/mpv-mpris/metadata.xml @@ -0,0 +1,15 @@ + + + + + o.freyermuth@googlemail.com + Oliver Freyermuth + + + https://github.com/hoyon/mpv-mpris/issues + hoyon/mpv-mpris + + + Load plugin automatically + + diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild new file mode 100644 index 0000000000..290300d611 --- /dev/null +++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="MPRIS plugin for mpv" +HOMEPAGE="https://github.com/hoyon/mpv-mpris" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hoyon/${PN}.git" +else + SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +SLOT="0" +LICENSE="MIT" +IUSE="+autoload" + +RDEPEND="media-video/mpv:=[cplugins] + dev-libs/glib" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( + README.md +) + +src_install() { + insinto "/usr/$(get_libdir)/mpv" + doins mpris.so + use autoload && dosym "/usr/$(get_libdir)/mpv/mpris.so" "/etc/mpv/scripts/mpris.so" + einstalldocs +} + +pkg_postinst() { + if ! use autoload; then + elog + elog "The plugin has not been installed to /etc/mpv/scripts for autoloading." + elog "You have to activate it manually by passing" + elog " \"/usr/$(get_libdir)/mpv/mpris.so\" " + elog "as script option to mpv or symlinking the library to \"scripts/\" in your mpv" + elog "config directory." + elog "Alternatively, activate the autoload use flag." + elog + fi +} diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild new file mode 100644 index 0000000000..290300d611 --- /dev/null +++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="MPRIS plugin for mpv" +HOMEPAGE="https://github.com/hoyon/mpv-mpris" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hoyon/${PN}.git" +else + SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +SLOT="0" +LICENSE="MIT" +IUSE="+autoload" + +RDEPEND="media-video/mpv:=[cplugins] + dev-libs/glib" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( + README.md +) + +src_install() { + insinto "/usr/$(get_libdir)/mpv" + doins mpris.so + use autoload && dosym "/usr/$(get_libdir)/mpv/mpris.so" "/etc/mpv/scripts/mpris.so" + einstalldocs +} + +pkg_postinst() { + if ! use autoload; then + elog + elog "The plugin has not been installed to /etc/mpv/scripts for autoloading." + elog "You have to activate it manually by passing" + elog " \"/usr/$(get_libdir)/mpv/mpris.so\" " + elog "as script option to mpv or symlinking the library to \"scripts/\" in your mpv" + elog "config directory." + elog "Alternatively, activate the autoload use flag." + elog + fi +} From 9ef79e7cec50c7f1bb959cc797f31a313916d3dd Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 2 Jun 2020 19:05:53 +0200 Subject: [PATCH 8/8] media-video/mpv-mpris: Fix missing dep on media-video/mpv[libmpv]. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Oliver Freyermuth --- media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 2 +- media-video/mpv-mpris/mpv-mpris-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild index 290300d611..f9abd9161e 100644 --- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild @@ -18,7 +18,7 @@ SLOT="0" LICENSE="MIT" IUSE="+autoload" -RDEPEND="media-video/mpv:=[cplugins] +RDEPEND="media-video/mpv:=[cplugins,libmpv] dev-libs/glib" DEPEND="${RDEPEND} virtual/pkgconfig" diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild index 290300d611..f9abd9161e 100644 --- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild @@ -18,7 +18,7 @@ SLOT="0" LICENSE="MIT" IUSE="+autoload" -RDEPEND="media-video/mpv:=[cplugins] +RDEPEND="media-video/mpv:=[cplugins,libmpv] dev-libs/glib" DEPEND="${RDEPEND} virtual/pkgconfig"