Add net-im/psi-plus-1.5.1646

This commit is contained in:
~keith 2023-03-25 17:06:28 +00:00
parent d71ae6e908
commit 20e7222330
Signed by: keith
GPG key ID: 5BEBEEAB2C73D520
7 changed files with 160 additions and 63 deletions

View file

@ -1,3 +1,9 @@
# ~keith/ebuilds # ~keith/ebuilds
Gentoo ebuilds for various pieces of software. **Use at your own risk.** Gentoo ebuilds for various pieces of software. **Use at your own risk.**
## How to use
Install `app-eselect/eselect-repository`, then run the following as root:
```sh
eselect repository add pipless git https://bytes.keithhacks.cyou/keith/pipless.git
```

View file

@ -1,17 +0,0 @@
BDEPEND=|| ( ( >=dev-lang/python-3.10.9-r1:3.10 dev-python/six[python_targets_python3_10(-)] ) ( >=dev-lang/python-3.9.16-r1:3.9 dev-python/six[python_targets_python3_9(-)] ) ) >=dev-libs/protobuf-3.0.0 dev-util/gyp dev-util/ninja virtual/pkgconfig emacs? ( app-editors/emacs:* ) fcitx4? ( sys-devel/gettext )
DEFINED_PHASES=compile configure install postinst postrm prepare setup test unpack
DEPEND=>=dev-libs/protobuf-3.0.0:= fcitx4? ( app-i18n/fcitx:4 virtual/libintl ) fcitx5? ( app-i18n/fcitx5:5 ) gui? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 ) ibus? ( >=app-i18n/ibus-1.4.1 dev-libs/glib:2 x11-libs/libxcb ) renderer? ( dev-libs/glib:2 x11-libs/cairo x11-libs/gtk+:2 x11-libs/pango ) test? ( >=dev-cpp/gtest-1.8.0 dev-libs/jsoncpp )
DESCRIPTION=Mozc - Japanese input method editor
EAPI=7
HOMEPAGE=https://github.com/google/mozc
INHERIT=elisp-common multiprocessing python-any-r1 toolchain-funcs
IUSE=debug emacs fcitx4 fcitx5 ut +gui ibus renderer test
KEYWORDS=amd64 ~arm64 ~ppc64 x86
LICENSE=BSD BSD-2 ipadic public-domain unicode
RDEPEND=>=dev-libs/protobuf-3.0.0:= emacs? ( app-editors/emacs:* ) fcitx4? ( app-i18n/fcitx:4 virtual/libintl ) fcitx5? ( app-i18n/fcitx5:5 ) gui? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 ) ibus? ( >=app-i18n/ibus-1.4.1 dev-libs/glib:2 x11-libs/libxcb ) renderer? ( dev-libs/glib:2 x11-libs/cairo x11-libs/gtk+:2 x11-libs/pango )
REQUIRED_USE=|| ( emacs fcitx4 fcitx5 ibus )
RESTRICT=!test? ( test )
SLOT=0
SRC_URI=https://github.com/google/mozc/archive/7329757e1ad30e327c1ae823a8302c79482d6b9c.tar.gz -> mozc-2.26.4632-20220130192938.tar.gz https://github.com/abseil/abseil-cpp/archive/215105818dfde3174fe799600bb0f3cae233d0bf.tar.gz -> abseil-cpp-215105818dfde3174fe799600bb0f3cae233d0bf.tar.gz https://github.com/hiroyuki-komatsu/japanese-usage-dictionary/archive/a4a66772e33746b91e99caceecced9a28507e925.tar.gz -> japanese-usage-dictionary-20180701040110.tar.gz fcitx5? ( https://github.com/fcitx/mozc/archive/4d2e3bdc0a2e99197f03cf241924639fef1378f0.tar.gz -> fcitx-mozc-2.26.4632-20220202104242.tar.gz ) ut? ( https://osdn.net/downloads/users/37/37667/mozcdic-ut-20220206.tar.bz2 -> mozcdic-ut-20220206.tar.bz2 )
_eclasses_=elisp-common 79f8e13c80c89792e5c9b3fc8ef59f3b multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b multilib 5ca4e49abed8e3a2f7b56920eadee157 python-utils-r1 429bfd4e8d8e39db5385ba5744f30788 python-any-r1 d2955aaac8daaaa69fcc6dc93ed19f29
_md5_=786b791530b64507650eb888f6536b02

View file

