diff options
| author | Syndamia <kamen@syndamia.com> | 2022-09-06 09:33:24 +0300 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2022-09-06 09:33:24 +0300 |
| commit | b495ea1b5a450c94c493049c4104be9e20896818 (patch) | |
| tree | 2345d262878a782e6a01b5c6eecfa8f57dd1b09d /dev-libs/libratbag/libratbag-0.15.ebuild | |
| parent | 5b5ad2d0855ed1dc0e358c42d4f89563dd90ae2f (diff) | |
| download | garbage-b495ea1b5a450c94c493049c4104be9e20896818.tar garbage-b495ea1b5a450c94c493049c4104be9e20896818.tar.gz garbage-b495ea1b5a450c94c493049c4104be9e20896818.zip | |
Removed a lot of the gentoo ebuild, following reconfiguration of my setup
Diffstat (limited to 'dev-libs/libratbag/libratbag-0.15.ebuild')
| -rw-r--r-- | dev-libs/libratbag/libratbag-0.15.ebuild | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/dev-libs/libratbag/libratbag-0.15.ebuild b/dev-libs/libratbag/libratbag-0.15.ebuild deleted file mode 100644 index b46974b..0000000 --- a/dev-libs/libratbag/libratbag-0.15.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..9} ) - -inherit meson python-single-r1 systemd 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 elogind systemd test" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - ^^ ( elogind systemd ) -" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${PYTHON_DEPS} - dev-lang/swig - virtual/pkgconfig - doc? ( app-doc/doxygen ) - test? ( - dev-libs/check - dev-libs/gobject-introspection - dev-util/valgrind - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-evdev[${PYTHON_USEDEP}] - ') - ) -" -RDEPEND=" - ${PYTHON_DEPS} - acct-group/plugdev - dev-libs/json-glib - dev-libs/libevdev - virtual/libudev - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/python-evdev[${PYTHON_USEDEP}] - ') - elogind? ( sys-auth/elogind ) - systemd? ( sys-apps/systemd ) -" -DEPEND=" - ${RDEPEND} - dev-libs/gobject-introspection -" - -src_prepare() { - default - - if use elogind ; then - # Fix systemd includes for elogind - sed -i -e 's@include <systemd@include <elogind@' \ - ratbagd/ratbag*.c || die - fi -} - -src_configure() { - python_setup - - local emesonargs=( - $(meson_use doc documentation) - $(meson_use systemd) - $(meson_use test tests) - -Ddbus-group="plugdev" - -Dlogind-provider=$(usex elogind elogind systemd) - -Dsystemd-unit-dir="$(systemd_get_systemunitdir)" - -Dudev-dir="${EPREFIX}$(get_udevdir)" - ) - - meson_src_configure -} - -src_install() { - meson_src_install - python_fix_shebang "${ED}"/usr/bin/ - newinitd "${FILESDIR}"/ratbagd.init ratbagd -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]] ; then - elog 'You need to be in "plugdev" group in order to access the' - elog 'ratbagd dbus interface' - fi -} |
