From 35693439e10baa31c98a2fdd64aeda090ff0b2d8 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 14:15:05 +0200
Subject: [PATCH 01/19] alsa: Convert to versionless bee files

---
 alsa-lib-1.0.23-0.bee => alsa-lib.be0         | 2 ++
 alsa-oss-1.0.17-0.bee => alsa-oss.be0         | 2 ++
 alsa-plugins-1.0.23-0.bee => alsa-plugins.be0 | 2 ++
 alsa-utils-1.0.23-0.bee => alsa-utils.be0     | 2 ++
 4 files changed, 8 insertions(+)
 rename alsa-lib-1.0.23-0.bee => alsa-lib.be0 (91%)
 rename alsa-oss-1.0.17-0.bee => alsa-oss.be0 (90%)
 rename alsa-plugins-1.0.23-0.bee => alsa-plugins.be0 (89%)
 rename alsa-utils-1.0.23-0.bee => alsa-utils.be0 (90%)

diff --git a/alsa-lib-1.0.23-0.bee b/alsa-lib.be0
similarity index 91%
rename from alsa-lib-1.0.23-0.bee
rename to alsa-lib.be0
index 9402df8a2..5c7d1fce0 100755
--- a/alsa-lib-1.0.23-0.bee
+++ b/alsa-lib.be0
@@ -1,5 +1,7 @@
 #!/bin/env beesh
 
+# BEE_VERSION alsa-lib-1.0.23-0
+
 SRCURL[0]="http://gd.tuwien.ac.at/opsys/linux/alsa/lib/alsa-lib-${PKGVERSION}.tar.bz2"
 
 PATCHURL[0]=""
diff --git a/alsa-oss-1.0.17-0.bee b/alsa-oss.be0
similarity index 90%
rename from alsa-oss-1.0.17-0.bee
rename to alsa-oss.be0
index f7b53bfe2..5d72aa86b 100755
--- a/alsa-oss-1.0.17-0.bee
+++ b/alsa-oss.be0
@@ -1,5 +1,7 @@
 #!/bin/env beesh
 
+# BEE_VERSION alsa-oss-1.0.17-0
+
 SRCURL[0]="ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-1.0.17.tar.bz2"
 
 PATCHURL[0]=""
diff --git a/alsa-plugins-1.0.23-0.bee b/alsa-plugins.be0
similarity index 89%
rename from alsa-plugins-1.0.23-0.bee
rename to alsa-plugins.be0
index e905a21ee..aa81c6750 100755
--- a/alsa-plugins-1.0.23-0.bee
+++ b/alsa-plugins.be0
@@ -1,5 +1,7 @@
 #!/bin/env beesh
 
+# BEE_VERSION alsa-plugins-1.0.23-0
+
 SRCURL[0]="ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.0.23.tar.bz2"
 
 PATCHURL[0]=""
diff --git a/alsa-utils-1.0.23-0.bee b/alsa-utils.be0
similarity index 90%
rename from alsa-utils-1.0.23-0.bee
rename to alsa-utils.be0
index 6722fc6a7..00125f84c 100755
--- a/alsa-utils-1.0.23-0.bee
+++ b/alsa-utils.be0
@@ -1,5 +1,7 @@
 #!/bin/env beesh
 
+# BEE_VERSION alsa-utils-1.0.23-0
+
 SRCURL[0]="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2"
 
 PATCHURL[0]=""

From c74e0e7924f34cde2f6ff0fa90ec7c575d5c3145 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 14:17:01 +0200
Subject: [PATCH 02/19] alsa-lib: Update from 1.0.23 to 1.1.2

Update to alsa-lib 1.1.2 released on August 2nd, 2016 [1].

*   Recreate the bee file with `bee init`.
*   Do not built any static libraries.

[1] http://www.alsa-project.org/main/index.php/Changes_v1.1.1_v1.1.2
---
 alsa-lib.be0 | 91 +++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 72 insertions(+), 19 deletions(-)

diff --git a/alsa-lib.be0 b/alsa-lib.be0
index 5c7d1fce0..fc03aa3a2 100755
--- a/alsa-lib.be0
+++ b/alsa-lib.be0
@@ -1,32 +1,85 @@
-#!/bin/env beesh
+#!/usr/bin/env beesh
 
-# BEE_VERSION alsa-lib-1.0.23-0
+# BEE_VERSION alsa-lib-1.1.2-0
 
-SRCURL[0]="http://gd.tuwien.ac.at/opsys/linux/alsa/lib/alsa-lib-${PKGVERSION}.tar.bz2"
+## this file was created by bee init and should be executed to build a
+## bee-package. (Additional hints are located at the end of this file.)
 
-PATCHURL[0]=""
+###############################################################################
+## The source URL(s) define the location of the sources that will be
+## downloaded. Version variables may be used to simplify reuse of this bee-file.
 
-PGRP=( uncategorized )
+SRCURL[0]="ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PKGVERSION}.tar.bz2"
 
+###############################################################################
+## Add URLs/pathes to patch files to the PATCHURL array.
+## The sources will be patched in the order of the array.
 
+# PATCHURL+=()
 
-# BEE_CONFIGURE=compat
+###############################################################################
+## Add filename patterns to the EXCLUDE array of files that should not
+## be added to you package but may be present in the image directory.
 
-# EXCLUDE=""
+# EXCLUDE+=()
 
-mee_patch() {
-    bee_patch
-}
+###############################################################################
+## Uncomment the next statement, if the software may not be able to be build
+## outside the source directory and need to be build inside the source
+## directory.
 
-mee_configure() {
-    bee_configure --enable-static
-}
+# build_in_sourcedir
 
-mee_build() {
-    bee_build
-}
+###############################################################################
+## bee cannot detect buildtypes specified in subdirectories.
+## Sometimes packages "hide" the real sources in a subdirectory named
+## 'src' or 'cmake' or ..
+## use 'sourcesubdir_append' to specify this directory if known.
 
-mee_install() {
-    bee_install
-}
+# sourcesubdir_append src
 
+
+###############################################################################
+## Change the default (auto-detected) steps to
+## extract, patch, configure/setup, build and install the software.
+## Make sure the mee_install function does install everything to the
+## image directory "${D}"
+
+#mee_extract() {
+#    bee_extract "${@}"
+#}
+
+#mee_patch() {
+#    bee_patch "${@}"
+#}
+
+#mee_configure() {
+#    bee_configure
+#}
+
+#mee_build() {
+#    bee_build
+#}
+
+#mee_install() {
+#    bee_install
+#}
+## by default this may be 'make install DESTDIR="${D}"'
+
+###############################################################################
+##
+## Additional hints:
+##
+## The name of this bee-file should follow the following naming convention:
+##     pkgname-pkgversion-pkgrevision.bee
+##
+## You may remove all comments as long as SRCURL[0] is set.
+##
+## Everything in this file will be executed in a bash environment.
+##
+## Build the package by executing
+##     './pkg-version-N.bee' or
+##     'beesh ./pkg-version-N.bee'
+##
+## see http://beezinga.org/
+##

From af9b0b9c553d7ce71c7233b0c306c69e9f9c2fcd Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:24:55 +0200
Subject: [PATCH 03/19] alsa-utils: Strip trailing whitespace

---
 alsa-utils.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-utils.be0 b/alsa-utils.be0
