summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-22 01:32:40 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-22 01:32:56 +0200
commitddef29c037229fa7339e39e9fcdc963eeb8d13e8 (patch)
tree02be63540147ec7a0eec12c865d37db39161a6a3 /dev-libs/libratbag
parentapp-vim/python-mode: version bump. (diff)
downloadgentoo-ddef29c037229fa7339e39e9fcdc963eeb8d13e8.tar.gz
gentoo-ddef29c037229fa7339e39e9fcdc963eeb8d13e8.tar.bz2
gentoo-ddef29c037229fa7339e39e9fcdc963eeb8d13e8.zip
dev-libs/libratbag: Initial commit.
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-libs/libratbag')
-rw-r--r--dev-libs/libratbag/Manifest1
-rw-r--r--dev-libs/libratbag/libratbag-0.9.ebuild33
-rw-r--r--dev-libs/libratbag/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/libratbag/Manifest b/dev-libs/libratbag/Manifest
new file mode 100644
index 000000000000..9393fbb04d21
--- /dev/null
+++ b/dev-libs/libratbag/Manifest
@@ -0,0 +1 @@
+DIST libratbag-0.9.tar.gz 238225 SHA256 39b6f1ef54a77051709cca075cc3e6e49ec65f1a12ea6a16e435cb82a291897d SHA512 36215f534f9429c3b182f5502a2bbe16905492a634e327a845d65b638d7dd5ebb5c4eb1700a5196d6b5caac68e500603ced60c3c83f6d0c8e3c776e0161f657b WHIRLPOOL 67c41122237a6b3e3b5aa33da02858d366c21f50e1816297842aa1f74391431c8d4415ecd8b063d7da40d3189cd349f556c4c029693fbe3f1a96ad9c9e40f205
diff --git a/dev-libs/libratbag/libratbag-0.9.ebuild b/dev-libs/libratbag/libratbag-0.9.ebuild
new file mode 100644
index 000000000000..0430e0fe0a14
--- /dev/null
+++ b/dev-libs/libratbag/libratbag-0.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson udev
+
+DESCRIPTION="Library to configure gaming mice"
+HOMEPAGE="https://github.com/libratbag/libratbag"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+DEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+RDEPEND="
+ dev-libs/libevdev
+ virtual/libudev
+"
+
+src_configure() {
+ local emesonargs=(
+ -Denable-documentation=$(usex doc true false)
+ -Denable-tests=$(usex test true false)
+ -Dudev-dir=$(get_udevdir)
+ )
+ meson_src_configure
+}
diff --git a/dev-libs/libratbag/metadata.xml b/dev-libs/libratbag/metadata.xml
new file mode 100644
index 000000000000..6a272e5195d4
--- /dev/null
+++ b/dev-libs/libratbag/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">libratbag/libratbag</remote-id>
+ </upstream>
+</pkgmetadata>