x11-wm/selectwm: EAPI6, use HTTPS, update patch, update LICENSE
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sat, 14 Apr 2018 15:09:53 +0000 (17:09 +0200)
committerAaron Bauman <bman@gentoo.org>
Sat, 14 Apr 2018 18:47:09 +0000 (14:47 -0400)
Closes: https://github.com/gentoo/gentoo/pull/7717

x11-wm/selectwm/files/selectwm-0.4.1-nostrip.patch
x11-wm/selectwm/selectwm-0.4.1-r1.ebuild [new file with mode: 0644]
x11-wm/selectwm/selectwm-0.4.1.ebuild

index d5300c9f94a7d028f0193d7cd72410d56c02fb62..4287ca2d2cbbfe861a360664fc7440393d5aa7da 100644 (file)
@@ -2,8 +2,8 @@ Respect CFLAGS, don't strip binaries
 
 http://bugs.gentoo.org/show_bug.cgi?id=252124
 
---- src/Makefile.am
-+++ src/Makefile.am
+--- a/src/Makefile.am
++++ b/src/Makefile.am
 @@ -10,5 +10,6 @@
        modify.c modify.h \
        misc.h define.h
diff --git a/x11-wm/selectwm/selectwm-0.4.1-r1.ebuild b/x11-wm/selectwm/selectwm-0.4.1-r1.ebuild
new file mode 100644 (file)
index 0000000..c5ee2b7
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="window manager selector tool"
+HOMEPAGE="https://ordiluc.net/selectwm"
+SRC_URI="https://ordiluc.net/selectwm/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="nls"
+
+DOCS=( AUTHORS README sample.xinitrc )
+
+RDEPEND="x11-libs/gtk+:2
+       dev-libs/glib:2"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}/${P}-enable-deprecated-gtk.patch"
+       "${FILESDIR}/${P}-glibc-2.10.patch"
+       "${FILESDIR}/${P}-nostrip.patch"
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --program-suffix=2 \
+               $(use_enable nls)
+}
index ac8889b0e7ffd7113dfa1bd2b5fd627dfc5b4284..2d148c699075f9e2b1d8f484bf276464b4227ff6 100644 (file)
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit autotools eutils
 
 DESCRIPTION="window manager selector tool"
-HOMEPAGE="http://ordiluc.net/selectwm"
-SRC_URI="http://ordiluc.net/selectwm/${P}.tar.bz2"
+HOMEPAGE="https://ordiluc.net/selectwm"
+SRC_URI="https://ordiluc.net/selectwm/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="2"