public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/
@ 2021-06-25 10:11 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-06-25 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     af1e115fb6a78f87f3d658ce534245060c8c1a05
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 08:02:25 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 09:00:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af1e115f

x11-misc/autorandr: overhaul

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-misc/autorandr/autorandr-1.11.ebuild | 47 +++++++++++++++++++-------------
 x11-misc/autorandr/autorandr-9999.ebuild | 47 +++++++++++++++++++-------------
 x11-misc/autorandr/metadata.xml          |  3 +-
 3 files changed, 57 insertions(+), 40 deletions(-)

diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
index b2efd0cc5..e3e0a318b 100644
--- a/x11-misc/autorandr/autorandr-1.11.ebuild
+++ b/x11-misc/autorandr/autorandr-1.11.ebuild
@@ -10,7 +10,7 @@ if [[ "${PV}" = "9999" ]] ; then
 	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"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 DESCRIPTION="Automatically select a display configuration based on connected devices"
@@ -18,36 +18,45 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="bash-completion systemd udev"
+IUSE="bash-completion +launcher systemd udev"
 
+RDEPEND="
+	launcher? ( x11-libs/libxcb )
+	udev? ( virtual/udev )
+"
 DEPEND="
 	virtual/pkgconfig
 	${RDEPEND}
 "
-RDEPEND="
-	bash-completion? ( app-shells/bash )
-	systemd? ( sys-apps/systemd )
-	udev? ( virtual/udev )
-"
 
