new package: streamripper
Requested in https://github.com/termux/termux-packages/issues/4512.
This commit is contained in:
parent
4e18f50a84
commit
8686ebdb7e
8
packages/streamripper/build.sh
Normal file
8
packages/streamripper/build.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=http://streamripper.sourceforge.net/
|
||||||
|
TERMUX_PKG_DESCRIPTION="Records and splits streaming mp3 into tracks"
|
||||||
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
|
TERMUX_PKG_VERSION=1.64.6
|
||||||
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sourceforge/streamripper/streamripper-$TERMUX_PKG_VERSION.tar.gz
|
||||||
|
TERMUX_PKG_SHA256=c1d75f2e9c7b38fd4695be66eff4533395248132f3cc61f375196403c4d8de42
|
||||||
|
TERMUX_PKG_DEPENDS="glib, libmad, libvorbis"
|
||||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_pthread_pthread_create=yes"
|
39
packages/streamripper/configure.patch
Normal file
39
packages/streamripper/configure.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
diff -uNr streamripper-1.64.6/configure streamripper-1.64.6.mod/configure
|
||||||
|
--- streamripper-1.64.6/configure 2009-03-31 04:51:13.000000000 +0300
|
||||||
|
+++ streamripper-1.64.6.mod/configure 2020-01-02 01:33:25.603677178 +0200
|
||||||
|
@@ -5374,7 +5374,7 @@
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
|
-LIBS="-lpthread $LIBS"
|
||||||
|
+LIBS="$LIBS"
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
@@ -5434,7 +5434,7 @@
|
||||||
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
|
||||||
|
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
|
||||||
|
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then
|
||||||
|
- THREADLIBS="-lpthread"
|
||||||
|
+ THREADLIBS=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$THREADLIBS" = no; then
|
||||||
|
@@ -5586,7 +5586,7 @@
|
||||||
|
$as_echo_n "(cached) " >&6
|
||||||
|
else
|
||||||
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
|
-LIBS="-lpthreads $LIBS"
|
||||||
|
+LIBS="$LIBS"
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
/* confdefs.h. */
|
||||||
|
_ACEOF
|
||||||
|
@@ -5646,7 +5646,7 @@
|
||||||
|
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_create" >&5
|
||||||
|
$as_echo "$ac_cv_lib_pthreads_pthread_create" >&6; }
|
||||||
|
if test "x$ac_cv_lib_pthreads_pthread_create" = x""yes; then
|
||||||
|
- THREADLIBS="-lpthreads"
|
||||||
|
+ THREADLIBS=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user