Compare commits

...

3 Commits

Author SHA1 Message Date
Alfred Wingate
0346256e65
app-misc/spicetify-cli: drop 2.17.1, 2.18.1, 2.19.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-17 20:07:16 +03:00
Alfred Wingate
76a641e872
app-misc/spicetify-cli: add 2.20.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-17 20:06:57 +03:00
Alfred Wingate
88eba7f8ad
sci-mathematics/z3: treeclean, in ::gentoo
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-06-15 19:35:11 +03:00
7 changed files with 5 additions and 237 deletions

View File

@ -1,8 +1,4 @@
DIST spicetify-cli-2.17.1-deps.tar.xz 4742776 BLAKE2B 07ff8e9e4187b5fc7e65eea2bca5bc887b620a9f2ea9e9167e9dc84308e2932cc94c964aa33ae58e548f48fc9cae19555d31d30e66a24c80d831575fe9856ab8 SHA512 4dd915607f08072f0f9f35b9f38bbb8d1edca26114f25c7e936d5dd70c7bf4eb79b8817ec01283929963030803a697d69d00f4f8d5a26ecdbaddf8bbabc64ec6
DIST spicetify-cli-2.17.1.tar.gz 2010869 BLAKE2B 568c5b0a3593cc748d15448dad579a7736220af723b63ce9061a6826368e028f41e9f88e402b289725bcfd1172a1cc5cf4d28edf49397446eb0f5cf9d9597ed2 SHA512 87e42688f03f3747694bfc57363870f8d1d13a1f638be2272d0d0f268bfe405ff7afba23779f424a4d88c77102710c102e27c4b30fa3bc302072e8cafba961a6
DIST spicetify-cli-2.18.1-deps.tar.xz 4747184 BLAKE2B 7ae8798ec716bac2f77dec0d1d24b76384abd867a34326f92fdce120d7e935f42da6083c04078dc36bcb64614764739b53e208985e572814e5eb28943eabe641 SHA512 ed47de067037d1adb6bf459838b0f09cef2dc97a4bcf74eb5d53d7764476f9ec268c6c4dd272e09f8bc98d00c8e2e0992d3223339163af4ef49ab72cf803216d
DIST spicetify-cli-2.18.1.tar.gz 2023592 BLAKE2B 100742ef49a36ce23530763612a89491abda7521aa109c805997058bddb66a5fecbc4f66e137257fa4d97064f398dfde4e4e660873071a080ea5ad7fe976b692 SHA512 f0d9c4b0a06b00098728eef01536388ca71ecc45dfcd8679fd564d8f2ca8dd78ee2c2fd492ee6260f157d381c70595202e8397ff1e6258e323decdff8278764e
DIST spicetify-cli-2.19.0-deps.tar.xz 4748352 BLAKE2B bc157742a0c2682d946f42e593df15110d204c22cc4ab79b438b74eb0731a09073991491e06771404b24590919c6b5b301cfbed219d1dde1cebd209762534911 SHA512 b383a02215f1c08d1f4c230d57bcf44790a7ad2285496f0af7bc490edfe771f279c832fcb15a31c67d8dcd888550b6118f46d1f6c8f5c707f64c745407cb7462
DIST spicetify-cli-2.19.0.tar.gz 2030646 BLAKE2B 1b1d163b15c090410ace5840df6779988e29b434b3202a1d26051e158e0a2a82289ba681661da9e97aceda10719a6dc2bd1c1db0778299164262ff7dae2553f1 SHA512 8bba492d8f6e0e057d2ecf6e3cb423c746d402d2a0ad7b0b99292ccb0690619c7c6cc6a61645dfa358ce77c31373cb1a0c918e6df5bb85365e6128e7465f0104
DIST spicetify-cli-2.20.0-deps.tar.xz 4747916 BLAKE2B 64a3dfebaa8bad2d8003c5433872a3904f559a1e37afe94ea9e110fa4c493bc86ede1d8b83bfd3054e7fc01fcc68a0347a9543cf32c9b2e60619a19d7cb336f7 SHA512 2a560968eabaccf7c7813188d670be8f4c9fe1d5e72a33dd5ee79877b4a3d79f43a0cd1e560196ff7034d0288d24383d1800eeade1c8870b6e2b05104ddec94d
DIST spicetify-cli-2.20.0.tar.gz 2031544 BLAKE2B ee853f6aaff416abb662adcac4c6d0fe74307fb818fdfa9d413b74c922c25d8b8c56166a8c4df34f4eb0555c770277e378027abfc8346c1bd5c4aeefabea4144 SHA512 80c83152302763205fcc4341c2d5a0e23e2c71d14512e661a770e05a4b315ef8c4cbf7a3a164511c824344d08ccb93fc7283deb13c843a31ddfadff826b7f69b
DIST spicetify-cli-2.20.1-deps.tar.xz 4836496 BLAKE2B 2ce9dfcaeff71393638d78c7fd514d271b37a31c894341ac9ffde4216e763f3089aadc0fd5e1a4453b49dc88ed98ec9d66d4ffcdd31bd33d8000bafc8ef1f0b7 SHA512 0cfd0fd69fbfdd26d0541dbca2ca779fe005d68249f8bf872777b31454cf99ba8b5337564536ebfb7f79f8845d2ce51b21a283197f707367dd1a72556e6103d9
DIST spicetify-cli-2.20.1.tar.gz 2033994 BLAKE2B 5461b5ccb4a185dd08414eec4077f21c4b6f312faef092ec6adbf5d13772917d6f8e3b26e6a68cd4618605914c7bc9bae7d4060447d47d390a1128bf673a01d1 SHA512 4ff29aaba4ab4b63501c8323524579c88688c671c77b55be9025c9b17d2d92d711c9d543f62a78f0166c89891fdb58094fdb9566ea165dbd147176ed1648a38a

View File

@ -1,46 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
go-module_set_globals
DESCRIPTION="Commandline tool to customize Spotify client."
HOMEPAGE="https://github.com/khanhas/spicetify-cli"
SRC_URI="
https://github.com/khanhas/spicetify-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://gitlab.com/api/v4/projects/37881342/packages/generic/spicetify-cli/${PV}/spicetify-cli-${PV}-deps.tar.xz
"
LICENSE="Apache-2.0 BSD GPL-3 MIT"
SLOT="0"
KEYWORDS="~amd64"
INSTALLDIR="/opt/${PN}"
RDEPEND="~media-sound/spotify-1.2.8"
src_compile() {
ego build
}
src_install() {
insinto "${INSTALLDIR}"
doins -r {CustomApps,Extensions,Themes,jsHelper,spicetify-cli}
dobin "${FILESDIR}/spicetify"
fperms +x "${INSTALLDIR}/spicetify-cli"
}
pkg_postinst() {
elog "Spicetify requires a Spotify install that it can modify. Version 1.2.8 is"
elog "supported by this version of spicetify. To be able to modify system installed "
elog "Spotify like media-sound/spotify then you have to allow spicetify to read and write"
elog "to its install location like shown below."
elog "# chmod a+wr /opt/spotify/spotify-client"
elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R"
elog ""
elog "Otherwise you can install spotify to a user modifiable location like as a flatpak:"
elog "https://github.com/khanhas/spicetify-cli/wiki/Installation#spotify-installed-from-flatpak"
}

View File

@ -1,54 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Commandline tool to customize Spotify client."
HOMEPAGE="https://spicetify.app/"
SRC_URI="
https://github.com/khanhas/spicetify-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://gitlab.com/api/v4/projects/37881342/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
"
LICENSE="Apache-2.0 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~amd64"
INSTALLDIR="/opt/${PN}"
RDEPEND="
|| (
~media-sound/spotify-1.2.9
~media-sound/spotify-1.2.8
~media-sound/spotify-1.1.99
)
"
src_compile() {
ego build -ldflags "-X main.version=${PV}"
}
src_install() {
insinto "${INSTALLDIR}"
doins -r {CustomApps,Extensions,Themes,jsHelper,spicetify-cli}
dobin "${FILESDIR}/spicetify"
fperms +x "${INSTALLDIR}/spicetify-cli"
}
pkg_postinst() {
elog "Spicetify requires a Spotify install that it can modify."
elog "To give read and write permissions to everyone on the system to run the following commands."
elog "# chmod a+wr /opt/spotify/spotify-client"
elog "# chmod a+wr /opt/spotify/spotify-client/Apps -R"
elog ""
elog "Spicetify compatibility is limited to the following Spotify versions:"
elog " 1.2.9, 1.2.8 and 1.1.99"
elog ""
elog "Otherwise you can install spotify to a user modifiable location like as a flatpak:"
elog " https://spicetify.app/docs/advanced-usage/installation#spotify-installed-from-flatpak"
elog ""
elog "To install themes see:"
elog " https://spicetify.app/docs/advanced-usage/themes"
}

View File

@ -16,6 +16,9 @@ LICENSE="Apache-2.0 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~amd64"
# no tests
RESTRICT="test"
INSTALLDIR="/opt/${PN}"
RDEPEND="

View File

@ -1 +0,0 @@
DIST Z3-4.8.5.tar.gz 4177051 BLAKE2B f8c4be9dbab2d5cf6fdb0bd8e9e1648f8ac29bc8ca9241b3ef29699400b383f09601149d50899d6ca828abadacb71161af1524df6d1ed45d7fd95c4a49c0d3df SHA512 ca36e1a0332bd473a64f41dfdb31656fb3486178473e4fd4934dccce109a84c9686c08f94998df74bacb588eb12ea5db25dc17a564ee76f82fd2559349697309

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="isabelle">
Add integration support for the Isabelle/HOL theorem prover
</flag>
</use>
<upstream>
<bugs-to>https://github.com/Z3Prover/z3</bugs-to>
<remote-id type="github">Z3Prover/z3</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,116 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CMAKE_ECLASS=cmake
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake-multilib java-pkg-opt-2 python-single-r1 toolchain-funcs
DESCRIPTION="An efficient theorem prover"
HOMEPAGE="https://github.com/Z3Prover/z3/"
SRC_URI="https://github.com/Z3Prover/z3/archive/${P^}.tar.gz"
S="${WORKDIR}/${PN}-${P^}"
SLOT="0/4.8"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="doc examples gmp isabelle java openmp python"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
gmp? ( dev-libs/gmp:0=[${MULTILIB_USEDEP}] )
"
DEPEND="
${RDEPEND}
java? ( >=virtual/jdk-1.8 )
"
BDEPEND="doc? ( app-doc/doxygen )"
CMAKE_BUILD_TYPE=RelWithDebInfo
pkg_setup() {
python_setup
if [[ ${MERGE_TYPE} != binary ]]; then
if use openmp && ! tc-has-openmp; then
ewarn "Please use an openmp compatible compiler"
ewarn "like >gcc-4.2 with USE=openmp"
die "Openmp support missing in compiler"
fi
fi
}
src_prepare() {
cmake_src_prepare
java-pkg-opt-2_src_prepare
}
multilib_src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${P}"
-DENABLE_EXAMPLE_TARGETS=OFF
-DBUILD_DOCUMENTATION=$(multilib_native_usex doc)
-DBUILD_JAVA_BINDINGS=$(multilib_native_usex java)
-DBUILD_PYTHON_BINDINGS=$(multilib_native_usex python)
-DUSE_LIB_GMP=$(usex gmp)
-DUSE_OPENMP=$(usex openmp)
)
multilib_is_native_abi && use java &&
mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" )
cmake_src_configure
}
multilib_src_test() {
cmake-utils_src_make test-z3
set -- "${BUILD_DIR}"/test-z3 /a
echo "${@}" >&2
"${@}" || die
}
multilib_src_install_all() {
dodoc README.md RELEASE_NOTES
use examples && dodoc -r examples
use python && python_optimize
if use isabelle; then
insinto /usr/share/Isabelle/contrib/${P}/etc
newins - settings <<-EOF
Z3_COMPONENT="\$COMPONENT"
Z3_HOME="${EPREFIX}/usr/bin"
Z3_SOLVER="${EPREFIX}/usr/bin/z3"
Z3_REMOTE_SOLVER="z3"
Z3_VERSION="${PV}"
Z3_INSTALLED="yes"
Z3_NON_COMMERCIAL="yes"
EOF
fi
}
pkg_postinst() {
if use isabelle; then
if [[ -f ${ROOT%/}/etc/isabelle/components ]]; then
sed -e "/contrib\/${PN}-[0-9.]*/d" \
-i "${ROOT%/}/etc/isabelle/components" || die
cat <<-EOF >> "${ROOT%/}/etc/isabelle/components" || die
contrib/${P}
EOF
fi
fi
}
pkg_postrm() {
if use isabelle; then
if [[ ! ${REPLACING_VERSIONS} ]]; then
if [[ -f "${ROOT%/}/etc/isabelle/components" ]]; then
# Note: this sed should only match the version of this ebuild
# Which is what we want as we do not want to remove the line
# of a new Isabelle component being installed during an upgrade.
sed -e "/contrib\/${P}/d" \
-i "${ROOT%/}/etc/isabelle/components" || die
fi
fi
fi
}