You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
630 B

  1. # Copyright 1999-2021 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. inherit autotools
  5. if [[ ${PV} = "9999" ]]; then
  6. EGIT_REPO_URI="https://github.com/wroberts/rogauracore.git"
  7. inherit git-r3
  8. else
  9. SRC_URI="https://github.com/wroberts/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
  10. KEYWORDS="~amd64"
  11. fi
  12. DESCRIPTION="RGB keyboard control for Asus ROG laptops"
  13. HOMEPAGE="https://github.com/wroberts/rogauracore"
  14. LICENSE="MIT"
  15. SLOT="0"
  16. DEPEND="virtual/libusb:="
  17. RDEPEND="${DEPEND}"
  18. src_prepare() {
  19. default
  20. eautoreconf
  21. }
  22. src_configure() {
  23. econf
  24. }
  25. src_compile() {
  26. emake
  27. }