Added subproject

This commit is contained in:
Gerben Jan Dijkman 2023-01-08 22:37:17 +01:00
parent 0bfe4f0d42
commit e3f5709907
2 changed files with 9 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST gnome-shell-43.1.tar.gz 3468803 BLAKE2B dc1840cc138336061b8c682c6dce380f2b32d668984fd8d6be21b92a6900338873ff1553d18a9fdd67b0ecb091f40a983a4a381b11dbf49f770e091707ae24c0 SHA512 9dfdbff86a53d7127ad4e6f87b82d239acce62bcb1426b51f800dea0adb493c99881e3fe13b75cca9295ba920fff47dd70d248fb764731c25ce6fc616d4fc880
DIST libgnome-volume-control-ae1a34aafce7026b8c0f65a43c9192d756fe1057.tar.gz 45164 BLAKE2B c6807f855e7d4f45b58c7776cd497077b4adf8d577f9af014a8631a054c47374dfe5caa5652be208c6e566bfb8af70a0bb5e164f345b7612cb8786039625a191 SHA512 723334bff55927363dab47ef22c71dcaf94263fe76e49c40f1cbfbd5f86383e68fd4bf2182eb5777dda8e2ede4ee4710e1a7ab1379d3ca40d68f68ff30c62e21

View File

@ -7,7 +7,11 @@ PYTHON_COMPAT=( python3_{8..11} )
inherit gnome.org gnome2-utils meson optfeature python-single-r1 virtualx xdg
COMMIT="b53a8823d8750ec7ebec7f7d87ea57f53e489ac9"
SRC_URI="https://gitlab.gnome.org/verdre/gnome-shell/-/archive/${COMMIT}/gnome-shell-${COMMIT}.tar.gz -> ${P}.tar.gz"
LVC_COMMIT="ae1a34aafce7026b8c0f65a43c9192d756fe1057"
SRC_URI="https://gitlab.gnome.org/verdre/gnome-shell/-/archive/${COMMIT}/gnome-shell-${COMMIT}.tar.gz -> ${P}.tar.gz
https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/${LVC_COMMIT}/libgnome-volume-control-${LVC_COMMIT}.tar.gz
"
S=${WORKDIR}/gnome-shell-${COMMIT}
@ -139,6 +143,9 @@ PATCHES=(
src_prepare() {
default
rm -r "${S}"/subprojects/gvc || die
mv "${WORKDIR}"/libgnome-volume-control-"${LVC_COMMIT}" "${S}"/subprojects/gvc || die
xdg_environment_reset
# Hack in correct python shebang
sed -e "s:python\.full_path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die