diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-11-12 01:12:07 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-11-12 01:24:36 +0100 |
commit | 0049bd7ed6d5bae2696e4723e11bf7ed2c7ad614 (patch) | |
tree | d2bfeb4f01005599d524315d170a78321071fa43 /x11-misc/projecteur | |
parent | sys-block/arcconf: add 4.14.00.26064 (diff) | |
download | gentoo-0049bd7ed6d5bae2696e4723e11bf7ed2c7ad614.tar.gz gentoo-0049bd7ed6d5bae2696e4723e11bf7ed2c7ad614.tar.bz2 gentoo-0049bd7ed6d5bae2696e4723e11bf7ed2c7ad614.zip |
x11-misc/projecteur: add 0.10
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-misc/projecteur')
-rw-r--r-- | x11-misc/projecteur/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/projecteur/projecteur-0.10.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/x11-misc/projecteur/Manifest b/x11-misc/projecteur/Manifest index 79ae747c86e8..211f0260eccd 100644 --- a/x11-misc/projecteur/Manifest +++ b/x11-misc/projecteur/Manifest @@ -1 +1,2 @@ +DIST projecteur-0.10.tar.gz 464761 BLAKE2B 51488cd9f4380f3164ea8c186aeb2389917a1cfb7a5046fc90cc8e75ff5c33ecaa8224cf56c0dcfc0ba1c54741f5ae0d98ec1061318f439801a2b959832b0da4 SHA512 fae7bb6af1fe24ff5e2c98610a768ed93ed968fa8a78dee59fe2c0e7217880ad54e98b6bd0da4defd0297c959bc10e53c476d004c1847c50bc843816359b58a7 DIST projecteur-0.9.2.tar.gz 394033 BLAKE2B 576a16853cdb2ae4614b83946caf85636f364c268320bcd99cdd9312ac1e76fb663f2e6c7cede4202df581770b4640444283eb55747735ab1bbb125d5bb9c6c1 SHA512 75c7e30b9ef72b4c1fc5e1a8e42c1668ccf2698677c1617cea080c7f5db722098635098304a7557f93f1a14143f8f2f089e8aed9265d44b2cfcd82974363baac diff --git a/x11-misc/projecteur/projecteur-0.10.ebuild b/x11-misc/projecteur/projecteur-0.10.ebuild new file mode 100644 index 000000000000..7098cc463692 --- /dev/null +++ b/x11-misc/projecteur/projecteur-0.10.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 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" + +src_prepare() { + cmake_src_prepare + + # Don't treat all warnings as errors + sed -e '/add_compile_options/d' -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DCOMPRESS_MAN_PAGE="OFF" + ) + + cmake_src_configure +} + +pkg_postinst() { + udev_reload + xdg_icon_cache_update +} + +pkg_postrm() { + udev_reload + xdg_icon_cache_update +} |