treewide: sort ebuild variables (S before RESTRICT/IUSE)
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
78f9623167
commit
dbe459bd7c
2 files changed
+6
-6
No files matched your search
@@ -11,6 +11,7 @@ MY_PV="${MY_PV//_/-}"
|
|||||||
DESCRIPTION="A low latency KVMFR application for guests with VGA PCI Passthrough"
|
DESCRIPTION="A low latency KVMFR application for guests with VGA PCI Passthrough"
|
||||||
HOMEPAGE="https://looking-glass.io"
|
HOMEPAGE="https://looking-glass.io"
|
||||||
SRC_URI="https://looking-glass.io/artifact/${MY_PV}/source -> ${P}.tar.gz"
|
SRC_URI="https://looking-glass.io/artifact/${MY_PV}/source -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -53,15 +54,15 @@ DEPEND="gui-libs/egl-wayland
|
|||||||
)"
|
)"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
MY_CMAKE_PROJECT="client "
|
MY_CMAKE_PROJECT="client "
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
# fix cmake compatibility issues with newer cmake versions
|
# fix cmake compatibility issues with newer cmake versions
|
||||||
find "${S}" -name "CMakeLists.txt" -exec sed -i 's/cmake_minimum_required(VERSION 3\.5)/cmake_minimum_required(VERSION 3.10)/' {} +
|
find "${S}" -name "CMakeLists.txt" -exec sed -i \
|
||||||
find "${S}" -name "CMakeLists.txt" -exec sed -i 's/cmake_minimum_required(VERSION [0-9]\.[0-9])/cmake_minimum_required(VERSION 3.10)/' {} +
|
's/cmake_minimum_required(VERSION 3\.5)/cmake_minimum_required(VERSION 3.10)/' {} +
|
||||||
|
find "${S}" -name "CMakeLists.txt" -exec sed -i \
|
||||||
|
's/cmake_minimum_required(VERSION [0-9]\.[0-9])/cmake_minimum_required(VERSION 3.10)/' {} +
|
||||||
# add other project
|
# add other project
|
||||||
if use host; then
|
if use host; then
|
||||||
MY_CMAKE_PROJECT+="host "
|
MY_CMAKE_PROJECT+="host "
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ HOMEPAGE="https://ohmygit.org/
|
|||||||
https://github.com/git-learning-game/oh-my-git"
|
https://github.com/git-learning-game/oh-my-git"
|
||||||
PKG_URI="https://blinry.itch.io/oh-my-git"
|
PKG_URI="https://blinry.itch.io/oh-my-git"
|
||||||
SRC_URI="${MY_PN}-linux.zip"
|
SRC_URI="${MY_PN}-linux.zip"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
LICENSE="BlueOak-1.0.0"
|
LICENSE="BlueOak-1.0.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -31,8 +32,6 @@ DEPEND="
|
|||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="app-arch/unzip"
|
BDEPEND="app-arch/unzip"
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
pkg_nofetch() {
|
||||||
elog "Please download ${A} from"
|
elog "Please download ${A} from"
|
||||||
elog "${PKG_URI}"
|
elog "${PKG_URI}"
|
||||||
|
|||||||
Reference in new issue
Block a user