summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof (3ED) AS2015-07-02 10:03:49 +0200
committerKrzysztof (3ED) AS2015-07-02 10:03:49 +0200
commitbe096c9018868593c12ec76fe34aef6a2a2909dc (patch)
tree85498ea502b606846127f2828c98d259a1fc0919
downloadaur-be096c9018868593c12ec76fe34aef6a2a2909dc.tar.gz
moving files, making space for additional scripts, aur4 and other stuff
-rw-r--r--.SRCINFO64
-rw-r--r--PKGBUILD141
-rw-r--r--patch-x86_64.diff11
3 files changed, 216 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..47dfaa30301
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,64 @@
+pkgbase = poc
+ pkgdesc = poc includes mp3cue, a mp3 CUE cutter, and mp3cut, a mp3 command-line editing and streaming tool
+ pkgver = 0.4.1
+ pkgrel = 7
+ url = http://www.bl0rg.net/software/poc/
+ arch = i686
+ arch = x86_64
+ groups = poc
+ license = custom
+ makedepends = flex
+ makedepends = bison
+ depends = glibc
+ source = http://www.bl0rg.net/software/poc/poc-0.4.1.tar.gz
+ source = patch-x86_64.diff
+ sha256sums = a8f8be5281b80f9bb1dd0d330ec59e608d557351f6e6ad5b3d14932f7b952d29
+ sha256sums = 1f02a2d2db9bc2d00beeef4099df3276bc80e603c5b5aa45969d8d25f919c2b4
+
+pkgname = poc
+ pkgdesc = a mp3 command-line editing and streaming tools (metapackage)
+ depends = mp3cue
+ depends = mp3cut
+ depends = mp3length
+ depends = pob-2250
+ depends = pob-3119
+ depends = pob-fec
+ depends = poc-2250
+ depends = poc-3119
+ depends = poc-fec
+ depends = poc-http
+ depends = pogg-http
+
+pkgname = mp3cue
+ pkgdesc = cut a MP3 file according to a CUE file
+
+pkgname = mp3cut
+ pkgdesc = cut and assemble MP3 files
+
+pkgname = mp3length
+ pkgdesc = show the length of a MP3 file
+
+pkgname = pob-2250
+ pkgdesc = receive RTP RFC 2250 MP3 streams
+
+pkgname = pob-3119
+ pkgdesc = receive RTP RFC 3119 MP3 streams
+
+pkgname = pob-fec
+ pkgdesc = receive FEC MP3 streams
+
+pkgname = poc-2250
+ pkgdesc = send RTP RFC 2250 MP3 streams
+
+pkgname = poc-3119
+ pkgdesc = send RTP RFC 3119 MP3 streams
+
+pkgname = poc-fec
+ pkgdesc = send FEC MP3 streams
+
+pkgname = poc-http
+ pkgdesc = send HTTP MP3 streams
+
+pkgname = pogg-http
+ pkgdesc = send HTTP OGG streams
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..826d5fce263
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,141 @@
+# Contributor: 3ED <kas1987@o2.pl>
+
+pkgbase=poc
+pkgname=poc
+true && pkgname=(poc mp3cue mp3cut mp3length pob-2250 pob-3119 pob-fec poc-2250 poc-3119 poc-fec poc-http pogg-http)
+pkgver=0.4.1
+pkgrel=7
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('glibc')
+groups=('poc')
+makedepends=('flex' 'bison')
+url="http://www.bl0rg.net/software/poc/"
+source=("http://www.bl0rg.net/software/poc/$pkgbase-$pkgver.tar.gz"
+ "patch-x86_64.diff")
+sha256sums=('a8f8be5281b80f9bb1dd0d330ec59e608d557351f6e6ad5b3d14932f7b952d29'
+ '1f02a2d2db9bc2d00beeef4099df3276bc80e603c5b5aa45969d8d25f919c2b4')
+
+DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u')
+
+
+build() {
+ cd "$srcdir/$pkgbase-$pkgver"
+
+ [ "$CARCH" = "x86_64" ] && patch -Np0 < "$srcdir/patch-x86_64.diff"
+
+ make
+}
+
+package_mp3cue() {
+ _pkgname=mp3cue
+ pkgdesc="cut a MP3 file according to a CUE file"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_mp3cut() {
+ _pkgname=mp3cut
+ pkgdesc="cut and assemble MP3 files"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_mp3length() {
+ _pkgname=mp3length
+ pkgdesc="show the length of a MP3 file"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_pob-2250() {
+ _pkgname=pob-2250
+ pkgdesc="receive RTP RFC 2250 MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_pob-3119() {
+ _pkgname=pob-3119
+ pkgdesc="receive RTP RFC 3119 MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_pob-fec() {
+ _pkgname=pob-fec
+ pkgdesc="receive FEC MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_poc-2250() {
+ _pkgname=poc-2250
+ pkgdesc="send RTP RFC 2250 MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}-ploss" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_poc-3119() {
+ _pkgname=poc-3119
+ pkgdesc="send RTP RFC 3119 MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}-ploss" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_poc-fec() {
+ _pkgname=poc-fec
+ pkgdesc="send FEC MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}-ploss" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_poc-http() {
+ _pkgname=poc-http
+ pkgdesc="send HTTP MP3 streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+package_pogg-http() {
+ _pkgname=pogg-http
+ pkgdesc="send HTTP OGG streams"
+ install -dm755 "$pkgdir/usr/"{bin,share/man/man1}
+ install -dm755 "$pkgdir/usr/share/licenses/${_pkgname}"
+ install -m 755 "$srcdir/$pkgbase-$pkgver/${_pkgname}" "$pkgdir/usr/bin"
+ install -m 644 "$srcdir/$pkgbase-$pkgver/man/man1/${_pkgname}.1" "$pkgdir/usr/share/man/man1"
+ install -m 444 "$srcdir/$pkgbase-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE"
+}
+
+package_poc() {
+ #matapackage for backward and aur compatibility
+ depends=(mp3cue mp3cut mp3length pob-2250 pob-3119 pob-fec poc-2250 poc-3119 poc-fec poc-http pogg-http)
+ pkgdesc="a mp3 command-line editing and streaming tools (metapackage)"
+}
+
+# AUR
+depends=('glibc')
+pkgdesc="poc includes mp3cue, a mp3 CUE cutter, and mp3cut, a mp3 command-line editing and streaming tool"
diff --git a/patch-x86_64.diff b/patch-x86_64.diff
new file mode 100644
index 00000000000..5f3be0a3648
--- /dev/null
+++ b/patch-x86_64.diff
@@ -0,0 +1,11 @@
+--- fec-pkt.c.orig 2004-12-30 17:24:07.000000000 +0100
++++ fec-pkt.c 2006-10-01 18:39:24.000000000 +0200
+@@ -66,7 +66,7 @@
+ Reads a FEC packet from the filedescriptor, and unpacks the header
+ fields into the header structure.
+ **/
+-int fec_pkt_read(fec_pkt_t *pkt, int fd) {
++ssize_t fec_pkt_read(fec_pkt_t *pkt, int fd) {
+ assert(pkt != NULL);
+
+ /*M