[arch-commits] Commit in (bmp-wma)

2013-01-27 Thread Pierre Schmitz
Date: Sunday, January 27, 2013 @ 17:09:27
  Author: pierre
Revision: 176131

extra2community: Moving bmp-wma from extra to community

Deleted:
  bmp-wma/



[arch-commits] Commit in bmp-wma/repos (6 files)

2013-01-27 Thread Pierre Schmitz
Date: Sunday, January 27, 2013 @ 17:09:09
  Author: pierre
Revision: 83124

archrelease: copy trunk to community-x86_64, community-i686

Added:
  bmp-wma/repos/community-i686/
  bmp-wma/repos/community-i686/PKGBUILD
(from rev 83123, bmp-wma/trunk/PKGBUILD)
  bmp-wma/repos/community-i686/bmp-wma-gcc4.patch
(from rev 83123, bmp-wma/trunk/bmp-wma-gcc4.patch)
  bmp-wma/repos/community-x86_64/
  bmp-wma/repos/community-x86_64/PKGBUILD
(from rev 83123, bmp-wma/trunk/PKGBUILD)
  bmp-wma/repos/community-x86_64/bmp-wma-gcc4.patch
(from rev 83123, bmp-wma/trunk/bmp-wma-gcc4.patch)

-+
 community-i686/PKGBUILD |   34 +++
 community-i686/bmp-wma-gcc4.patch   |   98 ++
 community-x86_64/PKGBUILD   |   34 +++
 community-x86_64/bmp-wma-gcc4.patch |   98 ++
 4 files changed, 264 insertions(+)

