forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: gentoo#5520 Package-Manager: Portage-2.3.6, Repoman-2.3.1
- Loading branch information
Showing
6 changed files
with
140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST moolticute-0.9.8_beta.tar.gz 4471922 SHA256 6d1524d104579c03901e1727c7eed3511fe74ce4dc538d846e69d28652129ddb SHA512 9b5829105172b9e461bfccf60de42aa0dc8529e319292006449f54f8590b3cf002c0e9b555b8ab379a6bfe6dad2e40ed142ea140e254337fa035f09e97e49465 WHIRLPOOL de95aed7084b974e370c14bafd989c4f07494fa5bccec64543bb944db73baf3cb0c5cb80bd7fc6314c38b3d30c661862aae72f19e098411f24db73710ffbf60b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="09a0", TAG+="uaccess" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/sbin/openrc-run | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
command=/usr/bin/moolticuted | ||
command_args="" | ||
pidfile=/var/run/moolticuted.pid | ||
start_stop_daemon_args="--make-pidfile --background --user nobody --group usb" | ||
|
||
depend() { | ||
need udev | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Pierre-Olivier Mercier</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">raoulh/moolticute</remote-id> | ||
<bugs-to>https://github.com/raoulh/moolticute/issues</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
if [[ ${PV} == 9999* ]]; then | ||
EGIT_REPO_URI="https://github.com/raoulh/moolticute.git" | ||
inherit git-r3 | ||
KEYWORDS="" | ||
else | ||
SRC_URI="https://github.com/raoulh/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~amd64 ~arm" | ||
fi | ||
|
||
inherit gnome2-utils qmake-utils udev | ||
|
||
DESCRIPTION="Mooltipass crossplatform daemon/tools" | ||
HOMEPAGE="https://github.com/raoulh/moolticute" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
>=dev-libs/libusb-1.0.20 | ||
>=dev-qt/qtcore-5.6:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtnetwork:5 | ||
dev-qt/qttest:5 | ||
dev-qt/qtwebsockets:5 | ||
dev-qt/qtwidgets:5 | ||
" | ||
DEPEND="${RDEPEND}" | ||
|
||
S="${WORKDIR}/${P/_/-}" | ||
|
||
src_configure() { | ||
eqmake5 PREFIX="/usr" Moolticute.pro | ||
} | ||
|
||
src_install() { | ||
emake install INSTALL_ROOT="${D}" | ||
|
||
udev_dorules "${FILESDIR}/50-mooltipass.rule" | ||
newinitd "${FILESDIR}/moolticuted.init" moolticuted | ||
} | ||
|
||
pkg_postinst() { | ||
udev_reload | ||
gnome2_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_icon_cache_update | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
if [[ ${PV} == 9999* ]]; then | ||
EGIT_REPO_URI="https://github.com/raoulh/moolticute.git" | ||
inherit git-r3 | ||
KEYWORDS="" | ||
else | ||
SRC_URI="https://github.com/raoulh/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~amd64 ~arm" | ||
fi | ||
|
||
inherit gnome2-utils qmake-utils udev | ||
|
||
DESCRIPTION="Mooltipass crossplatform daemon/tools" | ||
HOMEPAGE="https://github.com/raoulh/moolticute" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
RDEPEND=" | ||
>=dev-libs/libusb-1.0.20 | ||
>=dev-qt/qtcore-5.6:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtnetwork:5 | ||
dev-qt/qttest:5 | ||
dev-qt/qtwebsockets:5 | ||
dev-qt/qtwidgets:5 | ||
" | ||
DEPEND="${RDEPEND}" | ||
|
||
S="${WORKDIR}/${P/_/-}" | ||
|
||
src_configure() { | ||
eqmake5 PREFIX="/usr" Moolticute.pro | ||
} | ||
|
||
src_install() { | ||
emake install INSTALL_ROOT="${D}" | ||
|
||
udev_dorules "${FILESDIR}/50-mooltipass.rule" | ||
newinitd "${FILESDIR}/moolticuted.init" moolticuted | ||
} | ||
|
||
pkg_postinst() { | ||
udev_reload | ||
gnome2_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_icon_cache_update | ||
} |