From 42bc8b8c4c7dbaf5be8b0426a7a7eae84eabb0bb Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Fri, 2 Sep 2016 10:41:25 +0000 Subject: main/asterisk-audio-konf: move to unmaintained (does not build) --- main/asterisk-audio-konf/APKBUILD | 66 ------------------------------- unmaintained/asterisk-audio-konf/APKBUILD | 66 +++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 main/asterisk-audio-konf/APKBUILD create mode 100644 unmaintained/asterisk-audio-konf/APKBUILD diff --git a/main/asterisk-audio-konf/APKBUILD b/main/asterisk-audio-konf/APKBUILD deleted file mode 100644 index 37f02fcba2..0000000000 --- a/main/asterisk-audio-konf/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Contributor: -# Maintainer: Natanael Copa -pkgname=asterisk-audio-konf -_basever=0 -_gitver=101026 -pkgver=${_basever}_git${_gitver} -pkgrel=2 -pkgdesc="A fork of AppKonference focused entirely on audio conferencing" -url="http://github.com/jthomerson/AsteriskAudioKonf/" -arch="" -license="GPL2" -depends="" -makedepends="asterisk-dev" -install="" -subpackages="" -_snapfile="$pkgname-$pkgver.tar.bz2" -source="http://dev.alpinelinux.org/~tteras/$_snapfile" - -_gitver=101026 -_giturl="git://github.com/jthomerson/AsteriskAudioKonf.git" - -_builddir="$srcdir"/$pkgname/konference -snapshot() { - _gitver=$(date +%y%m%d) - pkgver=${_basever}_git$_gitver - _snapfile="$pkgname-$pkgver.tar.bz2" - - if [ -d "$SRCDEST"/$pkgname ]; then - cd "$SRCDEST"/$pkgname - git pull --rebase || return 1 - else - cd "$SRCDEST" - git clone $_giturl $pkgname - fi - cd "$SRCDEST" - tar -jcf $_snapfile $pkgname - - pkgrel=0 - sed -i -e "s/^_gitver=.*/_gitver=${_gitver}/" \ - -e "s/^pkgrel=.*/pkgrel=$pkgrel/" \ - "$startdir"/APKBUILD - checksum -} - -prepare() { - cd "$_builddir" - - # Enable Speex16 support - sed -e '/CPPFLAGS += -DAC_USE_SPEEX16/s/^\# *//' -i Makefile - - #for i in "$srcdir"/*.patch; do - # patch -p1 -i "$i" || return 1 - #done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_PREFIX="$pkgdir" install -} - -md5sums="9f560cae3afc363282db60e0d69c6643 asterisk-audio-konf-0_git101026.tar.bz2" diff --git a/unmaintained/asterisk-audio-konf/APKBUILD b/unmaintained/asterisk-audio-konf/APKBUILD new file mode 100644 index 0000000000..37f02fcba2 --- /dev/null +++ b/unmaintained/asterisk-audio-konf/APKBUILD @@ -0,0 +1,66 @@ +# Contributor: +# Maintainer: Natanael Copa +pkgname=asterisk-audio-konf +_basever=0 +_gitver=101026 +pkgver=${_basever}_git${_gitver} +pkgrel=2 +pkgdesc="A fork of AppKonference focused entirely on audio conferencing" +url="http://github.com/jthomerson/AsteriskAudioKonf/" +arch="" +license="GPL2" +depends="" +makedepends="asterisk-dev" +install="" +subpackages="" +_snapfile="$pkgname-$pkgver.tar.bz2" +source="http://dev.alpinelinux.org/~tteras/$_snapfile" + +_gitver=101026 +_giturl="git://github.com/jthomerson/AsteriskAudioKonf.git" + +_builddir="$srcdir"/$pkgname/konference +snapshot() { + _gitver=$(date +%y%m%d) + pkgver=${_basever}_git$_gitver + _snapfile="$pkgname-$pkgver.tar.bz2" + + if [ -d "$SRCDEST"/$pkgname ]; then + cd "$SRCDEST"/$pkgname + git pull --rebase || return 1 + else + cd "$SRCDEST" + git clone $_giturl $pkgname + fi + cd "$SRCDEST" + tar -jcf $_snapfile $pkgname + + pkgrel=0 + sed -i -e "s/^_gitver=.*/_gitver=${_gitver}/" \ + -e "s/^pkgrel=.*/pkgrel=$pkgrel/" \ + "$startdir"/APKBUILD + checksum +} + +prepare() { + cd "$_builddir" + + # Enable Speex16 support + sed -e '/CPPFLAGS += -DAC_USE_SPEEX16/s/^\# *//' -i Makefile + + #for i in "$srcdir"/*.patch; do + # patch -p1 -i "$i" || return 1 + #done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make INSTALL_PREFIX="$pkgdir" install +} + +md5sums="9f560cae3afc363282db60e0d69c6643 asterisk-audio-konf-0_git101026.tar.bz2" -- cgit v1.2.3