Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
650
Issues
650
List
Boards
Labels
Service Desk
Milestones
Merge Requests
215
Merge Requests
215
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
989b2c78
Commit
989b2c78
authored
Mar 30, 2011
by
Francesco Colista
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/darkice: new aport - live audio streamer
parent
b8ae3637
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
testing/darkice/APKBUILD
testing/darkice/APKBUILD
+37
-0
testing/darkice/darkice.initd
testing/darkice/darkice.initd
+24
-0
No files found.
testing/darkice/APKBUILD
0 → 100644
View file @
989b2c78
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname
=
darkice
pkgver
=
1.0
pkgrel
=
1
pkgdesc
=
"Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server"
url
=
"http://code.google.com/p/darkice/"
arch
=
"all"
license
=
"GPL"
depends
=
depends_dev
=
"alsa-lib-dev faac-dev lame-dev libvorbis-dev"
makedepends
=
"
$depends_dev
"
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"http://darkice.googlecode.com/files/
$pkgname
-
$pkgver
.tar.gz
darkice.initd"
_builddir
=
$srcdir
/
$pkgname
-
$pkgver
build
()
{
cd
"
$_builddir
"
./configure
--prefix
=
/usr
\
--sysconfdir
=
/etc/darkice
\
--without-aacplus
\
--without-twolame
make
||
return
1
}
package
()
{
mkdir
-p
"
$pkgdir
"
/etc/
$pkgname
cd
"
$_builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
install
-m755
-D
"
$srcdir
"
/
$pkgname
.initd
"
$pkgdir
"
/etc/init.d/
$pkgname
}
md5sums
=
"1804e63d42a9703d01fe378c9a77c473 darkice-1.0.tar.gz
5a580c39bd27f82abd785dc50d126734 darkice.initd"
testing/darkice/darkice.initd
0 → 100755
View file @
989b2c78
#!/sbin/runscript
DARKICE_BIN="/usr/bin/darkice"
DARKICE_OPTS="-c /etc/darkice/darkice.cfg"
depend() {
need net
after firewall
}
start() {
ebegin "Starting DarkIce"
start-stop-daemon --start --exec $DARKICE_BIN \
-- $DARKICE_OPTS > /dev/null
eend $?
}
stop() {
ebegin "Stopping DarkIce"
start-stop-daemon --stop --exec $DARKICE_BIN
eend $?
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment