From e3872864be25f7421015bef2732fa57c0c9fb726 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Aug 2018 08:53:53 +0100 Subject: gentoo resync : 04.08.2018 --- x11-plugins/wmxres/Manifest | 4 ++- .../files/wmxres-1.2-r1-fix-build-system.patch | 23 ++++++++++++++ x11-plugins/wmxres/metadata.xml | 9 +++--- x11-plugins/wmxres/wmxres-1.2-r1.ebuild | 37 ++++++++++++++++++++++ 4 files changed, 67 insertions(+), 6 deletions(-) create mode 100644 x11-plugins/wmxres/files/wmxres-1.2-r1-fix-build-system.patch create mode 100644 x11-plugins/wmxres/wmxres-1.2-r1.ebuild (limited to 'x11-plugins/wmxres') diff --git a/x11-plugins/wmxres/Manifest b/x11-plugins/wmxres/Manifest index 173492a296c6..ac53fb3f694f 100644 --- a/x11-plugins/wmxres/Manifest +++ b/x11-plugins/wmxres/Manifest @@ -1,4 +1,6 @@ +AUX wmxres-1.2-r1-fix-build-system.patch 584 BLAKE2B 2ea4860274791edb2dcd1c03ee0753c413f919ab1648c7a2c684e8f45698355d0a7132052705b71210b9ba3eeddb35815bd1219dc151484a919d5b67b0caecc6 SHA512 c505490234aa5ec366ae37b5bc95c04cefed93599dfd37d14a015c03daacf0b71fc611bc6962c31be12a60c61c82e7b1f29db80e7826e058433abf9f9f2279eb AUX wmxres-debian-1.1-1.2.patch 1699 BLAKE2B a07ed3bc2c26d9bc73d4340d658ff9754eb9109fbd5bd0ffe973d90af32bf0b5e8e9edc6a03ee822c41d89a934e5270ad81774f35c0d62867f6b788071ea0fca SHA512 d2043b9ff22415f03ec7a3c46770562b7d6ee0180d1048dbd447f27c49149b405faca3c2e863a91abc71c766ce461464f6c4fdea54d2b5916c88a85e8f2d8051 DIST wmxres-1.1-0.tar.gz 9948 BLAKE2B e9d0952a0cba30733f0b28ab0b1f37e7b0215ba71abda255646321ee673a09f8510384466919dd27679a6b91c68f7a31fe3ff646c7eb453193c9de29b46c5710 SHA512 e7b5bfb061822fb827da50b24287ab9c6b14d3ddf9a89ff6cd5e1bb61939905c901b4a0ff7a6492e0ccce3b39b8bb4d8ffb13cbf7978075a73a30080e25c18ad +EBUILD wmxres-1.2-r1.ebuild 728 BLAKE2B 9040ad1768ace4402ca95f8677ce69e91266e94afc06cdbe48983f68407aaa3dba7234454162e60fc98bb68ef6fac244c950e3648cfc16b517c305949565a300 SHA512 e23565d6a9fc59f73e7735dd0c1b9f158b28f803d1cd908adcb5282ab0fe169b1c4cbca8e3c1463930fe77d6b9e49ab17f9969632a2e123c1b2b3fb9ec336773 EBUILD wmxres-1.2.ebuild 875 BLAKE2B 275175f1dc0385cf99249e8ebec69121b1d5da4933075e930104ab509adb112695a58d40d35505f0de7d645cf4b3da4e78d5db56c6d419af7908606f5cd41853 SHA512 caacacc4f8b394913af287b6d559f51986b46a4c66bc43f5ae90f5d8e0235d950bb62fd80756a7b2b8d871054ab970f3a9a746565cf63c322640209a1867e9b0 -MISC metadata.xml 249 BLAKE2B ba223d81d4cf6b9ca1ba3a63e356bec0d9aa6f4cdf2ad3b29a6c97a6e5bad854154f8b9e6fc3d65d155c93daa706d03c84395b53951e3e326ffc19c8d0df0eb5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d +MISC metadata.xml 252 BLAKE2B f7125c07f7cb9fe1a8d301f198091320ba83ef3547e579b9825298715066ba3506be216900b5317106da011f95df9411b99b100f14f741832ab500fda6acb788 SHA512 6a56c24e3731dd9512fa264d3dce1fe36ace891a17394c483586e0be1fffd153e901228d3ee9c471a226b04cec27d3f78ed2de491e46238de4b06538dab7e724 diff --git a/x11-plugins/wmxres/files/wmxres-1.2-r1-fix-build-system.patch b/x11-plugins/wmxres/files/wmxres-1.2-r1-fix-build-system.patch new file mode 100644 index 000000000000..53c791dc5e05 --- /dev/null +++ b/x11-plugins/wmxres/files/wmxres-1.2-r1-fix-build-system.patch @@ -0,0 +1,23 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,16 +1,15 @@ +-INCDIR = -I/usr/X11R6/include +-LIBDIR = -L/usr/X11R6/lib + LIBS = -lXpm -lXext -lX11 -lXxf86vm + OBJS = wmxres/wmxres.o \ +- wmgeneral/wmgeneral.o \ ++ wmgeneral/wmgeneral.o ++CFLAGS += -Wall + + .c.o: +- cc -g -c -O2 -Wall -D$(shell echo `uname -s`) $< -o $*.o $(INCDIR) ++ $(CC) $(CPPFLAGS) $(CFLAGS) -c -D$(shell echo `uname -s`) $< -o $@ + + all: wmxres + + wmxres: $(OBJS) +- cc -o wmxres/wmxres $^ $(LIBDIR) $(LIBS) ++ $(CC) $(LDFLAGS) -o wmxres/wmxres $^ $(LIBS) + + install:: all + install -s -m 4755 -o root wmxres/wmxres /usr/X11R6/bin diff --git a/x11-plugins/wmxres/metadata.xml b/x11-plugins/wmxres/metadata.xml index 1d5e6504004e..7d273a80ff68 100644 --- a/x11-plugins/wmxres/metadata.xml +++ b/x11-plugins/wmxres/metadata.xml @@ -1,9 +1,8 @@ - - voyageur@gentoo.org - Bernard Cafarelli - - + + voyageur@gentoo.org + Bernard Cafarelli + diff --git a/x11-plugins/wmxres/wmxres-1.2-r1.ebuild b/x11-plugins/wmxres/wmxres-1.2-r1.ebuild new file mode 100644 index 000000000000..cd415d8686c2 --- /dev/null +++ b/x11-plugins/wmxres/wmxres-1.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="Dock application to select your display mode among those possible" +HOMEPAGE="http://yalla.free.fr/wn" +SRC_URI="http://yalla.free.fr/wn/${PN}-1.1-0.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXxf86vm" +DEPEND="${RDEPEND} + x11-base/xorg-proto + x11-libs/libXxf86dga" + +S="${WORKDIR}/${PN}.app" + +PATCHES=( + "${FILESDIR}"/${PN}-debian-1.1-1.2.patch + "${FILESDIR}"/${PN}-1.2-r1-fix-build-system.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + dobin ${PN}/${PN} + doman ${PN}.1 +} -- cgit v1.2.3