added an ebuild script
This commit is contained in:
parent
345bab3a99
commit
7f8888d7dd
|
@ -0,0 +1,28 @@
|
|||
#
|
||||
# ebuild script by Carlos Silva
|
||||
#
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup plugdev
|
||||
|
||||
CONFIG_CHECK="HID_LOGITECH_DJ"
|
||||
linux-info_pkg_setup
|
||||
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
udev_dorules rules.d/*.rules
|
||||
|
||||
dodoc README.md COPYING
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
elog "To be able to use this application, the user must be on the plugdev group."
|
||||
}
|
||||
|
||||
pkg_preinst() { gnome2_icon_savelist; }
|
||||
pkg_postrm() { gnome2_icon_cache_update; }
|
3
setup.py
3
setup.py
|
@ -37,9 +37,10 @@ battery status.
|
|||
packages=['hidapi', 'logitech', 'logitech.unifying_receiver', 'solaar', 'solaar.ui'],
|
||||
|
||||
data_files=[
|
||||
# ('share/applications', ['share/applications/solaar.desktop']),
|
||||
('share/icons/hicolor/128x128/apps', ['share/icons/solaar.png']),
|
||||
('share/solaar/icons', glob('share/icons/*.png')),
|
||||
# ('share/applications', ['share/applications/solaar.desktop']),
|
||||
# ('share/doc/solaar', glob('share/doc/solaar/*')),
|
||||
# ('/etc/udev/rules.d', ['rules.d/99-logitech-unifying-receiver.rules']),
|
||||
],
|
||||
|
||||
|
|
|
@ -6,4 +6,5 @@ Icon=solaar.png
|
|||
StartupNotify=false
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
Categories=Utility;GTK;
|
||||
#Categories=Utility;GTK;Settings;HardwareSettings;
|
||||
|
|
Loading…
Reference in New Issue