summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmmixer
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmmixer')
-rw-r--r--x11-plugins/wmmixer/Manifest1
-rw-r--r--x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch34
-rw-r--r--x11-plugins/wmmixer/metadata.xml5
-rw-r--r--x11-plugins/wmmixer/wmmixer-1.7.ebuild38
4 files changed, 78 insertions, 0 deletions
diff --git a/x11-plugins/wmmixer/Manifest b/x11-plugins/wmmixer/Manifest
new file mode 100644
index 000000000000..2061eae73791
--- /dev/null
+++ b/x11-plugins/wmmixer/Manifest
@@ -0,0 +1 @@
+DIST wmmixer_1.7.orig.tar.gz 24916 SHA256 ee4ae77130dddeb8eb26d00fbbe879f09e1542d3cf8a3e713d8f8f8a91f4aecd SHA512 81e32a821df423aff4ee0eef8c1dbd7a8302f0f43f3a6cfec3fd71b26dfca536ae2f8e0313404976eb21c217724e074eed9bf40c67360f28e901d4265580a1e4 WHIRLPOOL 9baa5ae9c4b9b23836346539ef9fd70a494d45c0a583986b6572efe98e0ff036b67681da39f95fa344f7c3ab32dc8e1c24a6cdcf2f56c33157c828e367834b97
diff --git a/x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch b/x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch
new file mode 100644
index 000000000000..feb03166dddd
--- /dev/null
+++ b/x11-plugins/wmmixer/files/wmmixer-1.7-respect_flags.patch
@@ -0,0 +1,34 @@
+--- Makefile.orig 2012-08-21 11:03:31.028266807 +0200
++++ Makefile 2012-08-21 11:05:06.808876995 +0200
+@@ -1,19 +1,12 @@
+ # $Id$
+
+-prefix = /usr/local
++prefix = /usr
+ exec_prefix = ${prefix}
+ bindir = ${exec_prefix}/bin
+ mandir = ${prefix}/share/man
+
+-DESTDIR =
+-
+-CXX = g++
+-CXXFLAGS = -O -Wall
+-EXTRA_LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext
+-
+-
+-LD = g++
+-LDFLAGS = -o $(EXECUTABLE) $(CXXFLAGS)
++CXX ?= g++
++LIBS = -lX11 -lXpm -lXext
+
+ EXECUTABLE = wmmixer
+ OBJS = xhandler.o mixctl.o wmmixer.o exception.o
+@@ -26,7 +19,7 @@
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+
+ $(EXECUTABLE): $(OBJS)
+- $(LD) $(LDFLAGS) $(OBJS) $(EXTRA_LIBDIRS) $(EXTRA_LIBS)
++ $(CXX) $(LDFLAGS) $(OBJS) $(LIBS) -o $(EXECUTABLE)
+
+ all: $(EXECUTABLE)
+
diff --git a/x11-plugins/wmmixer/metadata.xml b/x11-plugins/wmmixer/metadata.xml
new file mode 100644
index 000000000000..a03f5d8b381b
--- /dev/null
+++ b/x11-plugins/wmmixer/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-dock</herd>
+</pkgmetadata>
diff --git a/x11-plugins/wmmixer/wmmixer-1.7.ebuild b/x11-plugins/wmmixer/wmmixer-1.7.ebuild
new file mode 100644
index 000000000000..5004af75a55a
--- /dev/null
+++ b/x11-plugins/wmmixer/wmmixer-1.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A mixer designed for WindowMaker"
+HOMEPAGE="http://packages.qa.debian.org/w/wmmixer.html"
+SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~mips ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-respect_flags.patch
+}
+
+src_compile() {
+ emake CXX=$(tc-getCXX)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc CHANGES home.wmmixer README
+}