[weasel-commit] Source: esound=0.2.41-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Mon, 28 Jun 2010 15:11:36 -0400

================================
esound:source=0.2.41-1
cvc rdiff esound -1 /weasel.rpath.org@wgl:3-devel/0.2.41-1
================================
0.2.41-1 Filip Brcic (brcha@xxxxxxxxxxxx) Mon Jun 28 15:11:28 2010
    Automatic promote by rBuild.

esound-0.2.41.tar.bz2: new
esound.recipe: new
--- /dev/null
+++ esound.recipe
@@ -0,0 +38 @@
+#
+# Copyright (c) 2004-2007 rPath, Inc.
+# This file is distributed under the terms of the MIT License.
+# A copy is available at http://www.rpath.com/permanent/mit-license.html
+#
+
+loadSuperClass('gnomepackage')
+class Esound(GnomePackageRecipe):
+    name = 'esound'
+    version = '0.2.41'
+
+    buildRequires = [ 'audiofile:devel', 'alsa-lib:devel', 
'tcp_wrappers:devel', ]
+
+    buildMultiarch = True
+
+    if Arch.x86_64:
+        buildRequires.extend(['multiarch_wrapper:runtime'])
+
+    extraConfig = '--with-libwrap'
+
+    if Use.builddocs:
+        buildRequires.extend(['docbook-utils:runtime', 'docbook-dsssl:data'])
+    else:
+        GnomePackageRecipe.makeArgs += ' SUBDIRS="" ' # Skip docs.
+        GnomePackageRecipe.makeInstallArgs += ' SUBDIRS="" ' # Skip docs.
+
+    docs = ['TIPS', 'docs/esound.sgml']
+
+    def post32bit(r):
+        r.Move('%(bindir)s/esd-config', '%(bindir)s/esd-config-32')
+        r.ComponentSpec('devel', '%(bindir)s/esd-config-32')
+        
+    def policy(r):
+        if Arch.x86_64:
+            r.Move('%(bindir)s/esd-config', '%(bindir)s/esd-config-64')
+            r.ComponentSpec('devel', '%(bindir)s/esd-config-64')
+            r.Symlink('%(bindir)s/multiarch_wrapper', '%(bindir)s/esd-config')
+            r.DanglingSymlinks(exceptions='%(bindir)s/esd-config')


Committed by: brcha

Other related posts:

  • » [weasel-commit] Source: esound=0.2.41-1 - rbuilder