diff options
Diffstat (limited to 'x11-misc/mixer_app')
-rw-r--r-- | x11-misc/mixer_app/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch | 44 | ||||
-rw-r--r-- | x11-misc/mixer_app/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/mixer_app/mixer_app-1.8.0.ebuild | 36 |
4 files changed, 94 insertions, 0 deletions
diff --git a/x11-misc/mixer_app/Manifest b/x11-misc/mixer_app/Manifest new file mode 100644 index 000000000000..fcf954126e96 --- /dev/null +++ b/x11-misc/mixer_app/Manifest @@ -0,0 +1,6 @@ +AUX mixer_app-1.8.0-build.patch 1018 SHA256 97c1aa5d41cd8b340aaf724a5c1c9c33a2f5a5ccf13c4cd49d96e7fb6b3e7f97 SHA512 3d0146efd88070b803b14434c93baaa635f54f10324155cdfcf08555cac11f655d40b257bde6e25f83f04d96a63da66895d8460d4bc6b9211c1cb9956b199602 WHIRLPOOL 105bd28cbaf3956e72fd083f0052dc2d78d64b8b3548e60552d36f63eb5c0c41ff0ef1db9a44d8bfe09211989e845e998e3062d0836f8a5f0433f93750126cfa +DIST Mixer.app-1.8.0.tar.gz 37884 SHA256 223c08d91fd7930d6a97cea376b99fb0118cdea12406c7d62d17d38276b4dd15 SHA512 2b965cefda7ae93d8588b717becf25430f3dc5d1d6c3e38d24eac711999ced9c671cfdc76a0601022cf1fc7298d179b5780ce7a3bcf33291ac4d8ea215cd53f1 WHIRLPOOL 7e2002e276b89a530be595c1b84dadd7af3c4dce234c799bc8faa0d9d2d9447d86307fd5b963227e050abfc2849d4584eb258e6795877545130bd0e23be6158f +EBUILD mixer_app-1.8.0.ebuild 686 SHA256 20cc1a3b2e4f3a24eb2aed924fb814a17e1f0c7d08fb3674d74e0869d64eb1b3 SHA512 ea53132616dbae214411afe7b830dddca09d2a60bbae5afba737aa840934b17d98ce849daff2bef8ff55617cce2196d14c808e6bd583b27aa13c35b8fa5bd853 WHIRLPOOL e001a9c646c2716a7f821ad19c20fe15eb7636ccbf86d1e9d14a0b53d53c821880759bdd246a3224f3ca98025fd09f6e55b80877619c7cf526bf248a3e45b1c5 +MISC ChangeLog 2927 SHA256 dcfc2d3f7b81ef3c46326a00249a3ca219a90663eb512726fe24c6a674a4f6c4 SHA512 3113a490d533c2c48ca6d74bd9363eea295f40eb76150ab904bc75acfde56b9c6820e70481150b5e5752d3a0fc2dd2f34436f2518874f31fd1d906cd065029cd WHIRLPOOL 2b6433eaf3bac575f3986859bcd35d3549ca847370ae2f06f51bdec653174618c2f39c869f528034e533d091f0424030bc8bdace3b2d1a28cdb2e20440b38d15 +MISC ChangeLog-2015 2516 SHA256 0e4f485d723ebcff2ae286930de0abcf87611b3d7101c73f3bc8c6793d667015 SHA512 b11580159b5598bf23990e8d5d1fda8f2a67020821688e48c7851313a52735d976f60846927e9b973b10b22efbcd97a5fef045997ee126f53568372d6846a470 WHIRLPOOL 31df1d61a5ce829664da1129b6cdc5439a461c2260bc01e70891ccdd7d12d74fed8eab8914944158af31fa9d61817f130271fddc468742d9f91b8a8eb6292a6a +MISC metadata.xml 252 SHA256 f09077829bd604b153aecd586b23fe39af2279d2b5871eb74391c7b7e9496404 SHA512 6a56c24e3731dd9512fa264d3dce1fe36ace891a17394c483586e0be1fffd153e901228d3ee9c471a226b04cec27d3f78ed2de491e46238de4b06538dab7e724 WHIRLPOOL 5da21d058640f220853befb609832550c9078b8879264a87ffb4b845b89e557ae43f04975c4e7b65531b2b843f6a6cd5b139648b72574b555e8cf6610ffd610e diff --git a/x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch b/x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch new file mode 100644 index 000000000000..f36ea6e78ec6 --- /dev/null +++ b/x11-misc/mixer_app/files/mixer_app-1.8.0-build.patch @@ -0,0 +1,44 @@ +--- Makefile ++++ Makefile +@@ -2,32 +2,24 @@ + # Mixer.app Makefile + # + +-DESTDIR = +-GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/Mixer.app +-X11_BINDIR = /usr/X11R6/bin +- +-CXX=c++ +-CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include +-LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11 ++BINDIR = /usr/bin ++ ++CXX ?= g++ ++CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions ++LIBS = -lXpm -lXext -lX11 + + OBJECTS = Main.o Mixer.o Xpm.o + + all: Mixer.app + + Mixer.app: $(OBJECTS) +- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS) ++ $(CXX) $(LDFLAGS) $(OBJECTS) -o $@ $(LIBS) + + .PHONY: install clean distclean + +-install: install-gnustep +- +-install-gnustep: all +- install -d $(DESTDIR)$(GNUSTEP_BINDIR) +- install -m 0755 Mixer.app $(DESTDIR)$(GNUSTEP_BINDIR)/Mixer +- +-install-x11: all +- install -d $(DESTDIR)$(X11_BINDIR) +- install -m 0755 Mixer.app $(DESTDIR)$(X11_BINDIR)/Mixer.app ++install: all ++ install -d $(DESTDIR)$(BINDIR) ++ install -m 0755 Mixer.app $(DESTDIR)$(BINDIR)/Mixer.app + + clean: + rm -f *~ *.o diff --git a/x11-misc/mixer_app/metadata.xml b/x11-misc/mixer_app/metadata.xml new file mode 100644 index 000000000000..7d273a80ff68 --- /dev/null +++ b/x11-misc/mixer_app/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 type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> +</pkgmetadata> diff --git a/x11-misc/mixer_app/mixer_app-1.8.0.ebuild b/x11-misc/mixer_app/mixer_app-1.8.0.ebuild new file mode 100644 index 000000000000..256f6968c369 --- /dev/null +++ b/x11-misc/mixer_app/mixer_app-1.8.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit eutils toolchain-funcs + +MY_P=Mixer.app-${PV} + +DESCRIPTION="mixer_app has volume controllers that can be configured to handle sound sources" +HOMEPAGE="http://www.fukt.bsnet.se/~per/mixer/" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/os-headers + x11-proto/xextproto" + +S=${WORKDIR}/${MY_P} + +DOCS="ChangeLog README" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CXX + emake +} |