summaryrefslogtreecommitdiff
path: root/media-sound/alsamixer-app
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 /media-sound/alsamixer-app
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/alsamixer-app')
-rw-r--r--media-sound/alsamixer-app/Manifest6
-rw-r--r--media-sound/alsamixer-app/alsamixer-app-0.1.ebuild41
-rw-r--r--media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch32
-rw-r--r--media-sound/alsamixer-app/metadata.xml14
4 files changed, 93 insertions, 0 deletions
diff --git a/media-sound/alsamixer-app/Manifest b/media-sound/alsamixer-app/Manifest
new file mode 100644
index 000000000000..af3682c217ac
--- /dev/null
+++ b/media-sound/alsamixer-app/Manifest
@@ -0,0 +1,6 @@
+AUX alsamixer-app-0.1-Makefile.patch 964 SHA256 d5d752ab82a0b93747d16994ebeb0f515f1114b6d749764df7584758bc599cff SHA512 105ef485de8339760608f9b95ff9ffc5059deff3f63d02c5ab4a82e7957e9cf52e878a35a06d58e5e4ed6bb73e074c22f977ec68afb8ab11703690e67c541a2f WHIRLPOOL 41eae2edc041fc3c0ec295caa111b88fed052ac6875392c44e7658c9a3e57dee2784c7465d0801373635bfd7788898ab2f10fa6b121dda5813e6202712e6ec38
+DIST AlsaMixer.app-0.1.tar.gz 26939 SHA256 7d55d3ba5ffd82bcddcb546e0aa33ab8638df5d1418aa170e91c42e35c0c8c15 SHA512 48f741c578b51a10d2bcaac375be07d9c2ed705c876fa17d69565b41ade6dc28e72af1509b7d817b452199e8ad60f4e24b78565c134b90ac7f29623b89765e24 WHIRLPOOL 4acee1f506b7a0b0b0ffb08f4b5d4458ff504d4416cf27e882170a849d4e30660583645284ec1985353182e2ffa1c31daee8164199185053904a01b2eaceb176
+EBUILD alsamixer-app-0.1.ebuild 794 SHA256 6e1135156010864841613d9dd74e9f99f8552fd2e92b13b53a75aa77589f42ed SHA512 d47b2654c451bdddb838400cbcf4411e1c6f4a38ab390368a667bbc0345a709027df69483375e77af92aabe824834444f0bc70fd8dad5c0e853a7961fcbb3583 WHIRLPOOL 6788f4a5020c2e51882fb89d575aa160aecb4e74f2c0d8cd1b6ec8096edc0e647a9378addfed6954c1506416b129cdf4b928c20e0adffa24a955edf7ad440235
+MISC ChangeLog 2945 SHA256 732db69c293e6b97b5f8f6f5bfefb1a39b7c94e58c4890a40fe559497d19f5e2 SHA512 38bd56b17b393498c83b06f4101916d2a58f53617587c10ef303e90a2b027b725928548903557e33b6be6d7831b23ffbba154fc60c0ba015be4a689c3f6aa94e WHIRLPOOL ca721863653d12b1c1c12048df2b396b33f7247cf6671d6b0f3308a794016cc840800444f296fa921e303555c8dd0e85ef2c50b3830d78790004bb991157f144
+MISC ChangeLog-2015 638 SHA256 813f561906080067f07b2d44d6527952d2b7dc00fa471eca00e9d3705f3e01d9 SHA512 0792966d4c7f2f32443c606bca7700c67a6470726775657979356e8700f6e692f364ceb531a0c57753fa5b89b97fe997dc6789cb87970193cdb5c3055821c4bc WHIRLPOOL 974717cb3e9b9208d7d618edc5988d8e62f0cb6e842359a20b1a11e25f70cb22b6e775356d07129f1d12f9a60f66e07c7dd0feda4b0825d8bd4cadab6e59f54b
+MISC metadata.xml 360 SHA256 f05bc23e4c10f4dd3e7c9fb10f5b1246786c9ecc1934f778ed9c96534973a42f SHA512 94dbf40a7a9a38902608e108dedc3c6667e436e7b04c00a7bb4bc9d90d05a88e2f3275facf275709c181a9650f954d31fb97a5c24bd775cdd2277bfe4f84bae1 WHIRLPOOL f21729a2e5ef96cfe8900d4e4f048f17429e83ab85a4fdb9c854bbbf4bdf81d1663a10453f8356ad4de5125f62c786880fb33e8021f00d0fb7d7e4a53413dc9f
diff --git a/media-sound/alsamixer-app/alsamixer-app-0.1.ebuild b/media-sound/alsamixer-app/alsamixer-app-0.1.ebuild
new file mode 100644
index 000000000000..166a6d308791
--- /dev/null
+++ b/media-sound/alsamixer-app/alsamixer-app-0.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+MY_PN=AlsaMixer.app
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="AlsaMixer.app is a simple mixer dockapp"
+HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/253"
+SRC_URI="http://dockapps.windowmaker.org/download.php/id/517/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXext
+ media-libs/alsa-lib"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+}
+
+src_compile() {
+ tc-export CXX
+ emake || die "emake failed."
+}
+
+src_install() {
+ dobin ${MY_PN} || die "dobin failed."
+ dodoc README
+}
diff --git a/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch b/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch
new file mode 100644
index 000000000000..c260ad1c88bf
--- /dev/null
+++ b/media-sound/alsamixer-app/files/alsamixer-app-0.1-Makefile.patch
@@ -0,0 +1,32 @@
+diff -ur AlsaMixer.app-0.1.orig/Makefile AlsaMixer.app-0.1/Makefile
+--- AlsaMixer.app-0.1.orig/Makefile 2004-09-30 23:44:06.000000000 +0300
++++ AlsaMixer.app-0.1/Makefile 2008-06-28 08:40:28.000000000 +0300
+@@ -4,22 +4,22 @@
+
+ DESTDIR =
+ GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/AlsaMixer.app
+-X11_BINDIR = /usr/X11R6/bin
++X11_BINDIR = /usr/bin
+
+-CXX=c++
+-CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
+-LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11 -lasound
++CXX ?= g++
++CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions
++LIBS = -lXpm -lXext -lX11 -lasound
+
+ OBJECTS = Main.o Mixer.o Xpm.o AMixer/AMixer.o AMixer/AItem.o AMixer/AChannel.o
+
+ all: AlsaMixer.app
+
+ AlsaMixer.app: $(OBJECTS)
+- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
++ $(CXX) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
+
+ .PHONY: install clean distclean
+
+-install: install-gnustep
++install: install-x11
+
+ install-gnustep: all
+ install -d $(DESTDIR)$(GNUSTEP_BINDIR)
diff --git a/media-sound/alsamixer-app/metadata.xml b/media-sound/alsamixer-app/metadata.xml
new file mode 100644
index 000000000000..fa8d74ec580b
--- /dev/null
+++ b/media-sound/alsamixer-app/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+
+</pkgmetadata>