mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
net-misc/megasync: fix VariableScope
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit autotools desktop qmake-utils xdg cmake
|
inherit autotools desktop qmake-utils xdg cmake
|
||||||
|
|
||||||
@@ -132,17 +132,17 @@ src_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake -C src INSTALL_ROOT="${D}" || die
|
emake -C src INSTALL_ROOT=. || die
|
||||||
use dolphin && cmake_src_compile
|
use dolphin && cmake_src_compile
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
use dolphin && cmake_src_install
|
use dolphin && cmake_src_install
|
||||||
einstalldocs
|
einstalldocs
|
||||||
|
|
||||||
dobin src/MEGASync/${PN}
|
dobin src/MEGASync/${PN}
|
||||||
insinto usr/share/licenses/${PN}
|
|
||||||
doins LICENCE.md installer/terms.txt
|
|
||||||
domenu src/MEGASync/platform/linux/data/${PN}.desktop
|
domenu src/MEGASync/platform/linux/data/${PN}.desktop
|
||||||
|
|
||||||
cd src/MEGASync/platform/linux/data/icons/hicolor
|
cd src/MEGASync/platform/linux/data/icons/hicolor
|
||||||
for size in 16x16 32x32 48x48 128x128 256x256;do
|
for size in 16x16 32x32 48x48 128x128 256x256;do
|
||||||
doicon -s $size $size/apps/mega.png
|
doicon -s $size $size/apps/mega.png
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit autotools desktop qmake-utils xdg cmake
|
inherit autotools desktop qmake-utils xdg cmake
|
||||||
|
|
||||||
@@ -132,17 +132,17 @@ src_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
emake -C src INSTALL_ROOT="${D}" || die
|
emake -C src INSTALL_ROOT=. || die
|
||||||
use dolphin && cmake_src_compile
|
use dolphin && cmake_src_compile
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
use dolphin && cmake_src_install
|
use dolphin && cmake_src_install
|
||||||
einstalldocs
|
einstalldocs
|
||||||
|
|
||||||
dobin src/MEGASync/${PN}
|
dobin src/MEGASync/${PN}
|
||||||
insinto usr/share/licenses/${PN}
|
|
||||||
doins LICENCE.md installer/terms.txt
|
|
||||||
domenu src/MEGASync/platform/linux/data/${PN}.desktop
|
domenu src/MEGASync/platform/linux/data/${PN}.desktop
|
||||||
|
|
||||||
cd src/MEGASync/platform/linux/data/icons/hicolor
|
cd src/MEGASync/platform/linux/data/icons/hicolor
|
||||||
for size in 16x16 32x32 48x48 128x128 256x256;do
|
for size in 16x16 32x32 48x48 128x128 256x256;do
|
||||||
doicon -s $size $size/apps/mega.png
|
doicon -s $size $size/apps/mega.png
|
||||||
|
|||||||
Reference in New Issue
Block a user