index 00125f84c..44f2102b4 100755
--- a/alsa-utils.be0
+++ b/alsa-utils.be0
@@ -20,7 +20,7 @@ mee_patch() {
 }
 
 mee_configure() {
-    bee_configure 
+    bee_configure
 }
 
 mee_build() {

From 3742e35c3197e044069502911890748e5723d309 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:26:28 +0200
Subject: [PATCH 04/19] alsa-utils: Remove blank line at end of file

---
 alsa-utils.be0 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/alsa-utils.be0 b/alsa-utils.be0
index 44f2102b4..cb115f1b6 100755
--- a/alsa-utils.be0
+++ b/alsa-utils.be0
@@ -30,4 +30,3 @@ mee_build() {
 mee_install() {
     bee_install
 }
-

From 4d995347e821396fadd22208a082f44e7d36744c Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:27:33 +0200
Subject: [PATCH 05/19] alsa-utils: Use `PKGVERSION` in URL

---
 alsa-utils.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-utils.be0 b/alsa-utils.be0
index cb115f1b6..93e3a1ee9 100755
--- a/alsa-utils.be0
+++ b/alsa-utils.be0
@@ -2,7 +2,7 @@
 
 # BEE_VERSION alsa-utils-1.0.23-0
 
-SRCURL[0]="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2"
+SRCURL[0]="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PKGVERSION}.tar.bz2"
 
 PATCHURL[0]=""
 

From d83d0a8e62efba6417c9123fc77acc55b9486b56 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:28:56 +0200
Subject: [PATCH 06/19] alsa-utils: Update version from 1.0.23 to 1.1.2

Update to alsa-utils 1.1.2 [1], released on August 2nd, 2016.

Recreate the bee file with `bee init`.

[1] http://www.alsa-project.org/main/index.php/Changes_v1.1.1_v1.1.2#alsa-utils
---
 alsa-utils.be0 | 91 +++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 72 insertions(+), 19 deletions(-)

diff --git a/alsa-utils.be0 b/alsa-utils.be0
index 93e3a1ee9..11438ec02 100755
--- a/alsa-utils.be0
+++ b/alsa-utils.be0
@@ -1,32 +1,85 @@
-#!/bin/env beesh
+#!/usr/bin/env beesh
 
-# BEE_VERSION alsa-utils-1.0.23-0
+# BEE_VERSION alsa-utils-1.1.2-0
+#
+## this file was created by bee init and should be executed to build a
+## bee-package. (Additional hints are located at the end of this file.)
+
+###############################################################################
+## The source URL(s) define the location of the sources that will be
+## downloaded. Version variables may be used to simplify reuse of this bee-file.
 
 SRCURL[0]="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PKGVERSION}.tar.bz2"
 
-PATCHURL[0]=""
+###############################################################################
+## Add URLs/pathes to patch files to the PATCHURL array.
+## The sources will be patched in the order of the array.
+
+# PATCHURL+=()
+
+###############################################################################
+## Add filename patterns to the EXCLUDE array of files that should not
+## be added to you package but may be present in the image directory.
+
+# EXCLUDE+=()
+
+###############################################################################
+## Uncomment the next statement, if the software may not be able to be build
+## outside the source directory and need to be build inside the source
+## directory.
+
+# build_in_sourcedir
+
+###############################################################################
+## bee cannot detect buildtypes specified in subdirectories.
+## Sometimes packages "hide" the real sources in a subdirectory named
+## 'src' or 'cmake' or ..
+## use 'sourcesubdir_append' to specify this directory if known.
 
-PGRP=( uncategorized )
+# sourcesubdir_append src
 
-B=${S}
 
+###############################################################################
+## Change the default (auto-detected) steps to
+## extract, patch, configure/setup, build and install the software.
+## Make sure the mee_install function does install everything to the
+## image directory "${D}"
 
-# BEE_CONFIGURE=compat
+#mee_extract() {
+#    bee_extract "${@}"
+#}
 
-# EXCLUDE=""
+#mee_patch() {
+#    bee_patch "${@}"
+#}
 
-mee_patch() {
-    bee_patch
-}
+#mee_configure() {
+#    bee_configure
+#}
 
-mee_configure() {
-    bee_configure
-}
+#mee_build() {
+#    bee_build
+#}
 
-mee_build() {
-    bee_build
-}
+#mee_install() {
+#    bee_install
+#}
+## by default this may be 'make install DESTDIR="${D}"'
 
-mee_install() {
-    bee_install
-}
+###############################################################################
+##
+## Additional hints:
+##
+## The name of this bee-file should follow the following naming convention:
+##     pkgname-pkgversion-pkgrevision.bee
+##
+## You may remove all comments as long as SRCURL[0] is set.
+##
+## Everything in this file will be executed in a bash environment.
+##
+## Build the package by executing
+##     './pkg-version-N.bee' or
+##     'beesh ./pkg-version-N.bee'
+##
+## see http://beezinga.org/
+##

From 51e7f1d0855a1eef26cd4dcb50b8f89ac5216b4d Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 17:37:12 +0200
Subject: [PATCH 07/19] alsa-plugins: Strip trailing whitespace

---
 alsa-plugins.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-plugins.be0 b/alsa-plugins.be0
index aa81c6750..ccafe5c84 100755
--- a/alsa-plugins.be0
+++ b/alsa-plugins.be0
@@ -19,7 +19,7 @@ mee_patch() {
 }
 
 mee_configure() {
-    bee_configure 
+    bee_configure
 }
 
 mee_build() {

From f8a53f4cc4a3e09456c2ee60301fc311f642d46a Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 17:37:26 +0200
Subject: [PATCH 08/19] alsa-plugins: Remove blank line at end of file

---
 alsa-plugins.be0 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/alsa-plugins.be0 b/alsa-plugins.be0
index ccafe5c84..79e66134f 100755
--- a/alsa-plugins.be0
+++ b/alsa-plugins.be0
@@ -29,4 +29,3 @@ mee_build() {
 mee_install() {
     bee_install
 }
-

From 0aacbfcbec66575392cb7838f4e1c79a7ff61a05 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 17:39:47 +0200
Subject: [PATCH 09/19] alsa-plugins: Use `PKGVERSION` in source URL

---
 alsa-plugins.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-plugins.be0 b/alsa-plugins.be0
index 79e66134f..806b5a6db 100755
--- a/alsa-plugins.be0
+++ b/alsa-plugins.be0
@@ -2,7 +2,7 @@
 
 # BEE_VERSION alsa-plugins-1.0.23-0
 
-SRCURL[0]="ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.0.23.tar.bz2"
+SRCURL[0]="ftp://ftp.alsa-project.org/pub/plugins/${PKGVERSION}.tar.bz2"
 
 PATCHURL[0]=""
 

From 5a6fd244f8a55447c71126cf773ef6d5fd52d125 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 18:12:01 +0200
Subject: [PATCH 10/19] alsa-plugins: Update version from 1.0.23 to 1.1.1

Update to alsa-plugins 1.1.1 [1], released on March 31st, 2016.

Recreate the bee file with `bee init`.

[1] http://www.alsa-project.org/main/index.php/Changes_v1.1.0_v1.1.1#alsa-plugins
---
 alsa-plugins.be0 | 92 ++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 73 insertions(+), 19 deletions(-)

diff --git a/alsa-plugins.be0 b/alsa-plugins.be0
index 806b5a6db..bcfe2e158 100755
--- a/alsa-plugins.be0
+++ b/alsa-plugins.be0
@@ -1,31 +1,85 @@
-#!/bin/env beesh
+#!/usr/bin/env beesh
 
-# BEE_VERSION alsa-plugins-1.0.23-0
+# BEE_VERSION alsa-plugins-1.1.1-0
 
-SRCURL[0]="ftp://ftp.alsa-project.org/pub/plugins/${PKGVERSION}.tar.bz2"
+## this file was created by bee init and should be executed to build a
+## bee-package. (Additional hints are located at the end of this file.)
 
-PATCHURL[0]=""
+###############################################################################
+## The source URL(s) define the location of the sources that will be
+## downloaded. Version variables may be used to simplify reuse of this bee-file.
 
-PGRP=( uncategorized )
+SRCURL[0]="ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-${PKGVERSION}.tar.bz2"
 
+###############################################################################
+## Add URLs/pathes to patch files to the PATCHURL array.
+## The sources will be patched in the order of the array.
 
+# PATCHURL+=()
 
-# BEE_CONFIGURE=compat
+###############################################################################
+## Add filename patterns to the EXCLUDE array of files that should not
+## be added to you package but may be present in the image directory.
 
-# EXCLUDE=""
+# EXCLUDE+=()
 
-mee_patch() {
-    bee_patch
-}
+###############################################################################
+## Uncomment the next statement, if the software may not be able to be build
+## outside the source directory and need to be build inside the source
+## directory.
 
-mee_configure() {
-    bee_configure
-}
+# build_in_sourcedir
 
-mee_build() {
-    bee_build
-}
+###############################################################################
+## bee cannot detect buildtypes specified in subdirectories.
+## Sometimes packages "hide" the real sources in a subdirectory named
+## 'src' or 'cmake' or ..
+## use 'sourcesubdir_append' to specify this directory if known.
 
-mee_install() {
-    bee_install
-}
+# sourcesubdir_append src
+
+
+###############################################################################
+## Change the default (auto-detected) steps to
+## extract, patch, configure/setup, build and install the software.
+## Make sure the mee_install function does install everything to the
+## image directory "${D}"
+
+#mee_extract() {
+#    bee_extract "${@}"
+#}
+
+#mee_patch() {
+#    bee_patch "${@}"
+#}
+
+#mee_configure() {
+#    bee_configure
+#}
+
+#mee_build() {
+#    bee_build
+#}
+
+#mee_install() {
+#    bee_install
+#}
+## by default this may be 'make install DESTDIR="${D}"'
+
+###############################################################################
+##
+## Additional hints:
+##
+## The name of this bee-file should follow the following naming convention:
+##     pkgname-pkgversion-pkgrevision.bee
+##
+## You may remove all comments as long as SRCURL[0] is set.
+##
+## Everything in this file will be executed in a bash environment.
+##
+## Build the package by executing
+##     './pkg-version-N.bee' or
+##     'beesh ./pkg-version-N.bee'
+##
+## see http://beezinga.org/
+##

From e9ee06b9a674ff85b30188aa20071e74a3630aa0 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 14:55:50 +0200
Subject: [PATCH 11/19] alsa-oss: Strip trailing whitespace

---
 alsa-oss.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-oss.be0 b/alsa-oss.be0
index 5d72aa86b..3050d1d7a 100755
--- a/alsa-oss.be0
+++ b/alsa-oss.be0
@@ -19,7 +19,7 @@ mee_patch() {
 }
 
 mee_configure() {
-    bee_configure 
+    bee_configure
 }
 
 mee_build() {

From 14805d4612559729b7765dc83b0c98dea7015b11 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 14:56:05 +0200
Subject: [PATCH 12/19] alsa-oss: Remove blank line at end of file

---
 alsa-oss.be0 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/alsa-oss.be0 b/alsa-oss.be0
index 3050d1d7a..912530769 100755
--- a/alsa-oss.be0
+++ b/alsa-oss.be0
@@ -29,4 +29,3 @@ mee_build() {
 mee_install() {
     bee_install
 }
-

From 83af7b02d66140f2389d3f95fcfd39eb6e351387 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:10:12 +0200
Subject: [PATCH 13/19] alsa-oss: Use `PKGVERSION` in source URL

---
 alsa-oss.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alsa-oss.be0 b/alsa-oss.be0
index 912530769..ea6c5e101 100755
--- a/alsa-oss.be0
+++ b/alsa-oss.be0
@@ -2,7 +2,7 @@
 
 # BEE_VERSION alsa-oss-1.0.17-0
 
-SRCURL[0]="ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-1.0.17.tar.bz2"
+SRCURL[0]="ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PKGVERSION}.tar.bz2"
 
 PATCHURL[0]=""
 

From 15441f843fc0cb7ad7091a2211033c79953cdc5e Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:12:01 +0200
Subject: [PATCH 14/19] alsa-oss: Update from 1.0.17 to 1.0.28

Update to alsa-oss 1.0.28 [1], released on June 17th, 2014.

Recreate the bee file with `bee init`.

[1] http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28#alsa-oss
---
 alsa-oss.be0 | 90 +++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 72 insertions(+), 18 deletions(-)

diff --git a/alsa-oss.be0 b/alsa-oss.be0
index ea6c5e101..2fe07b29c 100755
--- a/alsa-oss.be0
+++ b/alsa-oss.be0
@@ -1,31 +1,85 @@
-#!/bin/env beesh
+#!/usr/bin/env beesh
 
-# BEE_VERSION alsa-oss-1.0.17-0
+# BEE_VERSION alsa-oss-1.0.28-0
+
+## this file was created by bee init and should be executed to build a
+## bee-package. (Additional hints are located at the end of this file.)
+
+###############################################################################
+## The source URL(s) define the location of the sources that will be
+## downloaded. Version variables may be used to simplify reuse of this bee-file.
 
 SRCURL[0]="ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PKGVERSION}.tar.bz2"
 
-PATCHURL[0]=""
+###############################################################################
+## Add URLs/pathes to patch files to the PATCHURL array.
+## The sources will be patched in the order of the array.
+
+# PATCHURL+=()
+
+###############################################################################
+## Add filename patterns to the EXCLUDE array of files that should not
+## be added to you package but may be present in the image directory.
+
+# EXCLUDE+=()
+
+###############################################################################
+## Uncomment the next statement, if the software may not be able to be build
+## outside the source directory and need to be build inside the source
+## directory.
+
+# build_in_sourcedir
+
+###############################################################################
+## bee cannot detect buildtypes specified in subdirectories.
+## Sometimes packages "hide" the real sources in a subdirectory named
+## 'src' or 'cmake' or ..
+## use 'sourcesubdir_append' to specify this directory if known.
 
-PGRP=( uncategorized )
+# sourcesubdir_append src
 
 
+###############################################################################
+## Change the default (auto-detected) steps to
+## extract, patch, configure/setup, build and install the software.
+## Make sure the mee_install function does install everything to the
+## image directory "${D}"
 
-# BEE_CONFIGURE=compat
+#mee_extract() {
+#    bee_extract "${@}"
+#}
 
-# EXCLUDE=""
+#mee_patch() {
+#    bee_patch "${@}"
+#}
 
-mee_patch() {
-    bee_patch
-}
+#mee_configure() {
+#    bee_configure
+#}
 
-mee_configure() {
-    bee_configure
-}
+#mee_build() {
+#    bee_build
+#}
 
-mee_build() {
-    bee_build
-}
+#mee_install() {
+#    bee_install
+#}
+## by default this may be 'make install DESTDIR="${D}"'
 
-mee_install() {
-    bee_install
-}
+###############################################################################
+##
+## Additional hints:
+##
+## The name of this bee-file should follow the following naming convention:
+##     pkgname-pkgversion-pkgrevision.bee
+##
+## You may remove all comments as long as SRCURL[0] is set.
+##
+## Everything in this file will be executed in a bash environment.
+##
+## Build the package by executing
+##     './pkg-version-N.bee' or
+##     'beesh ./pkg-version-N.bee'
+##
+## see http://beezinga.org/
+##

From 8cd733447e8ba4a75fdf92efda4e59bb857090a7 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Wed, 22 Jun 2016 18:06:01 +0200
Subject: [PATCH 15/19] json-c: Update version from 0.9 to 0.12.1

PulseAudio depends on a json-c version greater than or equal 0.11.
---
 json-c-0.12.1-0.bee | 84 +++++++++++++++++++++++++++++++++++++++++++++
 json-c-0.9-0.bee    | 37 --------------------
 2 files changed, 84 insertions(+), 37 deletions(-)
 create mode 100755 json-c-0.12.1-0.bee
 delete mode 100755 json-c-0.9-0.bee

diff --git a/json-c-0.12.1-0.bee b/json-c-0.12.1-0.bee
new file mode 100755
index 000000000..ad80cfc6a
--- /dev/null
+++ b/json-c-0.12.1-0.bee
@@ -0,0 +1,84 @@
+#!/usr/bin/env beesh
+
+## this file was created by bee init and should be executed to build a
+## bee-package. (Additional hints are located at the end of this file.)
+
+###############################################################################
+## The source URL(s) define the location of the sources that will be
+## downloaded. Version variables may be used to simplify reuse of this bee-file.
+
+SRCURL[0]="https://s3.amazonaws.com/json-c_releases/releases/json-c-${PKGVERSION}.tar.gz"
+
+###############################################################################
+## Add URLs/pathes to patch files to the PATCHURL array.
+## The sources will be patched in the order of the array.
+
+# PATCHURL+=()
+
+###############################################################################
+## Add filename patterns to the EXCLUDE array of files that should not
+## be added to you package but may be present in the image directory.
+
+# EXCLUDE+=()
+
+###############################################################################
+## Uncomment the next statement, if the software may not be able to be build
+## outside the source directory and need to be build inside the source
+## directory.
+
+# build_in_sourcedir
+
+###############################################################################
+## bee cannot detect buildtypes specified in subdirectories.
+## Sometimes packages "hide" the real sources in a subdirectory named
+## 'src' or 'cmake' or ..
+## use 'sourcesubdir_append' to specify this directory if known.
+
+# sourcesubdir_append src
+
+
+###############################################################################
+## Change the default (auto-detected) steps to
+## extract, patch, configure/setup, build and install the software.
+## Make sure the mee_install function does install everything to the
+## image directory "${D}"
+
+#mee_extract() {
+#    bee_extract "${@}"
+#}
+
+mee_patch() {
+    bee_patch "${@}"
+    sed -i s/-Werror// Makefile.in
+}
+
+mee_configure() {
+    bee_configure --disable-static
+}
+
+#mee_build() {
+#    bee_build
+#}
+
+#mee_install() {
+#    bee_install
+#}
+## by default this may be 'make install DESTDIR="${D}"'
+
+###############################################################################
+##
+## Additional hints:
+##
+## The name of this bee-file should follow the following naming convention:
+##     pkgname-pkgversion-pkgrevision.bee
+##
+## You may remove all comments as long as SRCURL[0] is set.
+##
+## Everything in this file will be executed in a bash environment.
+##
+## Build the package by executing
+##     './pkg-version-N.bee' or
+##     'beesh ./pkg-version-N.bee'
+##
+## see http://beezinga.org/
+##
diff --git a/json-c-0.9-0.bee b/json-c-0.9-0.bee
deleted file mode 100755
index 8aaff216a..000000000
--- a/json-c-0.9-0.bee
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env beesh
-
-SRCURL[0]="http://oss.metaparadigm.com/json-c/json-c-${PKGVERSION}.tar.gz"
-
-PATCHURL[0]="http://pkgs.fedoraproject.org/gitweb/?p=json-c.git;a=blob_plain;f=json-c-add-json_tokener_parse_verbose-and-return-NULL-on-pa.patch;hb=82503f999cd2400ef659d8fb64765d106147de68 json-c-add-json_tokener_parse_verbose-and-return-NULL-on-pa.patch"
-
-# BEE_CONFIGURE=compat
-
-# BEE_BUILDTYPE=
-
-# EXCLUDE=""
-
-# build_in_sourcedir
-
-
-
-
-
-#mee_extract() {
-#    bee_extract "${@}"
-#}
-
-#mee_patch() {
-#    bee_patch "${@}"
-#}
-
-#mee_configure() {
-#    bee_configure 
-#}
-
-#mee_build() {
-#    bee_build
-#}
-
-#mee_install() {
-#    bee_install
-#}

From 8fefb1e963e906e4c422f6a5f7d31ea75af8fa9a Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Tue, 9 Aug 2016 11:58:43 +0200
Subject: [PATCH 16/19] json-c: Convert to versionless bee file

---
 json-c-0.12.1-0.bee => json-c.be0 | 2 ++
 1 file changed, 2 insertions(+)
 rename json-c-0.12.1-0.bee => json-c.be0 (98%)

diff --git a/json-c-0.12.1-0.bee b/json-c.be0
similarity index 98%
rename from json-c-0.12.1-0.bee
rename to json-c.be0
index ad80cfc6a..55f9f80d0 100755
--- a/json-c-0.12.1-0.bee
+++ b/json-c.be0
@@ -1,5 +1,7 @@
 #!/usr/bin/env beesh
 
+# BEE_VERSION json-c-0.12.1-0
+
 ## this file was created by bee init and should be executed to build a
 ## bee-package. (Additional hints are located at the end of this file.)
 

From 8151093f413bf5a1d7d4b77bda0315779ebe8671 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:36:59 +0200
Subject: [PATCH 17/19] pulseaudio: Strip trailing whitespace

---
 pulseaudio-1.1-0.bee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulseaudio-1.1-0.bee b/pulseaudio-1.1-0.bee
index c504332b0..c9530f006 100755
--- a/pulseaudio-1.1-0.bee
+++ b/pulseaudio-1.1-0.bee
@@ -25,7 +25,7 @@ PATCHURL[0]=""
 #}
 
 #mee_configure() {
-#    bee_configure 
+#    bee_configure
 #}
 
 #mee_build() {

From a77bb86b98fe864cca69ebb507290fc266e49979 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:39:39 +0200
Subject: [PATCH 18/19] pulseaudio: Convert to versionless bee file

---
 pulseaudio-1.1-0.bee => pulseaudio.be0 | 2 ++
 1 file changed, 2 insertions(+)
 rename pulseaudio-1.1-0.bee => pulseaudio.be0 (92%)

diff --git a/pulseaudio-1.1-0.bee b/pulseaudio.be0
similarity index 92%
rename from pulseaudio-1.1-0.bee
rename to pulseaudio.be0
index c9530f006..1a4cbc37d 100755
--- a/pulseaudio-1.1-0.bee
+++ b/pulseaudio.be0
@@ -1,5 +1,7 @@
 #!/usr/bin/env beesh
 
+# BEE_VERSION pulseaudio-1.1-0
+
 SRCURL[0]="http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PKGVERSION}.tar.xz"
 
 PATCHURL[0]=""

From c2560edfd0012e894393e3633a120e19d5a3ac84 Mon Sep 17 00:00:00 2001
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Fri, 5 Aug 2016 15:42:00 +0200
Subject: [PATCH 19/19] pulseaudio: Update version from 1.1 to 9.0

Update to PulseAudio 9.0, released on June 22nd, 2016 [1].

Firefox and VLC still play sound.

[1] https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/9.0/
---
 pulseaudio.be0 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulseaudio.be0 b/pulseaudio.be0
index 1a4cbc37d..65c14d56d 100755
--- a/pulseaudio.be0
+++ b/pulseaudio.be0
@@ -1,6 +1,6 @@
 #!/usr/bin/env beesh
 
-# BEE_VERSION pulseaudio-1.1-0
+# BEE_VERSION pulseaudio-9.0-0
 
 SRCURL[0]="http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PKGVERSION}.tar.xz"