Compare commits

..

No commits in common. "fff9d834a4cf004d51c47c3b9bb480d977e3c59a" and "c9f516dab4f16b7bd9ec63d57419168ee48e35c9" have entirely different histories.

9 changed files with 334 additions and 2 deletions

View File

@ -1 +0,0 @@
bottles-51.5.ebuild

View File

@ -0,0 +1,120 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# todo patool, icoextract
PYTHON_COMPAT=( python3_{9..12} )
inherit gnome2-utils python-single-r1 meson xdg optfeature
DESCRIPTION="Run Windows software and games on Linux"
HOMEPAGE="https://usebottles.com/"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/bottlesdevs/Bottles/"
else
SRC_URI="https://github.com/bottlesdevs/Bottles/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/Bottles-${PV}"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# tests are quite pointless as they check static files and releases are tagged with them still failing
RESTRICT="test"
# Very annoying to figure out the deps
# Script for getting python modules:
# https://gitlab.com/Parona/my-scripts/-/blob/master/scripts/python_deps.sh
# Runtime programs needed can be quickly found with:
# grep -r "shutil.which"
# But look at context to gauge if they are optional or not
#
# BDPEPEND dependencies can be thankfully gathered from the meson.build files
# DEPEND are instrospection files which can be found as such
# find . -name "*.blp" -exec grep -Eh "^using " {} + | sed 's/using \([A-Za-z]*\) \([0-9.]*\);/\1-\2.typelib/'
# And in similar vein find runtime required introspection files, similar deal with getting typelib file as above
# grep -r "gi.require_version
# vkbasalt could be optional but vkbasalt-cli isnt
# It could work without wine but(!) it still requires all the runtime dependencies for wine
# so easier to depend on wine to get it for free
DEPEND="
gui-libs/gtk:4[introspection]
gui-libs/libadwaita[introspection]
"
RDEPEND="
${PYTHON_DEPS}
${DEPEND}
app-arch/cabextract
app-arch/p7zip
gui-libs/gtksourceview[introspection]
media-gfx/imagemagick
>=sys-libs/glibc-2.32
virtual/wine
x11-apps/xdpyinfo
$(python_gen_cond_dep '
app-arch/patool[${PYTHON_USEDEP}]
dev-python/FVS[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/icoextract[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/orjson[${PYTHON_USEDEP}]
dev-python/pathvalidate[${PYTHON_USEDEP}]
dev-python/pefile[${PYTHON_USEDEP}]
dev-python/pycurl[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/vkbasalt-cli[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
')
"
BDEPEND="
${PYTHON_DEPS}
dev-util/blueprint-compiler
dev-libs/glib:2
sys-devel/gettext
test? (
dev-libs/appstream
dev-libs/glib
dev-util/desktop-file-utils
)
"
pkg_setup() {
python-single-r1_pkg_setup
}
src_configure() {
if [[ "${PV}" == "9999" ]]; then
local emesonargs=(
-Ddevel=true
)
fi
meson_src_configure
}
src_install() {
meson_src_install
python_optimize "${D}/usr/share/bottles/"
python_fix_shebang "${D}/usr/"
}
pkg_preinst() {
xdg_pkg_preinst
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
optfeature "gamemode support" games-util/gamemode
optfeature "gamescope support" games-util/gamescope
optfeature "vmtouch support" dev-utils/vmtouch
#optfeature "MangoHub support" games-util/mangohub
#optfeature "obs-vkcapture support" media-video/obs-vkcapture
}

View File

@ -0,0 +1,24 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The worlds most-loved password manager CLI"
HOMEPAGE="https://1password.com"
SRC_URI="amd64? ( https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}/op_linux_${ARCH}_v${PV}.zip )"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
RESTRICT="mirror strip test bindist"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S=${WORKDIR}
src_install() {
dobin op
}

View File

@ -0,0 +1,24 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The worlds most-loved password manager CLI"
HOMEPAGE="https://1password.com"
SRC_URI="amd64? ( https://cache.agilebits.com/dist/1P/op2/pkg/v${PV}/op_linux_${ARCH}_v${PV}.zip )"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
RESTRICT="mirror strip test bindist"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S=${WORKDIR}
src_install() {
dobin op
}

View File

@ -1,2 +1,6 @@
DIST op_linux_amd64_v2.13.1.zip 7208383 BLAKE2B a22cf7246218ed1343adb65982902bda0075f38091ee445df2f77e7ed804db67340b9cde5ee41585d5f60041239c48ecbf3af0a16d7a959aef1670e6ed8f83a4 SHA512 f570fca12ca188aae9b4696c24d3d8392e8a51adaba52aef8b849f9419f89f5b0363d67da037e3a8f80f8ffd976f371c18a321e49084dd6927594a6feb878971
DIST op_linux_amd64_v2.15.0.zip 7430324 BLAKE2B 6ea993bcc2fa6993a8b4335b2ebcfea11eaf12b6e65dad6fc0fd3be2fdbbb2bc6a833707c3eb4fdd1b1cdd973045c57e4ade9c950793810c46398f4f5c1f2f4c SHA512 e422ed18a68cda72cfa799e3dce3d1c375af5cfa21d0f88cbd9175ddf618fe7f92799ac75d51ee922ac05ee33c2e877dff200fdaa6f458955445ce5d62d7ce61
DIST op_linux_amd64_v2.17.0.zip 8109652 BLAKE2B 8a669aa3128b873d196aa1e617e64150e209e57631886cd0965674403c9e6f95b00b06120445c38f17ca31520bc9f6314ed91cddd1c44824ff840bb11a16f2b1 SHA512 4e2a41e7559594f997ecd28980ba68794c46179982ef5b34f4b22cc8de05c6e20d51a2ac9b6e4a0abf898d0b317f45769398422cf535bda9743ba338bfe91031
EBUILD 1password-cli-2.17.0.ebuild 460 BLAKE2B 6819cf47c9a572c7b51bba50b7ec1063ccd73fa47a6f80e4925780034c8708e14096a2f2afbdcc6d8f35042c2abbf285476eefe0d641ee40386bce7392b8885a SHA512 7bd7066b887c506b0ba4bfc68b38055a1f06c0397f7955c430fcbb5477e945e9dafc4a2cfe358d43edd0401d88140d59418b386bf184ab028def8e9556185591
EBUILD 1password-cli-2.13.1.ebuild 463 BLAKE2B f6fa7a147673d51ad7bd5bf1071f2e6f8fd9333232aac696f0f9d352e958cefaaed0a27fc5c5a46c75c523bc6efd06d6c6eaa206a01ff9eab09684eab2fd7b70 SHA512 01ef990a1c87a1d0cdb4659e6f45ef0a4cc5b7cd02a6537252972b446b8d34d1c16e30c8232faa11243268b49d84a374fda5d72467df41e229aff892dd868d0c
EBUILD 1password-cli-2.15.0.ebuild 462 BLAKE2B 1eb970195d6ea86dd06d81e9164336bd9474f4d864246e4d5ff2055d26a25a75d2fe4777080ae9a0acbcbf4064dac5bd96bcb051dad6dcba05d09e4c95beba73 SHA512 533ab8133e9693ea84219cea6164afbea42c13a2726d1b4f64b777f11124e0feb3fef0ad8a6df99bcda72abaff6276e4523c50a1358e2d224502f4911de313ec
EBUILD 1password-cli-2.17.0.ebuild 462 BLAKE2B 1eb970195d6ea86dd06d81e9164336bd9474f4d864246e4d5ff2055d26a25a75d2fe4777080ae9a0acbcbf4064dac5bd96bcb051dad6dcba05d09e4c95beba73 SHA512 533ab8133e9693ea84219cea6164afbea42c13a2726d1b4f64b777f11124e0feb3fef0ad8a6df99bcda72abaff6276e4523c50a1358e2d224502f4911de313ec

View File

@ -0,0 +1,63 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit rpm xdg-utils
DESCRIPTION="The worlds most-loved password manager"
HOMEPAGE="https://1password.com"
SRC_URI="amd64? ( https://downloads.1password.com/linux/rpm/stable/x86_64/${P}.x86_64.rpm -> ${P}.x86_64.rpm )"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
RESTRICT="mirror strip test bindist"
IUSE="policykit cli"
DEPEND="
x11-misc/xdg-utils
acct-group/onepassword
policykit? ( sys-auth/polkit )
cli? ( app-misc/1password-cli )
"
RDEPEND="${DEPEND}"
BDEPEND=""
S=${WORKDIR}
src_prepare() {
default
xdg_environment_reset
}
src_unpack() {
rpm_unpack ${P}.x86_64.rpm
}
src_install() {
cp -ar "${S}/opt" "${D}" || die "Install failed!"
cp -ar "${S}/usr" "${D}" || die "Install failed!"
chgrp onepassword ${D}/opt/1Password/1Password-BrowserSupport
dosym /opt/1Password/1password /usr/bin/1password
}
pkg_postinst() {
chmod 4755 /opt/1Password/chrome-sandbox
chmod 6755 /opt/1Password/1Password-KeyringHelper
chmod 2755 /opt/1Password/1Password-BrowserSupport
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,63 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit rpm xdg-utils
DESCRIPTION="The worlds most-loved password manager"
HOMEPAGE="https://1password.com"
SRC_URI="amd64? ( https://downloads.1password.com/linux/rpm/stable/x86_64/${P}.x86_64.rpm -> ${P}.x86_64.rpm )"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
RESTRICT="mirror strip test bindist"
IUSE="policykit cli"
DEPEND="
x11-misc/xdg-utils
acct-group/onepassword
policykit? ( sys-auth/polkit )
cli? ( app-misc/1password-cli )
"
RDEPEND="${DEPEND}"
BDEPEND=""
S=${WORKDIR}
src_prepare() {
default
xdg_environment_reset
}
src_unpack() {
rpm_unpack ${P}.x86_64.rpm
}
src_install() {
cp -ar "${S}/opt" "${D}" || die "Install failed!"
cp -ar "${S}/usr" "${D}" || die "Install failed!"
chgrp onepassword ${D}/opt/1Password/1Password-BrowserSupport
dosym /opt/1Password/1password /usr/bin/1password
}
pkg_postinst() {
chmod 4755 /opt/1Password/chrome-sandbox
chmod 6755 /opt/1Password/1Password-KeyringHelper
chmod 2755 /opt/1Password/1Password-BrowserSupport
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -1,2 +1,6 @@
DIST 1password-8.10.3.x86_64.rpm 94457340 BLAKE2B 39d3758e703de999248b86c007119a22b174604882833636d7d480a0da64b1606a2ef8e973addf84a6a1a88ebbe521463dc4f2160c271e73a22223df976d74ef SHA512 6b2272b37c79e8b48ecc4c4f97c03184158d71f4e75cfefd31554e342d725aeba8cd393e4d68960d67f7eacd3d6370ba8c8fa7c00bf86af1dbbb61025b0be346
DIST 1password-8.10.8.x86_64.rpm 97920872 BLAKE2B 82681bfb61fc15a9a724dca43ee8588053c8c571e33e832c67cad94a726b928d4229d3413671889c81debb8a216db711058db8e79fd4ceb22c800cfbea892f19 SHA512 ac3a8dd25b8bdd3e25bfe71a7e6bfd92499859da5f279ad735c80786bf90ebc50a028c883e88c7c00387cdcf7f9a3c3f5f4e72e8495eb16c0e52cf83df9c89f0
DIST 1password-8.9.14.x86_64.rpm 91787312 BLAKE2B 34c871841d68776c86cd8a2b29edad1c34ec13024a8ad456a4b3e68d90d511b89d38aa0c2f649b386397cf4e104ff8e389f023002d3c206b0ffa04d01ce534cb SHA512 94e398c27c016d82067f8826e53abe8d70e8035eb78cef86936f5713c490a772a7110efb1bee66a434160e01c2f66c48b6b68e800fe759679a8ee521758bd9f9
EBUILD 1password-8.10.3.ebuild 1276 BLAKE2B cf5b0e2621e4f3d15a6a3c062967a3f83ca3292d09dee236d535692f21165a5ec8589f9b7ac932ddfa000ce42861f87021206ff87984872859b7ff2179792735 SHA512 881931b47802e257b4616f7cb9365cd73f7f572d7695d5a1fd6f69af24764ff93d94cdf96c64b2f4469d96c3ff40cbafca1e9cd4e9ab2d7ea792222fa1ae2e8e
EBUILD 1password-8.10.8.ebuild 1276 BLAKE2B cf5b0e2621e4f3d15a6a3c062967a3f83ca3292d09dee236d535692f21165a5ec8589f9b7ac932ddfa000ce42861f87021206ff87984872859b7ff2179792735 SHA512 881931b47802e257b4616f7cb9365cd73f7f572d7695d5a1fd6f69af24764ff93d94cdf96c64b2f4469d96c3ff40cbafca1e9cd4e9ab2d7ea792222fa1ae2e8e
EBUILD 1password-8.9.14.ebuild 1292 BLAKE2B 01bb44e419cdc77580f7582d9b1874ab73a45a36eb4bc89adee62983d03d0483192ba6d41e1956e1046d09ae08560f52aac6a45bd146f441205796477448cd02 SHA512 4fdfcf6f346732e9519d7f93cf6b06fb8f36ca188ca25313de3366400b8cb82048cf302491f5c9aab59d4a00baa5ea669638f2e64aa84de5bd96e6da7debc9a7

View File

@ -0,0 +1,29 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=8
inherit toolchain-funcs multilib
DESCRIPTION="64tass is cross assembler targeting the 65xx series of micro processors. Supports 6502, 65C02, R65C02, W65C02, 65CE02, 65816, DTV, 65EL02, 4510"
HOMEPAGE="https://sourceforge.net/projects/tass64/"
SRC_URI="https://sourceforge.net/projects/${PN}/files/source/${PN}-${PV}-src.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
DEPEND=""
RDEPEND=""
S="${WORKDIR}"/${PN}-${PV}-src
src_compile() {
emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} || die "src build fail"
}
src_install() {
emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} install DESTDIR=${D} || die "src install failed"
}

View File

@ -1,2 +1,4 @@
DIST 64tass-1.57.2900-src.zip 744738 BLAKE2B d542ad3600ce198434c642d5837582732c6616bca566712b3dcd3f3f14e9673bf34cdfce0fd5dc7a2d6b95cf4f1c9d7c891225f678ff312fb7c7fc10169398f1 SHA512 5cfc6c075cf13df9c0c6974c92a96041fc16217f48c55a96b475ccc7fe1f65633ab6e9d6915b4a864b0b9d4bde8bc86d7473ea3cdbf3d1f9374fe6aa5e4d39d0
DIST 64tass-1.58.2974-src.zip 727857 BLAKE2B 7d899cfcac64f26e44179a8933bcc47e1fb1fa15ffe99299f83105b7bef0def85647fdbb914e854dc3a4637f21f6bd82c41e798fd661220c5d1f6359575822f2 SHA512 4eab3d453ec6c6fffe68170ac78050e1d4d397ef9f1211edbb6ca79fb5020fee1455544dd5c18cdbd290d491252ddd03f0093298ae09731da62ab23362298405
EBUILD 64tass-1.57.2900.ebuild 894 BLAKE2B ff36d6dda5eb2f8aa4cb66006d0ce02738c2d8fdf393f5f1cb2a54ae2733c754a3c78ea31d3f72224ba83c0c02a753d0ecaf3103e8a7e08f43f20d307cd8d81c SHA512 130e6f5f255d5a09569c7ed69cf5f9be796cb8b204c4ac2e8bdd1ea711b1707f8d138ab345b39eaa638d207ec374ef78cf063ed0729351549a1e4defb534bd28
EBUILD 64tass-1.58.2974.ebuild 895 BLAKE2B 34c0e2a043e415af5e1929e0c4efd7ca4761e43d3123378f79ef1ec5e63c783d8d1ed7c89bb799abb71984cbe3e5c043c605e49e6a761dff95f0ab405a566fdc SHA512 640f40757edd26f0fda9b29c30d66db409c30853192d179534ffceae21eeef5e73854c281840079349747028973809cf7326f593429613dbf4efebc46ddd2e87