2 İşlemeler a0e63b452a ... a15e445871

Yazar SHA1 Mesaj Tarih
  kimitsune a15e445871 Added piper ebuild. 4 yıl önce
  kimitsune b1f7b4ec43 Added a secure version of the v4l2loopback ebuild. (uses HTTPS) 4 yıl önce

+ 1 - 0
media-video/v4l2loopback/Manifest

@@ -0,0 +1 @@
+EBUILD v4l2loopback-9999.ebuild 1148 BLAKE2B 09314ef567e84b91eea4d07069a92e39b320524f3fa5076a71d1a30fac487746d01aaae3c1929776c8a03493ef2760ca574856f0da2b359d487cdb4e7a65ca78 SHA512 b8df9231851911dddebbbc978261db435276720f48c262783d1bee747d5d349422492d3fc354cbb80d62a633dcf91c31b2d5769d067ee9e9e038eeb96bd81d08

+ 59 - 0
media-video/v4l2loopback/v4l2loopback-9999.ebuild

@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-mod toolchain-funcs
+
+case ${PV} in
+9999)
+	inherit git-r3
+	KEYWORDS=""
+	EGIT_REPO_URI="https://github.com/umlaeute/v4l2loopback.git"
+	;;
+*)
+	inherit vcs-snapshot
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/umlaeute/v4l2loopback/tarball/v${PV} -> ${P}.tar.gz"
+	;;
+esac
+
+DESCRIPTION="v4l2 loopback device which output is it's own input"
+HOMEPAGE="https://github.com/umlaeute/v4l2loopback"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples"
+
+CONFIG_CHECK="VIDEO_DEV"
+MODULE_NAMES="v4l2loopback(video:)"
+BUILD_TARGETS="all"
+
+pkg_setup() {
+	linux-mod_pkg_setup
+	export KERNELRELEASE=${KV_FULL}
+}
+
+src_prepare() {
+	default
+	sed -i -e 's/gcc /$(CC) /' examples/Makefile || die
+}
+
+src_compile() {
+	linux-mod_src_compile
+	if use examples; then
+		emake CC=$(tc-getCC) -C examples
+	fi
+}
+
+src_install() {
+	linux-mod_src_install
+	dosbin utils/v4l2loopback-ctl
+	dodoc doc/kernel_debugging.txt
+	dodoc doc/docs.txt
+	if use examples; then
+		dosbin examples/yuv4mpeg_to_v4l2
+		docinto examples
+		dodoc examples/{*.sh,*.c,Makefile}
+	fi
+}

+ 2 - 0
sys-apps/piper/Manifest

@@ -0,0 +1,2 @@
+DIST piper-0.4.tar.gz 220302 BLAKE2B 328de7bd31b7a74c656cc7fbe50b54663de1368c43e3c1a1ca72245d7a6631fb87b240c7290d987bca383113b7041548472f0e012ec940372103f83f7a52f14f SHA512 7d283d217d114d8acbafcfb358e823a307e694c7d7f5d18ac76b2d52db0704ef9873b63f31273b203f6fdf0e5ec8578adf4bd95c2881fcd01f1c5e59e6c929a6
+EBUILD piper-0.4.ebuild 1158 BLAKE2B ff4e45cfbe75e18ff6eb5a75ebaf3adfd44384938ad19580dcf8e03b7d8ca80f49b47cba25b50d3a669f94adfe70498714525419d0ffa80efe2577070148f076 SHA512 8523d5f21cb6df51253327a40114fc8b72f029af3cbdc29214852f128b755242c95128f7791e2e2881d3abf0a826392d38b391b4420aac5fc3ca3b39743d62be

+ 67 - 0
sys-apps/piper/piper-0.4.ebuild

@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_6 )
+
+inherit desktop meson udev python-any-r1 gnome2-utils
+
+DESCRIPTION="GUI Software to configure gaming mice"
+HOMEPAGE="https://github.com/libratbag/piper"
+SRC_URI="https://github.com/libratbag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+#REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+	virtual/pkgconfig
+"
+RDEPEND="
+	dev-libs/libevdev
+	virtual/libudev
+"
+
+src_prepare() {
+	default
+#	sed '/default:/d' -i meson_options.txt || die
+	python_fix_shebang .
+}
+
+pkg_setup() {
+        python-any-r1_pkg_setup
+}
+
+
+src_configure() {
+	#python_setup 'python3'
+	local emesonargs=(
+		-Dtests=$(usex test true false)
+	)
+	meson_src_configure
+}
+
+src_install(){
+	default
+	meson_src_install
+	python_optimize "${ED}/usr/share/${PN}"
+	python_optimize "${ED}"
+}
+
+pkg_postinst() {
+        xdg_desktop_database_update
+        gnome2_icon_cache_update
+
+}
+
+pkg_postrm() {
+        xdg_desktop_database_update
+        gnome2_icon_cache_update
+}
+
+