diff options
Diffstat (limited to 'x11-misc/projecteur')
-rw-r--r-- | x11-misc/projecteur/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/projecteur/projecteur-0.9.2.ebuild | 53 |
2 files changed, 55 insertions, 0 deletions
diff --git a/x11-misc/projecteur/Manifest b/x11-misc/projecteur/Manifest index d1309ba09de0..2bf22025741f 100644 --- a/x11-misc/projecteur/Manifest +++ b/x11-misc/projecteur/Manifest @@ -1,4 +1,6 @@ AUX projecteur-0.9.1-dont-compress-manpage.patch 1117 BLAKE2B b75c1510f0c6561f935a7e7dba5a200f1b0a9cd0be892818ef1e5251b3d9ad6ac3e95200d90c2de6cf9ff38e61fe546560c3c2118eeb20e45a963b3fbfa4d2ff SHA512 ff3734d495ad94e0ed527cb2efc5d4627f45947ec9b75a960564b99ef6114ecd7efc260d1b1293db5d4835a8dc1450f322d8a6e3d1548e850d888d692580e425 DIST projecteur-0.9.1.tar.gz 392308 BLAKE2B 31ec19b81b9f3cf8c60712a52d3cf4dd96a215115d2fffc437892f276b9f1e6a58cf0c2165226166f0c2067f6ab2180829c8bc8204dbe368facbeef398da837f SHA512 28e0030a481dd2adb9eaba54066f060b61f7e4477918f46e25fad1e1a1c841dd5500c24779d66d3fab643e5aa39f92b0dd0c2fd7a0b80b8de8f258ae7572ed36 +DIST projecteur-0.9.2.tar.gz 394033 BLAKE2B 576a16853cdb2ae4614b83946caf85636f364c268320bcd99cdd9312ac1e76fb663f2e6c7cede4202df581770b4640444283eb55747735ab1bbb125d5bb9c6c1 SHA512 75c7e30b9ef72b4c1fc5e1a8e42c1668ccf2698677c1617cea080c7f5db722098635098304a7557f93f1a14143f8f2f089e8aed9265d44b2cfcd82974363baac EBUILD projecteur-0.9.1.ebuild 1004 BLAKE2B 47138e26b5b730289878381fb101c92c5110cc6c2b76daaadec30eeb7f686bf4c02b823ff20ef7f6bea117837a12b458063dea27d3da912a22412c93a5381fc0 SHA512 0accd0ed067e4eddfd48c562251883c1779c69e2e7c6673f5ea1719e07a5808306866e953f6f111462f6b25b629032b7c462615152bb723f89d6f77783ef866d +EBUILD projecteur-0.9.2.ebuild 1006 BLAKE2B 16654ae21dbfe9c1bdd689b8ed912860499520edd05433b976e187f8926209852df98ffb20bc2d3d07740adea0e453df67c30b2bc16c2e32cfe1f6335424fb6b SHA512 aea3af93e03cd78a7d000a529a00e30fa9d2ab4aaec0e88257f8024720ee52c84e48dc062f971199c1e7d2f05516d461104f4d44f33061a8f83d8af3944a0a71 MISC metadata.xml 613 BLAKE2B 20b189f745ba58949951ba9011e77ef1be5910caf7ac9e3797ec4002ef213327b2135a976eb8aa731bde535ff0fc5c44119fe3953712ac333735b8280e5b607d SHA512 956a65649dc36c2aadbf372f88546d78dca360fea24b0d37b6eb04080a8ff91b02c04885abd4c576913769bde1c792bf9d1cf7f8a83eb54da240d7dbf29af3bd diff --git a/x11-misc/projecteur/projecteur-0.9.2.ebuild b/x11-misc/projecteur/projecteur-0.9.2.ebuild new file mode 100644 index 000000000000..cab723fe1e8c --- /dev/null +++ b/x11-misc/projecteur/projecteur-0.9.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN/p/P}" + +inherit cmake udev xdg-utils + +DESCRIPTION="Linux Desktop Application for the Logitech Spotlight device" +HOMEPAGE="https://github.com/jahnf/Projecteur" +SRC_URI="https://github.com/jahnf/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + || ( + dev-qt/qtgui:5[X(-)] + dev-qt/qtgui:5[xcb(-)] + ) + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + virtual/udev + x11-libs/libX11 +" +DEPEND="${RDEPEND}" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-0.9.1-dont-compress-manpage.patch" ) + +src_prepare() { + cmake_src_prepare + + # Don't treat all warnings as errors + sed -e '/add_compile_options/d' -i CMakeLists.txt || die +} + +pkg_postinst() { + udev_reload + xdg_icon_cache_update +} + +pkg_postrm() { + udev_reload + xdg_icon_cache_update +} |