diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmbutton |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmbutton')
-rw-r--r-- | x11-plugins/wmbutton/Manifest | 10 | ||||
-rw-r--r-- | x11-plugins/wmbutton/files/sample.wmbutton | 43 | ||||
-rw-r--r-- | x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch | 26 | ||||
-rw-r--r-- | x11-plugins/wmbutton/metadata.xml | 9 | ||||
-rw-r--r-- | x11-plugins/wmbutton/wmbutton-0.7.0.ebuild | 40 | ||||
-rw-r--r-- | x11-plugins/wmbutton/wmbutton-0.7.1.ebuild | 19 |
6 files changed, 147 insertions, 0 deletions
diff --git a/x11-plugins/wmbutton/Manifest b/x11-plugins/wmbutton/Manifest new file mode 100644 index 000000000000..4a70ea9e9bcd --- /dev/null +++ b/x11-plugins/wmbutton/Manifest @@ -0,0 +1,10 @@ +AUX sample.wmbutton 659 SHA256 55541666900f478a2c1f73d5fc6fb6bc9ee02687657f830251ce42f480b211d0 SHA512 fc828740001b2280f49b916cd1fc803cb1d606d36a7fdeca0aafa9d892d377ed68eebb996efe7bb96eff6f5ea281e4431182e2831605f6167a39cb2be878063f WHIRLPOOL 3034474f397987af61b2eee5013cbbae1f7467592831f65eefd12cfb3728e059ad1f905e4a864be8383c2ae33343f27007bf7f940ffe1c7196f47222cf40bc4b +AUX wmbutton-0.7.0-Makefile.patch 753 SHA256 3916ca01a8c71e6211ace763913d3e6f8fb8562f73970f337bfb1be8463164c3 SHA512 f62306dfbba48a960a1e198f7c50a4e828405642d852dd543b4cf6ffd2e297266bac71c386d176a35c060dcc6f6c126a4af52a0f83772a4ebed1b55dbe880b8c WHIRLPOOL 1ee2f31b27372f47b817893b6a7f3555bfb383f2510d060c43a439cf85a04b26b3e08c5136cccb0e10519e18f276051fbf19e38a09142a3fc649ae8ac03bf227 +DIST wmbutton-0.7.0.tar.gz 48381 SHA256 dd6d7a4188b9acd22538d04de2ce0a5e3822e91488a1521df4ff9d09a922f950 SHA512 dc631caca0b1ed6daf8781a0893464b91d788b3d0f81dc22a33d13715cda7becbb145d2d3d34ab93a9a343ed178171c376f81e2eb25e9436d1da8ee2d6455ce2 WHIRLPOOL 0b16fab3064ce98d1c6fda5e4856ec9b3b63b7733bc39ee4ab2a96faa7829e77f5e2a45b60124e4f1c91bfa1004c2b6cf3a8e38d8142daff11e34013a2576570 +DIST wmbutton-0.7.1.tar.gz 140293 SHA256 9a80da3308a36993a48d5e25da800e8a6e5287bf4ae2ad6fc59b03dc2c5db519 SHA512 61e846c2c7edf6375fdf7e86490ef80feab986b24ce83110283b7e336562a670142e326bfda24ddad832c563da0cb4bc2c3d7379e88e647954c6d93a4dcf6068 WHIRLPOOL cea857d5085939e2df4d1b70ca02d4173e917976f69ff4e6dfafe60dd69e9d71b522dd48738bf576485d593635e73b31596f63059bee013eaf543a66d4c39d9c +DIST wmbutton-buttons.xpm 25003 SHA256 357de6947c75339ed8156bd09287f82ef46dad22d16b1c82f7bbce12fd287318 SHA512 eb73812b8a4060a6bb13a477275224a2e6d50f7b77944f2f674c4995e0053f3d3c667d483c86dda98b69f398fd332e4c836ddf9eb3410e1e29b69449b874537c WHIRLPOOL ddc743a8d689ae46a44515e39531acc63a39534cbbf96184e6fa7e243dd1cee253ca10da65aec03391e6b6a92ddad72826bb1be56c6a301a786e90beddc4ba5f +EBUILD wmbutton-0.7.0.ebuild 904 SHA256 05e8b26a06ceb11a0cdd5d4e10e58e851526886bb8bd23138c39ddc402d267b6 SHA512 22320689ce1dc9a6c916ad2ca0d2a0ce61adf1fcfcf994f868836c092c73474b0deb6a211fea27e39923b5aa086ad7fb5ccbe5cccfd363d99cd9eaaa4b7d9bd1 WHIRLPOOL 453784b01ffa76903b4918eb0b0f31011aabd646b22be3e8f6dbc7ddacb42e1796d0850be8677a3864898c32c9884f1b9f10c50dd198a243bb1ae08c3e654fcf +EBUILD wmbutton-0.7.1.ebuild 468 SHA256 7f84af8fce3defd1bca79003ba0052b78411cb68fa5fb5caa3754af5252aafad SHA512 73ea92be23dd1fe0f76115add1be04e30ccc4f350c26abd69cda2806813df36e8a08430ee0cb09e0ba1d6341cfddf5d52767c60790c86053a2289d2fafe1e0a9 WHIRLPOOL 37da81c6a2bdc6d9becbb43edaa0b6788ab8470df0b929c8a2c5e4bbb8abf9d782b1b935a4459c7ff605bcf5466d379146f170270295c19dba7920e9323c09b4 +MISC ChangeLog 3745 SHA256 df07177a248058e565d14a0f3dd1d1ebd43fbe4f56ef873771a779e10bf6f14d SHA512 ef6644071339429dcd7e9bed1a15ae92439bcf395b300d26e491b18c2b2d69a07b26a953fd3e01ae967e6becace4968f92687b860eb48f0c8dfafbf62adea2bf WHIRLPOOL d06d1d865c8f78e865373177ad7687e235930671bd6bedc2e0daa0c7187521cdad778e2d6b70b940981d39dc1149f7b37e6c2d6994efa3b59d2ef0b6826381b1 +MISC ChangeLog-2015 2657 SHA256 8d459a5027c60017cd437ce53aa9c88ed908904074e81c171d94d12cc69dbba3 SHA512 cfee2824c4dba3f62e0fa204028aeeea528e81569451b0e50f8f08a31582a4df6dac5c45e35d9ff0f238c9e3ca36d06d4aaa7bec666c5c5186ae595ddbfa40bf WHIRLPOOL c8ff8bdca1450b3365a815329d8086dab236e668f0f8007b909dbb5fb865fa5157b9c45c0bc1c2e560b2fe55dfef7a76667bbdcf73ca6e9b779c669708d35163 +MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d diff --git a/x11-plugins/wmbutton/files/sample.wmbutton b/x11-plugins/wmbutton/files/sample.wmbutton new file mode 100644 index 000000000000..a4177a24e081 --- /dev/null +++ b/x11-plugins/wmbutton/files/sample.wmbutton @@ -0,0 +1,43 @@ +# Buttons are numbered as follows +# Left 1 2 3 Middle 11 12 13 Right 21 22 23 +# button 4 5 6 button 14 15 16 button 24 25 26 +# 7 8 9 17 18 19 27 28 29 +# + +1 mozilla & +11 firefox & +21 opera & + +2 evolution & +12 mozilla -mail & +22 gftp & + +3 xterm -T 'xterm' & +13 Eterm -T 'Eterm' & +23 aterm -T 'Aterm' & + +4 psi & +14 gaim & +24 kadu & + +5 gentoo & +15 xterm -T 'Midnight Commander' -e mc & +25 xffm & + +6 ooffice & +16 gnumeric & +26 acroread & + +7 xmms & +17 gmplayer & +27 audacity & + +8 gimp-2.0 & +18 sodipodi & +28 kpaint & + +9 kghostview & +19 ggv & +29 xpdf & +# The above don't need to be in any particular order. +# Repeated entries should be ignored diff --git a/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch b/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch new file mode 100644 index 000000000000..f9197842b44a --- /dev/null +++ b/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch @@ -0,0 +1,26 @@ +--- Makefile.orig 2014-10-06 15:20:41.300883734 +0200 ++++ Makefile 2014-10-06 15:22:08.936939085 +0200 +@@ -1,6 +1,6 @@ + INCLUDES =-I/usr/include -I/usr/local/include +-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib + LIBS = -lX11 -lXpm -lXext ++CC = gcc + + TARGET = wmbutton + OBJECTS = wmbutton.o wmb_libs.o +@@ -14,13 +14,11 @@ + INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 + INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 + +-CFLAGS += -Wall -O2 +- + .c.o: +- gcc -c ${CFLAGS} ${INCLUDES} $< -o $*.o ++ ${CC} -c ${CFLAGS} ${INCLUDES} $< -o $*.o + + ${TARGET}: ${OBJECTS} +- gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS} ++ ${CC} ${LDFLAGS} ${OBJECTS} ${LIBS} -o ${TARGET} + + clean:: + for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done diff --git a/x11-plugins/wmbutton/metadata.xml b/x11-plugins/wmbutton/metadata.xml new file mode 100644 index 000000000000..1d5e6504004e --- /dev/null +++ b/x11-plugins/wmbutton/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> +</maintainer> + +</pkgmetadata> diff --git a/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild b/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild new file mode 100644 index 000000000000..cd89ddf786b0 --- /dev/null +++ b/x11-plugins/wmbutton/wmbutton-0.7.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a dockapp application that displays nine configurable buttons" +HOMEPAGE="http://www.dockapps.net/wmbutton" +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz + branding? ( mirror://gentoo/${PN}-buttons.xpm )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="branding" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xextproto + x11-proto/xproto" + +S=${WORKDIR}/dockapps + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch + use branding && cp "${DISTDIR}"/${PN}-buttons.xpm buttons.xpm +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + dodoc README + use branding && dodoc "${FILESDIR}"/sample.wmbutton + use branding || dodoc sample.wmbutton +} diff --git a/x11-plugins/wmbutton/wmbutton-0.7.1.ebuild b/x11-plugins/wmbutton/wmbutton-0.7.1.ebuild new file mode 100644 index 000000000000..081ca01c1b1b --- /dev/null +++ b/x11-plugins/wmbutton/wmbutton-0.7.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="a dockapp application that displays nine configurable buttons" +HOMEPAGE="http://www.dockapps.net/wmbutton" +SRC_URI="http://www.dockapps.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="branding" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-proto/xproto" |