X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 18F16DC046D for ; Wed, 20 May 2015 16:21:57 +0000 (UTC) Received: from st11p00im-asmtp004.me.com (st11p00im-asmtp004.me.com [17.172.80.98]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DB9F6DC0409 for ; Wed, 20 May 2015 16:21:51 +0000 (UTC) Received: from st.ilet.to (st.ilet.to [31.193.133.175]) by st11p00im-asmtp004.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NON0083APGCXA20@st11p00im-asmtp004.me.com> for alpine-devel@lists.alpinelinux.org; Wed, 20 May 2015 16:21:51 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-05-20_05:2015-05-19,2015-05-20,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1505200215 Date: Wed, 20 May 2015 16:21:47 +0000 (UTC) From: ScrumpyJack X-X-Sender: nicholas@st.ilet.to To: Alpine Devel List Subject: [alpine-devel] [PATCH] new aport:moc Message-id: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP MOC is a console audio player --- testing/moc/APKBUILD | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 testing/moc/APKBUILD diff --git a/testing/moc/APKBUILD b/testing/moc/APKBUILD new file mode 100644 index 0000000..6b70518 --- /dev/null +++ b/testing/moc/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: ScrumpyJack +# Maintainer: +pkgname=moc +pkgver=2.5.0 +pkgrel=0 +pkgdesc="MOC is a console audio player" +url="http://moc.daper.net/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="curl-dev libtool file ffmpeg-dev speex-dev alsa-lib-dev + libmodplug-dev faad2-dev jack-dev libmad-dev ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://ftp.daper.net/pub/soft/moc/stable/moc-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --without-rcc \ + --with-oss \ + --with-alsa \ + --with-jack \ + --with-aac \ + --with-mp3 \ + --with-musepack \ + --with-vorbis \ + --with-flac \ + --with-wavpack \ + --with-sndfile \ + --with-modplug \ + --with-ffmpeg \ + --with-speex \ + --with-samplerate \ + --with-curl \ + --disable-cache \ + --disable-debug \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install +} + +md5sums="18e3a979b67091bfee4b62217908c473 moc-2.5.0.tar.bz2" +sha256sums="d29ea52240af76c4aa56fa293553da9d66675823e689249cee5f8a60657a6091 moc-2.5.0.tar.bz2" +sha512sums="ca6cfd4d1d13030bd561df8ab671399a17dfb675c360ecc95a2491c6a85764d0f72259ac33665405b197f370f4fd7ef59d9a485706f8a882bff30d0fafcf252c moc-2.5.0.tar.bz2" -- 2.4.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---