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

2019-12-09 Thread Antonio Rojas via arch-commits
Date: Monday, December 9, 2019 @ 21:01:27
  Author: arojas
Revision: 536435

Latest mediastreamer needs an unreleased version

Modified:
  bcunit/trunk/PKGBUILD

--+
 PKGBUILD |   24 +---
 1 file changed, 13 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-09 20:53:06 UTC (rev 536434)
+++ PKGBUILD2019-12-09 21:01:27 UTC (rev 536435)
@@ -3,29 +3,31 @@
 # Contributor: Danibspi danibspi  gmail  com
 
 pkgname=bcunit
-pkgver=3.0.2
-pkgrel=4
+pkgver=3.0.2+12+g3c720fb
+_commit=3c720fbf67dd3c02b0c7011ed4036982b2c93532
+pkgrel=1
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bcunit;
 license=(LGPL)
 depends=(glibc)
-makedepends=(cmake)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;
- 
bcunit-missing-symbol.patch::"https://github.com/BelledonneCommunications/bcunit/commit/2066c388.patch;)
-sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f'
-'21f7fc5e1fda61c89933ef037dbf55e7e4c68e81e706de25e6a047a65a599d92')
+makedepends=(cmake git)
+#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
+source=(git+https://gitlab.linphone.org/BC/public/bcunit.git#commit=$_commit)
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
 prepare() {
   mkdir -p build
-
-  cd $pkgname-$pkgver
-  patch -p1 -i ../bcunit-missing-symbol.patch # Fix missing symbols
 }
 
 build() {
   cd build
-  cmake ../$pkgname-$pkgver \
+  cmake ../$pkgname \
 -DCMAKE_INSTALL_PREFIX=/usr \
 -DENABLE_DOC=ON \
 -DENABLE_STATIC=OFF


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

2019-12-09 Thread Antonio Rojas via arch-commits
Date: Monday, December 9, 2019 @ 18:05:54
  Author: arojas
Revision: 536420

Fix missing symbol

Modified:
  bcunit/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-09 17:59:17 UTC (rev 536419)
+++ PKGBUILD2019-12-09 18:05:54 UTC (rev 536420)
@@ -4,7 +4,7 @@
 
 pkgname=bcunit
 pkgver=3.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bcunit;
@@ -11,11 +11,16 @@
 license=(LGPL)
 depends=(glibc)
 makedepends=(cmake)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
-sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;
+ 
bcunit-missing-symbol.patch::"https://github.com/BelledonneCommunications/bcunit/commit/2066c388.patch;)
+sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f'
+'21f7fc5e1fda61c89933ef037dbf55e7e4c68e81e706de25e6a047a65a599d92')
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../bcunit-missing-symbol.patch # Fix missing symbols
 }
 
 build() {


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

2019-12-09 Thread Antonio Rojas via arch-commits
Date: Monday, December 9, 2019 @ 17:58:58
  Author: arojas
Revision: 536418

Explicitly disable static libs so that cmake doesn't search for them

Modified:
  bcunit/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-09 17:42:34 UTC (rev 536417)
+++ PKGBUILD2019-12-09 17:58:58 UTC (rev 536418)
@@ -4,12 +4,12 @@
 
 pkgname=bcunit
 pkgver=3.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bcunit;
-license=(LGPL2)
-depends=()
+license=(LGPL)
+depends=(glibc)
 makedepends=(cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
 sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
@@ -22,7 +22,8 @@
   cd build
   cmake ../$pkgname-$pkgver \
 -DCMAKE_INSTALL_PREFIX=/usr \
--DENABLE_DOC=ON
+-DENABLE_DOC=ON \
+-DENABLE_STATIC=OFF
   make
 }
 


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

2019-12-09 Thread Antonio Rojas via arch-commits
Date: Monday, December 9, 2019 @ 17:42:10
  Author: arojas
Revision: 536416

Switch to cmake for new mediastreamer stack release

Modified:
  bcunit/trunk/PKGBUILD

--+
 PKGBUILD |   24 ++--
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-09 16:34:21 UTC (rev 536415)
+++ PKGBUILD2019-12-09 17:42:10 UTC (rev 536416)
@@ -1,28 +1,32 @@
-# Maintainer: Daniel Milde 
+# Maintainer: Antonio Rojas 
+# Contributor: Daniel Milde 
 # Contributor: Danibspi danibspi  gmail  com
 
 pkgname=bcunit
 pkgver=3.0.2
-#_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
-pkgrel=1
+pkgrel=2
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(x86_64)
 url="https://github.com/BelledonneCommunications/bcunit;
-license=('LGPL2')
+license=(LGPL2)
 depends=()
+makedepends=(cmake)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
-#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip;)
 sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd "$srcdir/bcunit-${pkgver}"
-  [ -x configure ] || ./autogen.sh
-  ./configure --prefix=/usr
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DENABLE_DOC=ON
   make
 }
 
 package() {
-  cd "$srcdir/bcunit-${pkgver}"
+  cd build
   make DESTDIR="$pkgdir" install
-  mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
 }


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

