summaryrefslogtreecommitdiff
path: root/x11-wm/matwm2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/matwm2
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/matwm2')
-rw-r--r--x11-wm/matwm2/Manifest7
-rw-r--r--x11-wm/matwm2/files/matwm2-0.1.2_pre3-destdir-fix.patch34
-rw-r--r--x11-wm/matwm2/files/matwm2.desktop5
-rw-r--r--x11-wm/matwm2/matwm2-0.1.2_pre3.ebuild68
-rw-r--r--x11-wm/matwm2/metadata.xml8
5 files changed, 122 insertions, 0 deletions
diff --git a/x11-wm/matwm2/Manifest b/x11-wm/matwm2/Manifest
new file mode 100644
index 000000000000..fec55e264db7
--- /dev/null
+++ b/x11-wm/matwm2/Manifest
@@ -0,0 +1,7 @@
+AUX matwm2-0.1.2_pre3-destdir-fix.patch 1104 SHA256 56097e258d21d8d471a671036197fd85b8830a682b0ba9b720f6a876947f7258 SHA512 339986e58e4ca608d0d481f1c820662a24a012021733c242aceaec3e82490deccf395bf3766124469983f55cb2cb3552f5a3d07e3f56a34dd93a1251d3dd29a6 WHIRLPOOL f78b89d76136e48a38eee780145263a0eee9b0cc60399b99b593709081643bbae768bdf5b27bdb030880dfade4dfb1c5331f2504dc8b0b5981bac504bcd82569
+AUX matwm2.desktop 69 SHA256 ff87cbe6562a02dd8a13bc5c5582c3cc0c914c1f5c49b49860de65d0b28c5938 SHA512 1308539065599bf807580868510ea772bc09b5e06c6cc184ece5faf100fb14cd424f47e030bc77d62525b7751c874e7313b73444b85ab07076f31bacdcf24e3e WHIRLPOOL c3910679e856650488e95c5532137811fa7b58ef6ed77c9553ce4e0a5a06e0e06c96e81849485b6827bdfe85fcd439b6d6d2f1e7d66e4cb95bf6f2eca6856cc4
+DIST matwm2-0.1.2_pre3.tar.gz 860231 SHA256 c6fc2b4cbe278e5b85035a9019d27e3ad964cab3b5862c442652679ab85523d0 SHA512 30c55c6090015432bf99853f136baebb5b4c1301d5f922dc933e0141caf18d6891a982bd89e22e065c146c0c5c570d0e8aebb7e4c708dddde9b0570b7ed5f9ba WHIRLPOOL 05b651783232ca46f03c5cd018379770749b2ff93d87cd24f297f3ce55677917c1f6980e2e5be8d8e53ff1e6020f07d4bacafdbc7189a9de9133b8147048f78c
+EBUILD matwm2-0.1.2_pre3.ebuild 1481 SHA256 ad8a3f5e3b580c078080f2c9441cf6b58f2ad96510a158f1261682d65f3b710b SHA512 7cfad1edb7e45f24aaa73530dd5dc80fac511b4bf3117bb6c1bcceac8eb9695e0d4e67df84949bfa049b9ec806075cae737f5540170a54ee66a9be7efa067707 WHIRLPOOL d6f88323cdf0a19909f5c4677098a27939022d45d5f4be31db41d1656fcc49638dfbf078c88613c2a4cbf9d24940e90e75607f6abe3417de003cedc98aacede6
+MISC ChangeLog 2579 SHA256 66bd2e3ec0a78e72cb6f172a56cb0ac8e959b8c10733cd27d168aced20f22cab SHA512 f962586d439598ad7bbdfef312f3dddfbe31290b189a44407d86bae9f32d8dc9d6e1006b4adf2a48d3f1480bcdb3c52e2695c159df1b4af0495e3026c4a4b3d5 WHIRLPOOL dc8427f9f14649867f9bc355b3b81f7d2b2a3f496c8fa6e6a9004674cd29de986b06c97c82cafb6b73bbc43799b1b60ab25560e999e4ab1d2153922d69844646
+MISC ChangeLog-2015 966 SHA256 0e7ad47750b42fa58efaef844d914393235eecaeb46f005d810c3f371fe1b80b SHA512 8227694f1383b76606a57a980c886ac6499b0ce211bf2c479884ecef3febbba17bdfa9cc5468a4030c3956c03e3ee308f67854ee7fb35aaf90221c04013dbbef WHIRLPOOL f825b05ee5caf2a31d4157986dd076411ae038a9a2496455c9bf5f5361d66654a3d2d9d59481abd679edcd29d488b10b02c4bf5ebd38fbf307579fbdbe77006c
+MISC metadata.xml 244 SHA256 0e54936fc5521de9f75d4d74b6a85e7a1deb7c32c22910c2a186783495b12a74 SHA512 ab9836137510572de701a29e6c8f81e7ec496e1e6b29119b5bcf183e4f7e99b1c8790c123054abf8cecfb4e93d427a42e61b862590c9badee70ec4736ee82eef WHIRLPOOL df05420730c8d912c0adff3bc46ce739f574efdabe66b94ec999cb0f929770012b5d8a1f3240b9c659222b79803f7d66d751f73ca66b4bd9ffe3448deb9745d7
diff --git a/x11-wm/matwm2/files/matwm2-0.1.2_pre3-destdir-fix.patch b/x11-wm/matwm2/files/matwm2-0.1.2_pre3-destdir-fix.patch
new file mode 100644
index 000000000000..8bd966301f88
--- /dev/null
+++ b/x11-wm/matwm2/files/matwm2-0.1.2_pre3-destdir-fix.patch
@@ -0,0 +1,34 @@
+From a752f42ebdc0b3cb7c7246c96fdb1601a4d1eae4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@gentoo.org>
+Date: Wed, 8 Feb 2017 02:00:08 -0500
+Subject: [PATCH] Makefile.in: use DESTDIR for install and deinstall targets
+
+Distinguish between PREFIX and DESTDIR.
+---
+ Makefile.in | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index fd3e299..5ec1471 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -23,12 +23,12 @@ clean:
+ $(RM) matwm2 *.o
+
+ install: matwm2
+- mkdir -p $(PREFIX)/bin $(MANDIR)/man1
+- install -s matwm2 $(PREFIX)/bin
+- install matwm2.1 $(MANDIR)/man1
++ mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(MANDIR)/man1
++ install -s matwm2 $(DESTDIR)$(PREFIX)/bin
++ install matwm2.1 $(DESTDIR)$(MANDIR)/man1
+
+ deinstall:
+- $(RM) $(PREFIX)/bin/matwm2 $(MANDIR)/man1/matwm2.1* $(MANDIR)/cat1/matwm2.1*
++ $(RM) $(DESTDIR)$(PREFIX)/bin/matwm2 $(DESTDIR)$(MANDIR)/man1/matwm2.1* $(DESTDIR)$(MANDIR)/cat1/matwm2.1*
+
+ # converts default_matwmrc into C code that can be compiled into the binary
+ defcfg:
+--
+2.10.2
+
diff --git a/x11-wm/matwm2/files/matwm2.desktop b/x11-wm/matwm2/files/matwm2.desktop
new file mode 100644
index 000000000000..e15f8e95d0a0
--- /dev/null
+++ b/x11-wm/matwm2/files/matwm2.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Version=1.0
+Name=matwm2
+Exec=matwm2
+Type=Application
diff --git a/x11-wm/matwm2/matwm2-0.1.2_pre3.ebuild b/x11-wm/matwm2/matwm2-0.1.2_pre3.ebuild
new file mode 100644
index 000000000000..0f564a80660e
--- /dev/null
+++ b/x11-wm/matwm2/matwm2-0.1.2_pre3.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+MY_PV="${PV//_/}"
+
+DESCRIPTION="Simple EWMH compatible window manager with titlebars and frames"
+HOMEPAGE="https://github.com/segin/matwm2"
+SRC_URI="https://github.com/segin/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug xft xinerama"
+S="${WORKDIR}/${PN}-${MY_PV}/${PN}"
+
+RDEPEND="
+ x11-libs/libXext
+ x11-libs/libX11
+ debug? ( x11-proto/xproto )
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ x11-proto/xextproto
+ xinerama? ( x11-proto/xineramaproto )
+"
+
+PATCHES=( "${FILESDIR}/${P}-destdir-fix.patch" )
+
+src_prepare() {
+ default
+
+ # Let the package manager handle stripping
+ sed -e 's/install -s/install/g' -i Makefile.in || die
+}
+
+src_configure() {
+ # configure is not autotools based
+ local myconfigureargs=(
+ --prefix="${EPREFIX}/usr"
+ --mandir="${EPREFIX}/usr/share/man"
+ --cc="$(tc-getCC)"
+ $(usex debug "--enable-debug" "")
+ $(usex xft "" "--disable-xft")
+ $(usex xinerama "" "--disable-xinerama")
+ )
+
+ ./configure "${myconfigureargs[@]}" || die
+}
+
+src_install() {
+ default
+
+ docompress -x "${EPREFIX}/usr/share/doc/${PF}"/default_matwmrc
+ dodoc default_matwmrc
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}"/${PN}.desktop
+
+ echo ${PN} > "${T}"/${PN} || die
+ exeinto /etc/X11/Sessions
+ doexe "${T}"/${PN}
+}
diff --git a/x11-wm/matwm2/metadata.xml b/x11-wm/matwm2/metadata.xml
new file mode 100644
index 000000000000..ff23f35a28b1
--- /dev/null
+++ b/x11-wm/matwm2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">segin/matwm2</remote-id>
+ </upstream>
+</pkgmetadata>