@ -1,15 +0,0 @@
BDEPEND=>=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5 >=dev-vcs/git-1.8.2.1[curl]
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=midi? ( media-libs/rtmidi ) >=media-libs/libsdl2-2.0.18 >=sci-libs/fftw-3.3 >=dev-libs/libfmt-7.1.0 media-libs/libsndfile sys-libs/zlib media-libs/alsa-lib pulseaudio? ( media-libs/libpulse ) x11-libs/libX11 virtual/opengl
DESCRIPTION=A multi-system chiptune tracker compatible with DefleMask modules
EAPI=8
HOMEPAGE=https://github.com/tildearrow/furnace
INHERIT=cmake git-r3
IUSE=jack midi pulseaudio +demos +instruments
KEYWORDS=~amd64
LICENSE=GPL-2
PROPERTIES=live
RDEPEND=midi? ( media-libs/rtmidi ) >=media-libs/libsdl2-2.0.18 >=sci-libs/fftw-3.3 >=dev-libs/libfmt-7.1.0 media-libs/libsndfile sys-libs/zlib media-libs/alsa-lib pulseaudio? ( media-libs/libpulse ) x11-libs/libX11 virtual/opengl
SLOT=0
_eclasses_=toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b multilib 5ca4e49abed8e3a2f7b56920eadee157 flag-o-matic 69394e25812406faa1f90edaf4969395 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 38c85b725d0467e51954ea921b6c104b xdg-utils ac0e315a3688929e34ac75b139e7349a cmake 449b4785acace35308fe747fc939bde1 git-r3 2347f8fe2d392b2a091191f94be37e6f
_md5_=533e310de62c2eb0910652181ab51e0c

View file

@ -1,15 +0,0 @@
BDEPEND=>=dev-util/ninja-1.8.2 >=dev-util/cmake-3.20.5 >=dev-vcs/git-1.8.2.1[curl]
DEFINED_PHASES=compile configure install prepare test unpack
DEPEND=midi? ( media-libs/rtmidi ) >=media-libs/libsdl2-2.0.18 >=sci-libs/fftw-3.3 >=dev-libs/libfmt-7.1.0 media-libs/libsndfile sys-libs/zlib media-libs/alsa-lib pulseaudio? ( media-libs/libpulse ) x11-libs/libX11 virtual/opengl
DESCRIPTION=A multi-system chiptune tracker compatible with DefleMask modules
EAPI=8
HOMEPAGE=https://github.com/tildearrow/furnace
INHERIT=cmake git-r3
IUSE=jack midi pulseaudio +demos +instruments
KEYWORDS=~amd64
LICENSE=GPL-2
PROPERTIES=live
RDEPEND=midi? ( media-libs/rtmidi ) >=media-libs/libsdl2-2.0.18 >=sci-libs/fftw-3.3 >=dev-libs/libfmt-7.1.0 media-libs/libsndfile sys-libs/zlib media-libs/alsa-lib pulseaudio? ( media-libs/libpulse ) x11-libs/libX11 virtual/opengl
SLOT=0
_eclasses_=toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b multilib 5ca4e49abed8e3a2f7b56920eadee157 flag-o-matic 69394e25812406faa1f90edaf4969395 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils 38c85b725d0467e51954ea921b6c104b xdg-utils ac0e315a3688929e34ac75b139e7349a cmake 449b4785acace35308fe747fc939bde1 git-r3 2347f8fe2d392b2a091191f94be37e6f
_md5_=9a57a90d8ade9ea8f75c0a8e778e8302

View file

@ -1,15 +0,0 @@
BDEPEND=dev-lang/go >=dev-lang/go-1.18 app-arch/unzip virtual/pkgconfig
DEFINED_PHASES=compile install postinst test unpack
DEPEND=acct-group/ipfs acct-user/ipfs sys-fs/fuse:0
DESCRIPTION=Main implementation of IPFS
EAPI=8
HOMEPAGE=https://ipfs.io/ https://github.com/ipfs/kubo/
INHERIT=bash-completion-r1 go-module systemd
KEYWORDS=~amd64 ~x86
LICENSE=Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0
RDEPEND=acct-group/ipfs acct-user/ipfs sys-fs/fuse:0
RESTRICT=strip
SLOT=0
SRC_URI=https://github.com/ipfs/kubo/releases/download/v0.18.1/kubo-source.tar.gz -> kubo-0.18.1.tar.gz
_eclasses_=toolchain-funcs 6001248ef162a5fa2a21ce132a212f6b multilib 5ca4e49abed8e3a2f7b56920eadee157 bash-completion-r1 f5e7a020fd9c741740756aac61bf75ff multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 go-module f2c9bcab49079a176b3ae061c94bb344 systemd 5f4bb0758df2e483babf68cd517078ca
_md5_=4843a8f7a721fed92d1c2d3d1a6cf198

2
net-im/psi-plus/Manifest Normal file
View file

@ -0,0 +1,2 @@
DIST psi-plus-1.5.1646.tar.gz 9776841 BLAKE2B ec403a4d4c428d43758db1f13d9cdd47bf8d290e62e90ee09275f2d01e600fe39de1fed21e4df0c9b24a12bf2df87b0e0b4687686e16f29ef1a1c25fc841c11e SHA512 8f9cf3fa19e6031cbdce29faf4be8d38885c66743f4ca12def51403db03a0e857fa490df069b49ae7199f90fcf805ad36b6f98c601f6d4a627136b87c69c1250
DIST psi-plus-l10n-1.5.1646.tar.gz 3396594 BLAKE2B c09620a24a6419b22241fbdbc34673015814ed2d83c15a4a75ccb106efb4cc7431a67749c5afb91e8fa3f595489f974dd4af33d5142e08f0a7269e3a2a67def4 SHA512 49ca85255c7dc6fbaeef50eda7a482b04c60c267db2369820f369e3205a05d9e3009f0753ff202a9ec764eec76001656c6626944c57cc6ca649710ce2825c143

View file

@ -0,0 +1,151 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PLOCALES="be bg ca cs de el en eo es et fa fi fr he hu it ja kk mk nl pl pt_BR pt ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
PLOCALE_BACKUP="en"
inherit cmake plocale qmake-utils xdg
L10N_VER="1.5.1646"
DESCRIPTION="Qt XMPP client"
HOMEPAGE="https://psi-im.org"
SRC_URI="https://github.com/psi-plus/psi-plus-snapshots/archive/${PV}.tar.gz -> psi-plus-${PV}.tar.gz
https://github.com/psi-plus/psi-plus-l10n/archive/${L10N_VER}.tar.gz -> psi-plus-l10n-${L10N_VER}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="webengine debug psimedia plugins +hunspell enchant aspell dbus keyring extras X xscreensaver wayland crypt doc"
REQUIRED_USE="
?? ( aspell enchant hunspell )
"
BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )
extras? ( >=sys-devel/qconf-2.4 )
"
DEPEND="
app-crypt/qca:2[ssl]
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5
dev-qt/qtsql:5[sqlite]
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
dev-qt/qtxml:5
net-dns/libidn:0
net-libs/http-parser:=
net-libs/usrsctp
sys-libs/zlib[minizip]
x11-libs/libX11
x11-libs/libxcb
aspell? ( app-text/aspell )
dbus? ( dev-qt/qtdbus:5 )
enchant? ( app-text/enchant:2 )
hunspell? ( app-text/hunspell:= )
keyring? ( dev-libs/qtkeychain:= )
webengine? (
dev-qt/qtwebchannel:5
dev-qt/qtwebengine:5[widgets]
net-libs/http-parser
)
plugins? (
net-libs/libotr
app-text/htmltidy
dev-libs/openssl
net-libs/libsignal-protocol-c
dev-libs/libgcrypt
dev-libs/libgpg-error
)
psimedia? (
media-libs/gstreamer
media-plugins/gst-plugins-meta
)
"
RDEPEND="${DEPEND}
dev-qt/qtimageformats
crypt? ( app-crypt/qca[gpg] )
"
RESTRICT="test"
for x in ${PLOCALES}; do
IUSE+=" l10n_${x}"
BDEPEND+=" l10n_${x}? ( dev-qt/linguist-tools:5 )"
done
unset x
src_unpack() {
default_src_unpack
mv "${WORKDIR}/psi-plus-snapshots-${PV}" "${WORKDIR}/psi-plus-${PV}"
}
src_prepare() {
mv ${S}
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DPRODUCTION=$(usex debug OFF ON)
-DUSE_ASPELL=$(usex aspell)
-DUSE_ENCHANT=$(usex enchant)
-DUSE_HUNSPELL=$(usex hunspell)
-DUSE_DBUS=$(usex dbus)
-DINSTALL_PLUGINS_SDK=1
-DUSE_KEYCHAIN=$(usex keyring)
-DCHAT_TYPE=$(usex webengine webengine basic)
-DUSE_XSS=$(usex xscreensaver)
-DUSE_X11=$(usex X)
-DLIMIT_X11_USAGE=$(usex wayland)
-DPSI_PLUS=ON
-DBUILD_PSIMEDIA=$(usex psimedia)
-DENABLE_PLUGINS=$(usex plugins)
-DUSE_CCACHE=OFF
-DINSTALL_EXTRA_FILES=$(usex extras)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
use doc && emake -C doc api_public
}
src_install() {
cmake_src_install
# this way the docs will be installed in the standard gentoo dir
rm "${ED}"/usr/share/${PN}/{COPYING,README.html} || die "doc files set seems to have changed"
newdoc iconsets/roster/README README.roster
newdoc iconsets/system/README README.system
newdoc certs/README README.certs
dodoc README.html
use doc && HTML_DOCS=( doc/api/. )
einstalldocs
# install translations
local mylrelease="$(qt5_get_bindir)"/lrelease
cd "${WORKDIR}/psi-plus-l10n-${L10N_VER}" || die
insinto /usr/share/${PN}
install_locale() {
if use "l10n_${1}"; then
"${mylrelease}" "translations/psi_${1}.ts" || die "lrelease ${1} failed"
doins "translations/psi_${1}.qm"
fi
}
plocale_for_each_locale install_locale
}
pkg_postinst() {
xdg_pkg_postinst
einfo "For GPG support make sure app-crypt/qca is compiled with gpg USE flag."
}