summaryrefslogtreecommitdiff
path: root/x11-misc/autorandr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-26 01:31:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-26 01:31:19 +0100
commitd2b7cca519cd1aa575ebbc562c57071266ae63f1 (patch)
tree20d2a4b55096c14c4effc9e92ab6001fca68544d /x11-misc/autorandr
parent6fe5af3f06c92a6b1a6b21ff5e1bc9d107490971 (diff)
gentoo auto-resync : 26:06:2023 - 01:31:19
Diffstat (limited to 'x11-misc/autorandr')
-rw-r--r--x11-misc/autorandr/Manifest2
-rw-r--r--x11-misc/autorandr/autorandr-1.14.ebuild76
2 files changed, 78 insertions, 0 deletions
diff --git a/x11-misc/autorandr/Manifest b/x11-misc/autorandr/Manifest
index 3029b442e703..c48de7eaa7d1 100644
--- a/x11-misc/autorandr/Manifest
+++ b/x11-misc/autorandr/Manifest
@@ -1,7 +1,9 @@
AUX autorandr-Makefile-fix-install_udev-target-by-s-TARGETS-MAKECM.patch 1682 BLAKE2B 6c168ffc8e0b217999e4780a9776c6ca7d1fd16868a00ec8301ab8b94412033a38cec28929bb21d7a39fe18544244a947891715a32fe1e80d927b3550dec8513 SHA512 8d3b1164e962bd6b6d741e22f1328b98037b6f2ea878ffe26da07f22947476ca35c5fa066462b913fda7319b8671055c3f28354261daf6e5c3301d7a85f5dc88
DIST autorandr-1.12.1.tar.gz 45550 BLAKE2B 5b434325d13c00c3fa70b5d09edb540cdcf3bb921307c60f2c616231e7a87ea85f60e39500ed8116f28619139f71ecc4a8fa153ffadc6b8d74df570736a0d815 SHA512 a7e095eb96e7e0d3a5b3b2122d68a3d3a5121d8be7a86ddd9f837ad42b7a53ed5ee45151f23861c5b900e214a4dfc0c575f45fe70c8c5587562a4035458137a0
DIST autorandr-1.13.3.tar.gz 47630 BLAKE2B fb53316af4d3fa399f278be874e95d06cbd188bebf1e22793ca30ad4f9a8817674390c7d02d501f4a35a0a6f23b16202e97f2a6559727e67e908d21121de8a56 SHA512 6c3f99da52a029a8f1717020ebafbd7afb58d97651776a6620f47e299584704ab65c37be5e9497cca3c53d6268ebde11481f32967ec289adf606a73e587e874f
+DIST autorandr-1.14.tar.gz 49234 BLAKE2B 3ff149d30b023bc54d83c4be1f81f67204d20d3e6a7a43e15009c1c4f1180fa920789ce84ae56f13946a9cec1f72bc7adb27be3c58ca8532235d0457b1f5aa92 SHA512 dc1ee4c28b06dde4a721fe564734e7a79c1c843986f7c84307ea60f19c2237ba53d1bcd2202e377363e7e0a5bf5dea95bea4490b3fa5ec5fa6738114646a502d
EBUILD autorandr-1.12.1-r2.ebuild 1571 BLAKE2B cc9ee1819681f13aa237e4ffac593834822f795cb9d5c41b94edd39262ed345cb5772efbc35f177afe9a5ef1379b5cdd6bffdc52fd97b210f75db5c5ef32dd38 SHA512 ae624c9ed4df52dfdb9061c147f6339ff9c4c50234650315feee79765973273bd6c34b0de7db843c6deb1b9ff36d690ecefd854e512d82e553da40b49c394cbc
EBUILD autorandr-1.13.3.ebuild 1507 BLAKE2B a1f749c6298eb9f42d3e714ff5039667b9991a1c9e32b589c3019d779b9ac64b982d4d33c3f23eb133fb98253a944550a06fda5a281f06e3bbe3f2dbdc90ae52 SHA512 d7ae39c907788956ffe55757f93d113acc2f8dcca03055a7610f6cf05933b72f48e9688a599b545d3db64ad5ea182a373babea1814c31a7800039de828659f57
+EBUILD autorandr-1.14.ebuild 1509 BLAKE2B 38fdd65595ae46310629c7f40bf3a56820999f8838194e41871377bc49663f1bc497c034c26c70d44fe8642bdc2a8a9d8448a6a88a39f3a9cf4d0c4d1c2b0612 SHA512 331b770efe9b3945c8bf964d7c7a91c5d734b58209db6b757baf3253863204eb20c262d927b9cfda504fa1a6a843750c66b081a0e7c1752b6dfdcec12f47d50c
EBUILD autorandr-9999.ebuild 1509 BLAKE2B 38fdd65595ae46310629c7f40bf3a56820999f8838194e41871377bc49663f1bc497c034c26c70d44fe8642bdc2a8a9d8448a6a88a39f3a9cf4d0c4d1c2b0612 SHA512 331b770efe9b3945c8bf964d7c7a91c5d734b58209db6b757baf3253863204eb20c262d927b9cfda504fa1a6a843750c66b081a0e7c1752b6dfdcec12f47d50c
MISC metadata.xml 450 BLAKE2B bb36360893882faa3306ce69953a4c699e613dd5608bd379c3a179cd68d79ce42171c01611fb08269b9521eca61c67825ea1d52711a0ac67fa99f919350b54bd SHA512 d676779669537dff4c0964d48996b3cdcbc1b6d7f3f00412b48614f42b86b6acdea05b646d3d9d048db6b19e0733bbc1281ed8dbea7d4ea36f19f14c5a055d29
diff --git a/x11-misc/autorandr/autorandr-1.14.ebuild b/x11-misc/autorandr/autorandr-1.14.ebuild
new file mode 100644
index 000000000000..5a4cdc0e7c9f
--- /dev/null
+++ b/x11-misc/autorandr/autorandr-1.14.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit bash-completion-r1 distutils-r1 systemd udev
+
+if [[ "${PV}" = "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/phillipberndt/${PN}.git"
+else
+ SRC_URI="https://github.com/phillipberndt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Automatically select a display configuration based on connected devices"
+HOMEPAGE="https://github.com/phillipberndt/autorandr"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="launcher systemd udev"
+
+RDEPEND="
+ x11-apps/xrandr
+ launcher? ( x11-libs/libxcb )
+ udev? ( virtual/udev )
+"
+DEPEND="${RDEPEND}"
+# desktop-file-util: uses desktop-file-edit in Makefile
+BDEPEND="
+ dev-util/desktop-file-utils
+ virtual/pkgconfig
+"
+
+src_compile() {
+ distutils-r1_src_compile
+
+ if use launcher; then
+ emake contrib/autorandr_launcher/autorandr-launcher
+ fi
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ doman autorandr.1
+
+ local targets=(
+ autostart_config
+ bash_completion
+ $(usev launcher)
+ $(usev systemd)
+ $(usev udev)
+ )
+
+ emake DESTDIR="${D}" \
+ BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \
+ SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \
+ UDEV_RULES_DIR="$(get_udevdir)"/rules.d \
+ $(printf "install_%s " "${targets[@]}")
+}
+
+pkg_postinst() {
+ if use udev; then
+ udev_reload
+ fi
+}
+
+pkg_postrm() {
+ if use udev; then
+ udev_reload
+ fi
+}