Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/ecasound: Move from unmaintained and modernize

From: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
Date: Mon, 10 Apr 2017 16:58:28 +0200

* Upgrade to 2.9.1
* Add check
* Remove returns
* Cleanup dependencies
---
 testing/ecasound/APKBUILD      | 39 +++++++++++++++++++++++++++++++++++
 unmaintained/ecasound/APKBUILD | 47 ------------------------------------------
 2 files changed, 39 insertions(+), 47 deletions(-)
 create mode 100644 testing/ecasound/APKBUILD
 delete mode 100644 unmaintained/ecasound/APKBUILD
diff --git a/testing/ecasound/APKBUILD b/testing/ecasound/APKBUILD
new file mode 100644
index 0000000000..b25d4b2c18
--- /dev/null
+++ b/testing/ecasound/APKBUILD
_at_@ -0,0 +1,39 @@
+# Contributor: Natanael Copa <ncopa_at_alpinelinux.org>
+# Maintainer: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
+pkgname=ecasound
+pkgver=2.9.1
+pkgrel=0
+pkgdesc="Textmode multitrack audio processing"
+url="https://ecasound.seul.org/ecasound/"
+arch="all"
+license="GPL2+"
+makedepends="alsa-lib-dev readline-dev ncurses-dev
+	mpg123-dev lame-dev libsndfile-dev libsamplerate-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://ecasound.seul.org/download/ecasound-$pkgver.tar.gz"
+builddir="$srcdir"/ecasound-$pkgver
+
+build() {
+	cd "$builddir"
+	./configure --prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--infodir=/usr/share/info \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+
+check() {
+	cd "$builddir"
+	make check
+}
+
+md5sums="13c7be1e4eddc0bbf3792dc17777e465  ecasound-2.9.1.tar.gz"
+sha256sums="39fce8becd84d80620fa3de31fb5223b2b7d4648d36c9c337d3739c2fad0dcf3  ecasound-2.9.1.tar.gz"
+sha512sums="b91fd68cb4809fdf62b25323fbf52c9bb7de6663287d5aa2576cc4fb28e322850b7020df2718ed6087f5d9f5f96692a476287378ea65853d01834523e8eb7033  ecasound-2.9.1.tar.gz"
diff --git a/unmaintained/ecasound/APKBUILD b/unmaintained/ecasound/APKBUILD
deleted file mode 100644
index c7bd28e2ba..0000000000
--- a/unmaintained/ecasound/APKBUILD
+++ /dev/null
_at_@ -1,47 +0,0 @@
-# Contributor: Natanael Copa <ncopa_at_alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
-pkgname=ecasound
-pkgver=2.9.0
-pkgrel=0
-pkgdesc="Textmode multitrack audio processing"
-url="http://eca.cx/ecasound/index.php"
-arch="all"
-license="GPL2+"
-depends=""
-depends_dev="alsa-lib-dev readline-dev ncurses-dev mpg123-dev lame-dev
-	flac-dev libsndfile-dev libsamplerate-dev"
-makedepends="$depends_dev"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://ecasound.seul.org/download/ecasound-$pkgver.tar.gz"
-
-_builddir="$srcdir"/ecasound-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
-
-build() {
-	cd "$_builddir"
-	./configure --prefix=/usr \
-		--sysconfdir=/etc \
-		--mandir=/usr/share/man \
-		--infodir=/usr/share/info \
-		--localstatedir=/var \
-		|| return 1
-	make || return 1
-}
-
-package() {
-	cd "$_builddir"
-	make DESTDIR="$pkgdir" install || return 1
-}
-
-md5sums="05e7d4664cdf4c7a138c098e9506a551  ecasound-2.9.0.tar.gz"
-sha256sums="e2b0b8f8cce6074d660e460b3a02fc0132a51e1e982b78b3a68fa14e79fcc6c6  ecasound-2.9.0.tar.gz"
-sha512sums="d8ba4274413616b37084f716ca9c91434280cc600e5e2c231a755cbe27b05df0095b8178d280c2e576d91d04ff27aad4793ecec70c1bbb8b2ae73a030c8cbb13  ecasound-2.9.0.tar.gz"
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Apr 10 2017 - 16:58:28 GMT