-src_install() {
-	targets="autorandr autostart_config"
-	if use bash-completion; then
-		targets="$targets bash_completion"
-	fi
-	if use systemd; then
-		targets="$targets systemd"
-	fi
-	if use udev; then
-		targets="$targets udev"
+src_prepare() {
+	default
+	sed -i 's/TARGETS=/TARGETS?=/' Makefile || die
+}
+
+src_compile() {
+	if use launcher; then
+		emake contrib/autorandr_launcher/autorandr-launcher
 	fi
+}
+
+src_install() {
+	doman autorandr.1
+
+	local targets=(
+		autorandr
+		autostart_config
+		$(usex bash-completion bash_completion "")
+		$(usev launcher)
+		$(usev systemd)
+		$(usev udev)
+	)
 
 	emake DESTDIR="${D}" \
-		  install \
 		  BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \
 		  SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \
 		  UDEV_RULES_DIR="$(get_udevdir)"/rules.d \
-		  TARGETS="$targets"
+		  $(printf "install_%s " "${targets[@]}")
 }
 
 pkg_postinst() {

diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
index b2efd0cc5..e3e0a318b 100644
--- a/x11-misc/autorandr/autorandr-9999.ebuild
+++ b/x11-misc/autorandr/autorandr-9999.ebuild
@@ -10,7 +10,7 @@ if [[ "${PV}" = "9999" ]] ; then
 	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"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 DESCRIPTION="Automatically select a display configuration based on connected devices"
@@ -18,36 +18,45 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="bash-completion systemd udev"
+IUSE="bash-completion +launcher systemd udev"
 
+RDEPEND="
+	launcher? ( x11-libs/libxcb )
+	udev? ( virtual/udev )
+"
 DEPEND="
 	virtual/pkgconfig
 	${RDEPEND}
 "
-RDEPEND="
-	bash-completion? ( app-shells/bash )
-	systemd? ( sys-apps/systemd )
-	udev? ( virtual/udev )
-"
 
-src_install() {
-	targets="autorandr autostart_config"
-	if use bash-completion; then
-		targets="$targets bash_completion"
-	fi
-	if use systemd; then
-		targets="$targets systemd"
-	fi
-	if use udev; then
-		targets="$targets udev"
+src_prepare() {
+	default
+	sed -i 's/TARGETS=/TARGETS?=/' Makefile || die
+}
+
+src_compile() {
+	if use launcher; then
+		emake contrib/autorandr_launcher/autorandr-launcher
 	fi
+}
+
+src_install() {
+	doman autorandr.1
+
+	local targets=(
+		autorandr
+		autostart_config
+		$(usex bash-completion bash_completion "")
+		$(usev launcher)
+		$(usev systemd)
+		$(usev udev)
+	)
 
 	emake DESTDIR="${D}" \
-		  install \
 		  BASH_COMPLETIONS_DIR="$(get_bashcompdir)" \
 		  SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" \
 		  UDEV_RULES_DIR="$(get_udevdir)"/rules.d \
-		  TARGETS="$targets"
+		  $(printf "install_%s " "${targets[@]}")
 }
 
 pkg_postinst() {

diff --git a/x11-misc/autorandr/metadata.xml b/x11-misc/autorandr/metadata.xml
index 2c524f589..bc2b0d691 100644
--- a/x11-misc/autorandr/metadata.xml
+++ b/x11-misc/autorandr/metadata.xml
@@ -6,7 +6,6 @@
 	<name>Florian Schmaus</name>
 </maintainer>
 <use>
-	<flag name="systemd">Install autorand systemd files</flag>
-	<flag name="udev">Use udev for monitor detection</flag>
+	<flag name="launcher">Install the launcher</flag>
 </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/
@ 2021-06-25 10:11 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-06-25 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     9a6b9601f9d481cbb92d9aeed667b7a1857f3e60
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 09:52:03 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 09:52:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a6b9601

x11-misc/autorandr: use distutils-r1

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-misc/autorandr/autorandr-1.11.ebuild | 11 ++++++++---
 x11-misc/autorandr/autorandr-9999.ebuild | 11 ++++++++---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
index 0b461bc82..badd9b87c 100644
--- a/x11-misc/autorandr/autorandr-1.11.ebuild
+++ b/x11-misc/autorandr/autorandr-1.11.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit bash-completion-r1 systemd udev
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit bash-completion-r1 distutils-r1 systemd udev
 
 if [[ "${PV}" = "9999" ]] ; then
 	inherit git-r3
@@ -18,7 +20,7 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="bash-completion +launcher systemd udev"
+IUSE="bash-completion launcher systemd udev"
 
 RDEPEND="
 	launcher? ( x11-libs/libxcb )
@@ -30,16 +32,19 @@ DEPEND="
 "
 
 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=(
-		autorandr
 		autostart_config
 		$(usex bash-completion bash_completion "")
 		$(usev launcher)

diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
index 0b461bc82..badd9b87c 100644
--- a/x11-misc/autorandr/autorandr-9999.ebuild
+++ b/x11-misc/autorandr/autorandr-9999.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=7
 
-inherit bash-completion-r1 systemd udev
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit bash-completion-r1 distutils-r1 systemd udev
 
 if [[ "${PV}" = "9999" ]] ; then
 	inherit git-r3
@@ -18,7 +20,7 @@ HOMEPAGE="https://github.com/phillipberndt/autorandr"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="bash-completion +launcher systemd udev"
+IUSE="bash-completion launcher systemd udev"
 
 RDEPEND="
 	launcher? ( x11-libs/libxcb )
@@ -30,16 +32,19 @@ DEPEND="
 "
 
 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=(
-		autorandr
 		autostart_config
 		$(usex bash-completion bash_completion "")
 		$(usev launcher)


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/
@ 2021-06-25 10:11 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-06-25 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f7c260b715ac942a3a44a43a5783c27e3aa11143
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 09:02:32 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 09:02:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7c260b7

x11-misc/autorandr: remove superfluous src_prepare

The src_prepare definition was a leftover from a previous experiment.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-misc/autorandr/autorandr-1.11.ebuild | 5 -----
 x11-misc/autorandr/autorandr-9999.ebuild | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
index e3e0a318b..0b461bc82 100644
--- a/x11-misc/autorandr/autorandr-1.11.ebuild
+++ b/x11-misc/autorandr/autorandr-1.11.ebuild
@@ -29,11 +29,6 @@ DEPEND="
 	${RDEPEND}
 "
 
-src_prepare() {
-	default
-	sed -i 's/TARGETS=/TARGETS?=/' Makefile || die
-}
-
 src_compile() {
 	if use launcher; then
 		emake contrib/autorandr_launcher/autorandr-launcher

diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
index e3e0a318b..0b461bc82 100644
--- a/x11-misc/autorandr/autorandr-9999.ebuild
+++ b/x11-misc/autorandr/autorandr-9999.ebuild
@@ -29,11 +29,6 @@ DEPEND="
 	${RDEPEND}
 "
 
-src_prepare() {
-	default
-	sed -i 's/TARGETS=/TARGETS?=/' Makefile || die
-}
-
 src_compile() {
 	if use launcher; then
 		emake contrib/autorandr_launcher/autorandr-launcher


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/autorandr/
  2021-06-28 10:59 [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/ Florian Schmaus
@ 2021-06-28  9:37 ` Florian Schmaus
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Schmaus @ 2021-06-28  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     7396c409e3ee4452e8813255a38df27f59854993
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 09:10:41 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 09:37:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7396c409

x11-misc/autorandr: treeclean (moved to ::gentoo)

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-misc/autorandr/Manifest              |  1 -
 x11-misc/autorandr/autorandr-1.11.ebuild | 66 --------------------------------
 x11-misc/autorandr/autorandr-9999.ebuild | 66 --------------------------------
 x11-misc/autorandr/metadata.xml          | 11 ------
 4 files changed, 144 deletions(-)

diff --git a/x11-misc/autorandr/Manifest b/x11-misc/autorandr/Manifest
deleted file mode 100644
index 6523b0b03..000000000
--- a/x11-misc/autorandr/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST autorandr-1.11.tar.gz 48791 BLAKE2B 57203b15eebdecab943c706745701e8569eb0a66dab69ae4429abfa863da736a5ed8b5333f6d948bcf8cae30f48c68eb1b35f2e84080526c1507ab78dba02efb SHA512 93de0461653aa5145956a8aafdc9fb257491495ca335e4213e7b6f1f313ebfd2332c38615ac648204494026439d77861a7eefd97e80cd49a5fe3d9b75db54ec1

diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
deleted file mode 100644
index badd9b87c..000000000
--- a/x11-misc/autorandr/autorandr-1.11.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-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="bash-completion launcher systemd udev"
-
-RDEPEND="
-	launcher? ( x11-libs/libxcb )
-	udev? ( virtual/udev )
-"
-DEPEND="
-	virtual/pkgconfig
-	${RDEPEND}
-"
-
-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
-		$(usex bash-completion 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
-}

diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
deleted file mode 100644
index badd9b87c..000000000
--- a/x11-misc/autorandr/autorandr-9999.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-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="bash-completion launcher systemd udev"
-
-RDEPEND="
-	launcher? ( x11-libs/libxcb )
-	udev? ( virtual/udev )
-"
-DEPEND="
-	virtual/pkgconfig
-	${RDEPEND}
-"
-
-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
-		$(usex bash-completion 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
-}

diff --git a/x11-misc/autorandr/metadata.xml b/x11-misc/autorandr/metadata.xml
deleted file mode 100644
index bc2b0d691..000000000
--- a/x11-misc/autorandr/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-	<email>flow@gentoo.org</email>
-	<name>Florian Schmaus</name>
-</maintainer>
-<use>
-	<flag name="launcher">Install the launcher</flag>
-</use>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/
@ 2021-06-28 10:59 Florian Schmaus
  2021-06-28  9:37 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Schmaus @ 2021-06-28 10:59 UTC (permalink / raw
  To: gentoo-commits

commit:     7396c409e3ee4452e8813255a38df27f59854993
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 09:10:41 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 09:37:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7396c409

x11-misc/autorandr: treeclean (moved to ::gentoo)

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 x11-misc/autorandr/Manifest              |  1 -
 x11-misc/autorandr/autorandr-1.11.ebuild | 66 --------------------------------
 x11-misc/autorandr/autorandr-9999.ebuild | 66 --------------------------------
 x11-misc/autorandr/metadata.xml          | 11 ------
 4 files changed, 144 deletions(-)

diff --git a/x11-misc/autorandr/Manifest b/x11-misc/autorandr/Manifest
deleted file mode 100644
index 6523b0b03..000000000
--- a/x11-misc/autorandr/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST autorandr-1.11.tar.gz 48791 BLAKE2B 57203b15eebdecab943c706745701e8569eb0a66dab69ae4429abfa863da736a5ed8b5333f6d948bcf8cae30f48c68eb1b35f2e84080526c1507ab78dba02efb SHA512 93de0461653aa5145956a8aafdc9fb257491495ca335e4213e7b6f1f313ebfd2332c38615ac648204494026439d77861a7eefd97e80cd49a5fe3d9b75db54ec1

diff --git a/x11-misc/autorandr/autorandr-1.11.ebuild b/x11-misc/autorandr/autorandr-1.11.ebuild
deleted file mode 100644
index badd9b87c..000000000
--- a/x11-misc/autorandr/autorandr-1.11.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-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="bash-completion launcher systemd udev"
-
-RDEPEND="
-	launcher? ( x11-libs/libxcb )
-	udev? ( virtual/udev )
-"
-DEPEND="
-	virtual/pkgconfig
-	${RDEPEND}
-"
-
-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
-		$(usex bash-completion 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
-}

diff --git a/x11-misc/autorandr/autorandr-9999.ebuild b/x11-misc/autorandr/autorandr-9999.ebuild
deleted file mode 100644
index badd9b87c..000000000
--- a/x11-misc/autorandr/autorandr-9999.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-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="bash-completion launcher systemd udev"
-
-RDEPEND="
-	launcher? ( x11-libs/libxcb )
-	udev? ( virtual/udev )
-"
-DEPEND="
-	virtual/pkgconfig
-	${RDEPEND}
-"
-
-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
-		$(usex bash-completion 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
-}

diff --git a/x11-misc/autorandr/metadata.xml b/x11-misc/autorandr/metadata.xml
deleted file mode 100644
index bc2b0d691..000000000
--- a/x11-misc/autorandr/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-	<email>flow@gentoo.org</email>
-	<name>Florian Schmaus</name>
-</maintainer>
-<use>
-	<flag name="launcher">Install the launcher</flag>
-</use>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-28 10:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28 10:59 [gentoo-commits] repo/proj/guru:master commit in: x11-misc/autorandr/ Florian Schmaus
2021-06-28  9:37 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2021-06-25 10:11 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-06-25 10:11 Andrew Ammerlaan
2021-06-25 10:11 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox