Merge branch 'master' into 'master'
net-im/mirage: bump to 0.7.2 See merge request src_prepare/src_prepare-overlay!207
This commit is contained in:
commit
89584d2039
@ -1,2 +1,3 @@
|
||||
DIST hsluv-c-9e9be32d6010cad484a7b12b1a3d19c6cf4c1353.tar.gz 1073542 BLAKE2B d798c71be3d3f7ad4248650f08bbb477b43b27edafa8519ddb9ac2873a1da99767f6f6668280fc9fa8abce7ab8347a9fe040a9b80c189f4e13465b5747e07adc SHA512 ecd8c9afa9e22c6a0093435ce89b5d5b1882207359d02a65f6e62952fa4b57fc5b3e1aaa07527553a7e86c350173409b21d41b3da5235a7fb5f96b61944be839
|
||||
DIST mirage-v0.7.1.tar.gz 3287140 BLAKE2B 9b31c9754a9f7ee7ab79d004e3f923ed027ad6f7c28f088a76b89708b067fd4fa08d6042ebb4ca3807ede2df3fbf80cb3f93354714839b5e3f82c47e07993985 SHA512 af4e6adb33e4fad200947d91592b76115be426c8d5a780bed0cffbbea72189bd513815c2c2aa74ae6e06c6b35e17a2fc47b4350cc57fe27c35f972753b5bb772
|
||||
DIST mirage-v0.7.2.tar.gz 3296045 BLAKE2B c14bf14059192b2732ddccca0a7d963b24a68798a87d6f3f869f25e499a187d86002f20706b95134bb4770082ede5c6998f72f69e1700a881c949262ed07f42b SHA512 793e730aae73c95f1aee4df85ffc9c0bb785da8ec1f7845d98d785ef2649d1f837dba8c82c4ce87462e26f736de5fcab76ed8b351aa09e38cbab637a45a10108
|
||||
|
111
net-im/mirage/mirage-0.7.2.ebuild
Normal file
111
net-im/mirage/mirage-0.7.2.ebuild
Normal file
@ -0,0 +1,111 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit qmake-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="A fancy, customizable, keyboard-operable Qt/QML+Python Matrix chat client."
|
||||
HOMEPAGE="https://github.com/mirukana/mirage"
|
||||
|
||||
# Currently only one submodule needed for the build, but keeping the capacity to add more submodules for the future.
|
||||
SUBMODULE_COMMITS=(
|
||||
"9e9be32d6010cad484a7b12b1a3d19c6cf4c1353"
|
||||
)
|
||||
|
||||
#[0] hsluv/hsluv-c
|
||||
|
||||
if [[ "${PV}" == "9999" ]]
|
||||
then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/mirukana/mirage.git"
|
||||
EGIT_BRANCH="dev"
|
||||
EGIT_SUBMODULES=( submodules/hsluv-c )
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/mirukana/"${PN}"/archive/v"${PV}".tar.gz -> "${PN}"-v"${PV}".tar.gz
|
||||
https://github.com/hsluv/hsluv-c/archive/"${SUBMODULE_COMMITS[0]}".tar.gz -> hsluv-c-"${SUBMODULE_COMMITS[0]}".tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="X"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtcore-5.12
|
||||
>=dev-qt/qtdeclarative-5.12
|
||||
>=dev-qt/qtquickcontrols2-5.12[widgets]
|
||||
>=dev-qt/qtgraphicaleffects-5.12
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
>=dev-qt/qtgui-5.12[gif,png,jpeg]
|
||||
>=dev-qt/qtimageformats-5.12
|
||||
>=dev-qt/qtsvg-5.12
|
||||
dev-libs/olm
|
||||
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/aiofiles-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/appdirs-1.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/dbus-python-1.2.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/filetype-1.0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/hsluv-python-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/html_sanitizer-1.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/matrix-nio-0.18.0[e2e,${PYTHON_USEDEP}]
|
||||
>=dev-python/mistune-0.8.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-7.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/plyer-1.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymediainfo-4.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/redbaron-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/simpleaudio-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/watchgod-0.7[${PYTHON_USEDEP}]
|
||||
>=media-gfx/cairosvg-2.4.2[${PYTHON_USEDEP}]
|
||||
')
|
||||
media-libs/alsa-lib
|
||||
media-libs/libjpeg-turbo
|
||||
media-libs/libmediainfo
|
||||
media-libs/libwebp
|
||||
media-libs/tiff
|
||||
media-libs/openjpeg:2
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
move_lib() {
|
||||
local IN_DIR="${1}"
|
||||
local OUT_DIR
|
||||
[ -z "${2}" ] && OUT_DIR="${IN_DIR}" || OUT_DIR=""${2%/}"/"${IN_DIR}""
|
||||
mv ""${WORKDIR}"/"${IN_DIR}""*/* ""${S}"/"${OUT_DIR}"" || die
|
||||
}
|
||||
if [ "${PV}" != "9999" ]; then
|
||||
local submodules_libs="hsluv-c"
|
||||
for submodules_lib in ${submodules_libs} ; do
|
||||
move_lib "${submodules_lib}" submodules
|
||||
done
|
||||
fi
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use !X; then
|
||||
myconf="CONFIG+=no-x11"
|
||||
fi
|
||||
eqmake5 mirage.pro PREFIX="${EPREFIX}/usr" ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user