Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473846 - games-util/antimicro-0.8-r1 - a program for mapping keyboard keys and mouse buttons to controller buttons
Summary: games-util/antimicro-0.8-r1 - a program for mapping keyboard keys and mouse b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/Ryochan7/antimicro
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-06-19 15:49 UTC by Travis Nickles
Modified: 2013-06-24 20:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
antimicro-0.8-r1.ebuild (antimicro-0.8-r1.ebuild,688 bytes, text/plain)
2013-06-19 15:51 UTC, Travis Nickles
Details
antimicro-0.8.ebuild (antimicro-0.8.ebuild,702 bytes, text/plain)
2013-06-24 18:12 UTC, Travis Nickles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Nickles 2013-06-19 15:49:15 UTC
I am submitting an ebuild for the program AntiMicro in an effort to get the program included in the Gentoo repositories. AntiMicro is a program for mapping keyboard keys and mouse buttons to controller buttons. The program is particularly useful for playing computer games that do not have any form of controller support. This program is similar to QJoyPad but AntiMicro has some additional features and several issues from QJoyPad have been fixed.

Reproducible: Always
Comment 1 Travis Nickles 2013-06-19 15:51:00 UTC
Created attachment 351398 [details]
antimicro-0.8-r1.ebuild
Comment 2 Julian Ospald 2013-06-19 17:46:57 UTC
quick review, already fixed those issues locally, just letting you know:

- why do you use -r1? that's only for fixing ebuild bugs
- use latest EAPI
- shorter description
- eutils.eclass is unused
- the tarball is named 0.8.tar.gz which is not good, use the following syntax
SRC_URI="https://github.com/Ryochan7/antimicro/archive/${PV}.tar.gz -> ${P}.tar.gz"
- never start with stable keywords
- I'd add dev-qt/qtcore and x11-libs/libX11 dependencies explicitly
- libsd is missing "joystick" useflag (otherwise antimicro won't compile)
- indenting is a bit mesed up
Comment 3 Travis Nickles 2013-06-24 17:13:28 UTC
I used r1 since I had to make a revision to the ebuild for version 0.5.1 after I found out that >=qtgui-4.8 was required to build AntiMicro due to some attributes used in the .ui files. If the use of r# is not recommmended except for actual revisions to a ebuild than I will remove it. Many of the other issues are from using the QJoyPad ebuild from overlays as the template for my ebuild. The lack of a joystick useflag for libsdl is likely due to my use of Sabayon since it is defined in its libsdl package. I ended up missing that requirement as a result. I will fix all the issues with the ebuild and resubmit it. Thank you for looking into it.
Comment 4 Travis Nickles 2013-06-24 18:12:57 UTC
Created attachment 351824 [details]
antimicro-0.8.ebuild

Fixed the problems mentioned by Julian Ospald
Comment 5 Julian Ospald 2013-06-24 20:33:40 UTC
+*antimicro-0.8 (24 Jun 2013)
+
+  24 Jun 2013; Julian Ospald <hasufell@gentoo.org> +antimicro-0.8.ebuild,
+  +metadata.xml:
+  initial import wrt #473846