2017-10-11 Thread Sergej Pupykin
Date: Wednesday, October 11, 2017 @ 16:41:08
  Author: spupykin
Revision: 262368

upgpkg: bcunit 3.0.2-1

Modified:
  bcunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-10-11 16:02:23 UTC (rev 262367)
+++ PKGBUILD2017-10-11 16:41:08 UTC (rev 262368)
@@ -2,9 +2,9 @@
 # Contributor: Danibspi danibspi  gmail  com
 
 pkgname=bcunit
-pkgver=3.0
-_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
-pkgrel=2
+pkgver=3.0.2
+#_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
+pkgrel=1
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(i686 x86_64)
 url="https://github.com/BelledonneCommunications/bcunit;
@@ -11,12 +11,12 @@
 license=('LGPL2')
 depends=()
 options=('!libtool')
-#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip;)
-sha256sums=('e255f062249b75bfeb6a1c02943b602709f1f10738144075b036b3231aa4d590')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
+#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip;)
+sha256sums=('eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f')
 
 build() {
-  cd "$srcdir/bcunit-${_commit}"
+  cd "$srcdir/bcunit-${pkgver}"
   [ -x configure ] || ./autogen.sh
   ./configure --prefix=/usr
   make
@@ -23,7 +23,7 @@
 }
 
 package() {
-  cd "$srcdir/bcunit-${_commit}"
+  cd "$srcdir/bcunit-${pkgver}"
   make DESTDIR="$pkgdir" install
   mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
 }


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

2016-12-23 Thread Sergej Pupykin
Date: Friday, December 23, 2016 @ 13:30:47
  Author: spupykin
Revision: 201248

upgpkg: bcunit 3.0-2

upd

Modified:
  bcunit/trunk/PKGBUILD

--+
 PKGBUILD |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-23 13:22:30 UTC (rev 201247)
+++ PKGBUILD2016-12-23 13:30:47 UTC (rev 201248)
@@ -4,14 +4,12 @@
 pkgname=bcunit
 pkgver=3.0
 _commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
-pkgrel=1
+pkgrel=2
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(i686 x86_64)
 url="https://github.com/BelledonneCommunications/bcunit;
 license=('LGPL2')
 depends=()
-provides=('cunit')
-replaces=('cunit')
 options=('!libtool')
 
#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip;)
@@ -21,7 +19,7 @@
   cd "$srcdir/bcunit-${_commit}"
   [ -x configure ] || ./autogen.sh
   ./configure --prefix=/usr
-  make || return 1
+  make
 }
 
 package() {


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

2016-12-06 Thread Sergej Pupykin
Date: Tuesday, December 6, 2016 @ 12:50:34
  Author: spupykin
Revision: 198198

upgpkg: bcunit 3.0-1

upd

Modified:
  bcunit/trunk/PKGBUILD

--+
 PKGBUILD |   29 +
 1 file changed, 13 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-06 12:50:29 UTC (rev 198197)
+++ PKGBUILD2016-12-06 12:50:34 UTC (rev 198198)
@@ -1,34 +1,31 @@
 # Maintainer: Daniel Milde 
 # Contributor: Danibspi danibspi  gmail  com
 
-pkgname=cunit
-pkgver=2.1_3
+pkgname=bcunit
+pkgver=3.0
+_commit=29c556fa8ac1ab21fba1291231ffa8dea43cf32a
 pkgrel=1
 pkgdesc="Lightweight system for writing, administering, and running unit tests 
in C"
 arch=(i686 x86_64)
-url="http://cunit.sourceforge.net/;
+url="https://github.com/BelledonneCommunications/bcunit;
 license=('LGPL2')
-depends=('glibc')
+depends=()
+provides=('cunit')
+replaces=('cunit')
 options=('!libtool')
-source=(https://downloads.sourceforge.net/project/cunit/CUnit/${pkgver/_/-}/CUnit-${pkgver/_/-}.tar.bz2)
-sha256sums=('f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214')
+#source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/$pkgver.tar.gz;)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/bcunit/archive/${_commit}.zip;)
+sha256sums=('e255f062249b75bfeb6a1c02943b602709f1f10738144075b036b3231aa4d590')
 
 build() {
-  cd "$srcdir/CUnit-${pkgver/_/-}"
-  libtoolize --force
-  aclocal
-  autoheader
-  automake --force-missing --add-missing
-  autoconf
+  cd "$srcdir/bcunit-${_commit}"
+  [ -x configure ] || ./autogen.sh
   ./configure --prefix=/usr
   make || return 1
 }
 
 package() {
-  cd "$srcdir/CUnit-${pkgver/_/-}"
+  cd "$srcdir/bcunit-${_commit}"
   make DESTDIR="$pkgdir" install
   mv "$pkgdir"/usr/doc "$pkgdir"/usr/share/doc
 }
-
-
-