summaryrefslogtreecommitdiff
path: root/net-wireless/linssid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /net-wireless/linssid
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
Diffstat (limited to 'net-wireless/linssid')
-rw-r--r--net-wireless/linssid/Manifest2
-rw-r--r--net-wireless/linssid/linssid-3.6-r1.ebuild (renamed from net-wireless/linssid/linssid-3.6.ebuild)35
2 files changed, 15 insertions, 22 deletions
diff --git a/net-wireless/linssid/Manifest b/net-wireless/linssid/Manifest
index 2a0af3c76b13..64c36e971a5a 100644
--- a/net-wireless/linssid/Manifest
+++ b/net-wireless/linssid/Manifest
@@ -1,3 +1,3 @@
DIST linssid_3.6.orig.tar.gz 397541 BLAKE2B 35d56cc9439a3a117200c59a03dad3a53bbecbe522a5592ba4cd6a5d37332c4b8c6ec065b7357643bda6b7b54462d720e3ee0b3efcb5a80e14c809330d84fc2b SHA512 066c890776a23d0e5fe8518826c64edc4b7d6dcef28cd7ce58f842e52b9e2b13517358ca6df636613abd1e860b20c6b542b5df165de1aa262e1e7db8a60e00e5
-EBUILD linssid-3.6.ebuild 1361 BLAKE2B 66b063fc1c26b202295d61f748e42b61843102ee1126463b6d4bd6993ea0458dba8aef9ef3f374490d1ad50933fde9c24547d04e50d2bf421dcae35409b136e8 SHA512 803adb84a9c424000ad90730a350563571c88378fade321b8f6d01e8ab9344a1e5855423ef8aca1a2401936795d4b712a7afff9c0bd3eb5bff76e120b4784d84
+EBUILD linssid-3.6-r1.ebuild 1090 BLAKE2B 7e796a4ba1309bb18448ab51e2cad45791046fdce29d5054e0e45baa815ad36575f566be7168eb05bdd91963a675d22eaae507a42abda28c0e9504f9de10ad97 SHA512 bc41231617f4741c5c8a44d3de0c4748e01ab0a18b87ff67f094d968731a9cc26ec2eda0c92a0ba18f4fe13d5565e7c170d8689244ba23b269b126a98f6d0c6c
MISC metadata.xml 870 BLAKE2B b769f54c91d56f89b67f1375f07eb9c7f72a80db1a05cf7998b83488204a4c07011aee881c3503ea0bdc60930a595c57301a01bb866ef46bc928e4d46a076815 SHA512 2f1248f1540ef58073808c08a87b3e813e2a50af2624f9230618626f3efc5a3f5719d4792e0c391d2fc1aa95770366cf510c9fd36689008ca1f8e0369763ed8e
diff --git a/net-wireless/linssid/linssid-3.6.ebuild b/net-wireless/linssid/linssid-3.6-r1.ebuild
index 79d6ce72d296..8dc533ea7ce7 100644
--- a/net-wireless/linssid/linssid-3.6.ebuild
+++ b/net-wireless/linssid/linssid-3.6-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit qmake-utils xdg-utils
@@ -12,39 +12,32 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="policykit"
-DEPEND="dev-libs/boost:=
+DEPEND="
+ dev-libs/boost:=
dev-qt/qtcore:5
dev-qt/qtopengl:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
- x11-libs/qwt:6[opengl,qt5(+),svg]"
+ x11-libs/qwt:6[opengl,qt5(+),svg]
+"
-RDEPEND="net-wireless/iw
+RDEPEND="
+ ${DEPEND}
+ net-wireless/iw
+ sys-auth/polkit
x11-libs/libxkbcommon[X]
- policykit? ( sys-auth/polkit )
- !policykit? ( app-admin/sudo
- x11-libs/gksu )
- ${DEPEND}"
+"
S="${WORKDIR}/${P}/${PN}-app"
DOCS=( README_${PV} )
src_prepare() {
- # Use system qwt for compiling
- sed -i -e 's/CONFIG += release/CONFIG += release qwt/' linssid-app.pro || die
-
- # Fix lib path for x11-libs/qwt
- sed -i -e '/libqwt-qt5.so.6/c\LIBS += -lqwt6-qt5' linssid-app.pro || die
-
- # Enable 'gksu' when a user don't want policykit
- if ! use policykit; then
- sed -i -e 's/Exec=.*/Exec=gksu linssid/' linssid.desktop || die
- fi
-
default
+
+ # Fix lib path for x11-libs/qwt and use system qwt for compiling
+ sed -e '/libqwt-qt5.so.6/c\LIBS += -lqwt6-qt5' -e 's/CONFIG += release/& qwt/' -i linssid-app.pro || die
}
src_configure() {