Copied: bmp-wma/repos/community-i686/PKGBUILD (from rev 83123, 
bmp-wma/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-01-27 16:09:09 UTC (rev 83124)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Kevin Piche 
+# Contributor: Ewoud Nuyts 
+
+pkgname=bmp-wma
+pkgver=0.1.1
+pkgrel=4
+pkgdesc="WMA plugin for Beep Media Player"
+url="http://bmp-plugins.berlios.de/novelian/project.php?p=bmp-wma";
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('bmp')
+groups=('bmp-plugins' 'bmp-io-plugins')
+options=('!libtool' '!emptydirs')
+source=("http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz";
+'bmp-wma-gcc4.patch')
+md5sums=('8dcf3fcdb10e8e2e386f70745812412b'
+ '730eba8f41e989dd8b56c18bcc826cc4')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch"
+  if [ "${CARCH}" = "x86_64" ]; then
+export CFLAGS="${CFLAGS} -fPIC"
+  fi
+  ./configure --prefix=/usr --disable-static
+  echo '#define HAVE_LRINTF 1' >> config.h
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: bmp-wma/repos/community-i686/bmp-wma-gcc4.patch (from rev 83123, 
bmp-wma/trunk/bmp-wma-gcc4.patch)
===
--- community-i686/bmp-wma-gcc4.patch   (rev 0)
+++ community-i686/bmp-wma-gcc4.patch   2013-01-27 16:09:09 UTC (rev 83124)
@@ -0,0 +1,98 @@
+--- src/libffwma/avcodec.h.orig2005-10-07 11:49:36.0 -0400
 src/libffwma/avcodec.h 2005-10-07 11:51:09.0 -0400
+@@ -11,6 +11,43 @@
+ extern "C" {
+ #endif
+ 
++
++/**
++ * AVOption.
++ */
++typedef struct AVOption {
++/** options' name */
++const char *name; /* if name is NULL, it indicates a link to next */
++/** short English text help or const struct AVOption* subpointer */
++const char *help; //  const struct AVOption* sub;
++/** offset to context structure where the parsed value should be stored */
++int offset;
++/** options' type */
++int type;
++#define FF_OPT_TYPE_BOOL 1  ///< boolean - true,1,on  (or simply presence)
++#define FF_OPT_TYPE_DOUBLE 2///< double
++#define FF_OPT_TYPE_INT 3   ///< integer
++#define FF_OPT_TYPE_STRING 4///< string (finished with \0)
++#define FF_OPT_TYPE_MASK 0x1f ///< mask for types - upper bits are various 
flags
++//#define FF_OPT_TYPE_EXPERT 0x20 // flag for expert option
++#define FF_OPT_TYPE_FLAG (FF_OPT_TYPE_BOOL | 0x40)
++#define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80)
++/** min value  (min == max   ->  no limits) */
++double min;
++/** maximum value for double/int */
++double max;
++/** default boo [0,1]l/double/int value */
++double defval;
++/**
++ * default string value (with optional semicolon delimited extra 
option-list
++ * i.e.   option1;option2;option3
++ * defval might select other then first argument as default
++ */
++const char *defstr;
++#define FF_OPT_MAX_DEPTH 10
++} AVOption;
++
++
+ #include "common.h"
+ #include  /* size_t */
+ 
+@@ -1396,41 +1433,6 @@
+ 
+ 
+ /**
+- * AVOption.
+- */
+-typedef struct AVOption {
+-/** options' name */
+-const char *name; /* if name is NULL, it indicates a link to next */
+-/** short English text help or const struct AVOption* subpointer */
+-const char *help; //  const struct AVOption* sub;
+-/** offset to context structure where the parsed value should be stored */
+-int offset;
+-/** options' type */
+-int type;
+-#define FF_OPT_TYPE_BOOL 1  ///< boolean - true,1,on  (or simply presence)
+-#define FF_OPT_TYPE_DOUBLE 2///< double
+-#define FF_OPT_TYPE_INT 3   ///< integer
+-#define FF_OPT_TYPE_STRING 4///< string (finished with \0)
+-#define FF_OPT_TYPE_MASK 0x1f ///< mask for types - upper bits are various 
flags
+-//#define FF_OPT_TYPE_EXP

[arch-commits] Commit in bmp-wma/repos (8 files)

2011-09-10 Thread Pierre Schmitz
Date: Saturday, September 10, 2011 @ 10:26:41
  Author: pierre
Revision: 137730

archrelease: copy trunk to extra-x86_64, extra-i686

Added:
  bmp-wma/repos/extra-i686/PKGBUILD
(from rev 137729, bmp-wma/trunk/PKGBUILD)
  bmp-wma/repos/extra-i686/bmp-wma-gcc4.patch
(from rev 137729, bmp-wma/trunk/bmp-wma-gcc4.patch)
  bmp-wma/repos/extra-x86_64/PKGBUILD
(from rev 137729, bmp-wma/trunk/PKGBUILD)
  bmp-wma/repos/extra-x86_64/bmp-wma-gcc4.patch
(from rev 137729, bmp-wma/trunk/bmp-wma-gcc4.patch)
Deleted:
  bmp-wma/repos/extra-i686/PKGBUILD
  bmp-wma/repos/extra-i686/bmp-wma-gcc4.patch
  bmp-wma/repos/extra-x86_64/PKGBUILD
  bmp-wma/repos/extra-x86_64/bmp-wma-gcc4.patch

-+
 extra-i686/PKGBUILD |   64 ++--
 extra-i686/bmp-wma-gcc4.patch   |  196 +++---
 extra-x86_64/PKGBUILD   |   64 ++--
 extra-x86_64/bmp-wma-gcc4.patch |  196 +++---
 4 files changed, 264 insertions(+), 256 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2011-09-10 14:25:52 UTC (rev 137729)
+++ extra-i686/PKGBUILD 2011-09-10 14:26:41 UTC (rev 137730)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Kevin Piche 
-# Contributor: Ewoud Nuyts 
-
-pkgname=bmp-wma
-pkgver=0.1.1
-pkgrel=3
-pkgdesc="WMA plugin for Beep Media Player"
-url="http://bmp-plugins.berlios.de/novelian/project.php?p=bmp-wma";
-license=('GPL')
-arch=('x86_64' 'i686')
-depends=('bmp')
-groups=('bmp-plugins' 'bmp-io-plugins')
-options=(!libtool !emptydirs)
-source=(http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz
-bmp-wma-gcc4.patch)
-md5sums=('8dcf3fcdb10e8e2e386f70745812412b'
- '730eba8f41e989dd8b56c18bcc826cc4')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch" || return 1
-  if [ "${CARCH}" = "x86_64" ]; then
-export CFLAGS="${CFLAGS} -fPIC"
-  fi
-  ./configure --prefix=/usr --disable-static || return 1
-  echo '#define HAVE_LRINTF 1' >> config.h
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-}

Copied: bmp-wma/repos/extra-i686/PKGBUILD (from rev 137729, 
bmp-wma/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2011-09-10 14:26:41 UTC (rev 137730)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Kevin Piche 
+# Contributor: Ewoud Nuyts 
+
+pkgname=bmp-wma
+pkgver=0.1.1
+pkgrel=4
+pkgdesc="WMA plugin for Beep Media Player"
+url="http://bmp-plugins.berlios.de/novelian/project.php?p=bmp-wma";
+license=('GPL')
+arch=('x86_64' 'i686')
+depends=('bmp')
+groups=('bmp-plugins' 'bmp-io-plugins')
+options=('!libtool' '!emptydirs')
+source=("http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz";
+'bmp-wma-gcc4.patch')
+md5sums=('8dcf3fcdb10e8e2e386f70745812412b'
+ '730eba8f41e989dd8b56c18bcc826cc4')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch"
+  if [ "${CARCH}" = "x86_64" ]; then
+export CFLAGS="${CFLAGS} -fPIC"
+  fi
+  ./configure --prefix=/usr --disable-static
+  echo '#define HAVE_LRINTF 1' >> config.h
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-i686/bmp-wma-gcc4.patch
===
--- extra-i686/bmp-wma-gcc4.patch   2011-09-10 14:25:52 UTC (rev 137729)
+++ extra-i686/bmp-wma-gcc4.patch   2011-09-10 14:26:41 UTC (rev 137730)
@@ -1,98 +0,0 @@
 src/libffwma/avcodec.h.orig2005-10-07 11:49:36.0 -0400
-+++ src/libffwma/avcodec.h 2005-10-07 11:51:09.0 -0400
-@@ -11,6 +11,43 @@
- extern "C" {
- #endif
- 
-+
-+/**
-+ * AVOption.
-+ */
-+typedef struct AVOption {
-+/** options' name */
-+const char *name; /* if name is NULL, it indicates a link to next */
-+/** short English text help or const struct AVOption* subpointer */
-+const char *help; //  const struct AVOption* sub;
-+/** offset to context structure where the parsed value should be stored */
-+int offset;
-+/** options' type */
-+int type;
-+#define FF_OPT_TYPE_BOOL 1  ///< boolean - true,1,on  (or simply presence)
-+#define FF_OPT_TYPE_DOUBLE 2///< double
-+#define FF_OPT_TYPE_INT 3   ///< integer
-+#define FF_OPT_TYPE_STRING 4///< string (finished with \0)
-+#define FF_OPT_TYPE_MASK 0x1f ///< mask for types - upper bits are various 
flags
-+//#define FF_OPT_TYPE_EXPERT 0x20 // flag for expert option
-+#define FF_OPT_TYPE_FLAG (FF_OPT_TYPE_BOOL | 0x40)
-+#define FF_OPT_TYPE_RCOVERRIDE (FF_OPT_TYPE_STRING | 0x80)
-+/** min value  (min == max   ->  no limits) */
-+double min;
-+/** maximum value for double/int */
-+double max;
-+/** default boo [0,1]l/double/int value 

[arch-commits] Commit in bmp-wma/trunk (PKGBUILD)

2011-09-10 Thread Pierre Schmitz
Date: Saturday, September 10, 2011 @ 10:25:52
  Author: pierre
Revision: 137729

upgpkg: bmp-wma 0.1.1-4

rebuild old package

Modified:
  bmp-wma/trunk/PKGBUILD

--+
 PKGBUILD |   20 
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-09-10 14:21:31 UTC (rev 137728)
+++ PKGBUILD2011-09-10 14:25:52 UTC (rev 137729)
@@ -4,27 +4,31 @@
 
 pkgname=bmp-wma
 pkgver=0.1.1
-pkgrel=3
+pkgrel=4
 pkgdesc="WMA plugin for Beep Media Player"
 url="http://bmp-plugins.berlios.de/novelian/project.php?p=bmp-wma";
 license=('GPL')
 arch=('x86_64' 'i686')
 depends=('bmp')
 groups=('bmp-plugins' 'bmp-io-plugins')
-options=(!libtool !emptydirs)
-source=(http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz
-bmp-wma-gcc4.patch)
+options=('!libtool' '!emptydirs')
+source=("http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz";
+'bmp-wma-gcc4.patch')
 md5sums=('8dcf3fcdb10e8e2e386f70745812412b'
  '730eba8f41e989dd8b56c18bcc826cc4')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch" || return 1
+  patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch"
   if [ "${CARCH}" = "x86_64" ]; then
 export CFLAGS="${CFLAGS} -fPIC"
   fi
-  ./configure --prefix=/usr --disable-static || return 1
+  ./configure --prefix=/usr --disable-static
   echo '#define HAVE_LRINTF 1' >> config.h
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}