mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-10 01:14:09 +01:00
routerkeygen: remove keywords, unbuildable. minor qa fixes
This commit is contained in:
parent
e905f7096c
commit
48ebd20df3
2 changed files with 12 additions and 6 deletions
1
app-crypt/routerkeygen/Manifest
Normal file
1
app-crypt/routerkeygen/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST routerkeygen-20190721.tar.gz 1200931 BLAKE2B 0e0eaa78d0cdbe8f0219d19d1ebf12eb0377ac2d7cee605a0bdff5388ee95ea3bfde4abccd84c12fb9a1942600374eed6278b3518537a2e73253b08548a19cf3 SHA512 4f5754fbf98fad3f37adeed3387c0370ef535aa35a18f42f39fbc5ecc4dd44001ffc793e60abe843d973b20702cff7429abd83f279f392d0ae64aecd1ee5cfa3
|
||||
|
|
@ -1,18 +1,21 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake git-r3 xdg-utils
|
||||
inherit cmake xdg-utils
|
||||
|
||||
DESCRIPTION="Generates WPA/WEP keys based on MAC and/or BSSID"
|
||||
HOMEPAGE="https://routerkeygen.github.io/"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/routerkeygen/routerkeygenPC"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
#EGIT_COMMIT="${PV}"
|
||||
inherit vcs-snapshot
|
||||
EGIT_COMMIT="c1f166555f6620d21b9767682dc79346806e2f5e" # 20190721
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/routerkeygen/routerkeygenPC/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/routerkeygen/routerkeygenPC"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
|
|
@ -33,12 +36,14 @@ src_prepare() {
|
|||
sed -i \
|
||||
-e "s:DESTINATION \${ROUTERKEYGEN_DOC_DIR}:DESTINATION /usr/share/doc/${PF}:g" \
|
||||
CMakeLists.txt || die
|
||||
# This isn't the right way to do this
|
||||
sed -i 's#NetworkManager.h#libnm/NetworkManager.h#' src/wifi/QWifiManagerPrivateUnix.h || die
|
||||
#and it still fails to find glib-2.0/gio/gio.h looking for gio/gio.h
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# this fails looking for NetworkManager.h which is in /usr/include/libnm/NetworkManager.h but it's looking in /usr/include/NetworkManager and I don't know why
|
||||
PATH="${PATH}:/usr/lib64/qt5/bin" cmake_src_compile
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue