mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-14 02:41:06 +02:00
qflipper: qflipper-cli to update my flipper
This commit is contained in:
parent
a15ab2846d
commit
14d4d42581
3 changed files with 95 additions and 0 deletions
1
net-wireless/qflipper/Manifest
Normal file
1
net-wireless/qflipper/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST qflipper-1.0.1.tar.gz 1032084 BLAKE2B b15874ee0142375a0374527c0dbfbfd5a80d5ad7cc3ce82b3a926b8b8b5c2becd3fac5c842a7912bd6cca664fdca3b32825f68da89ab7b544dbd26b2509b4e65 SHA512 8244748381cfad7db061f5174af33895162ca9aeb1062ec9e985ea06a3f3d0650a85bf4af94056552af6675d787da5bc9a03e9541e7e34ccc1b69642cf265259
|
||||
47
net-wireless/qflipper/qflipper-1.0.1.ebuild
Normal file
47
net-wireless/qflipper/qflipper-1.0.1.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="desktop application for updating Flipper Zero firmware"
|
||||
HOMEPAGE="https://update.flipperzero.one/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/flipperdevices/qFlipper.git"
|
||||
else
|
||||
#KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/flipperdevices/qFlipper/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/qFlipper-${PV}"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libusb:=
|
||||
sys-libs/zlib:=
|
||||
dev-qt/qtquickcontrols2:5=
|
||||
dev-qt/qtdeclarative:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtdeclarative:5=
|
||||
dev-qt/qtnetwork:5=
|
||||
dev-qt/qtserialport:5=
|
||||
dev-qt/qtcore:5=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
eqmake5 qFlipper.pro PREFIX="${D}/usr" -spec linux-g++ CONFIG+=qtquickcompiler DEFINES+=DISABLE_APPLICATION_UPDATES
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/usr" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "qFlipper doesn't work, but qFlipper-cli does, use it."
|
||||
}
|
||||
47
net-wireless/qflipper/qflipper-9999.ebuild
Normal file
47
net-wireless/qflipper/qflipper-9999.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="desktop application for updating Flipper Zero firmware"
|
||||
HOMEPAGE="https://update.flipperzero.one/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/flipperdevices/qFlipper.git"
|
||||
else
|
||||
#KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/flipperdevices/qFlipper/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/qFlipper-${PV}"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libusb:=
|
||||
sys-libs/zlib:=
|
||||
dev-qt/qtquickcontrols2:5=
|
||||
dev-qt/qtdeclarative:5=
|
||||
dev-qt/qtwidgets:5=
|
||||
dev-qt/qtgui:5=
|
||||
dev-qt/qtdeclarative:5=
|
||||
dev-qt/qtnetwork:5=
|
||||
dev-qt/qtserialport:5=
|
||||
dev-qt/qtcore:5=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
eqmake5 qFlipper.pro PREFIX="${D}/usr" -spec linux-g++ CONFIG+=qtquickcompiler DEFINES+=DISABLE_APPLICATION_UPDATES
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/usr" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "qFlipper doesn't work, but qFlipper-cli does, use it."
|
||||
}
|
||||
Loading…
Reference in a new issue