@ -8,12 +8,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := mpg123
PKG_NAME := mpg123
PKG_VERSION := 1.22.3
PKG_RELEASE := 3
PKG_VERSION := 1.25.2
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := http://www.mpg123.de/download/
PKG_MD5SUM := fca857bc5ad0d2070cd38bd5f0f85f1c
PKG_SOURCE_URL := @SF/mpg123
PKG_HASH := 5314b0fb8ad291bfc79ff4c5c321b971916819a65233ec065434358fcf8aee38
PKG_MAINTAINER := Zoltan HERPAI <wigyori@uid0.hu>
PKG_MAINTAINER := Zoltan HERPAI <wigyori@uid0.hu>
PKG_FIXUP := libtool
PKG_FIXUP := libtool
@ -27,7 +27,6 @@ include $(INCLUDE_DIR)/package.mk
d e f i n e P a c k a g e / m p g 1 2 3 / D e f a u l t
d e f i n e P a c k a g e / m p g 1 2 3 / D e f a u l t
URL:= http://www.mpg123.de
URL:= http://www.mpg123.de
DEPENDS:= @BUILD_PATENTED
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b m p g 1 2 3
d e f i n e P a c k a g e / l i b m p g 1 2 3
@ -38,33 +37,56 @@ define Package/libmpg123
DEPENDS:= +libltdl
DEPENDS:= +libltdl
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b o u t 1 2 3
$( call Package/mpg123/Default)
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Library for continuous playback of audio streams via various platform-specific output methods
DEPENDS:= +libltdl
e n d e f
d e f i n e P a c k a g e / m p g 1 2 3
d e f i n e P a c k a g e / m p g 1 2 3
$( call Package/mpg123/Default)
$( call Package/mpg123/Default)
SECTION:= sound
SECTION:= sound
CATEGORY:= Sound
CATEGORY:= Sound
TITLE:= fast console mpeg audio player
TITLE:= fast console mpeg audio player
DEPENDS += +libmpg123 +alsa-lib
DEPENDS += +libmpg123 +alsa-lib +libout123
e n d e f
e n d e f
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default, \
--enable-shared \
--enable-static \
TARGET_CFLAGS += -D_GNU_SOURCE
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--with-audio= alsa \
--with-default-audio= alsa \
i f e q ( $( CONFIG_SOFT_FLOAT ) , y )
CONFIGURE_ARGS += \
--with-cpu= generic_nofpu \
--with-cpu= generic_nofpu \
--with-audio= alsa \
--with-default-audio= alsa \
)
e n d e f
--enable-int-quality= yes
e l s e
CONFIGURE_ARGS += \
--with-cpu= generic_fpu
e n d i f
i f n e q ( $( findstring neon ,$ ( CONFIG_TARGET_OPTIMIZATION ) ) , )
CONFIGURE_ARGS += \
--with-cpu= arm_fpu
e n d i f
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/include
$( INSTALL_DATA) \
$( INSTALL_DATA) \
$( PKG_INSTALL_DIR) /usr/include/mpg123.h \
$( PKG_INSTALL_DIR) /usr/include/mpg123.h \
$( PKG_INSTALL_DIR) /usr/include/out123.h \
$( PKG_INSTALL_DIR) /usr/include/fmt123.h \
$( 1) /usr/include/
$( 1) /usr/include/
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) \
$( CP) \
$( PKG_INSTALL_DIR) /usr/lib/libmpg123.{ la,a,so*} \
$( PKG_INSTALL_DIR) /usr/lib/libmpg123.{ la,a,so*} \
$( PKG_INSTALL_DIR) /usr/lib/libout123.{ la,a,so*} \
$( 1) /usr/lib/
$( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/mpg123
$( INSTALL_DIR) $( 1) /usr/lib/mpg123
@ -75,6 +97,7 @@ define Build/InstallDev
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) \
$( CP) \
$( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libmpg123.pc \
$( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libmpg123.pc \
$( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libout123.pc \
$( 1) /usr/lib/pkgconfig
$( 1) /usr/lib/pkgconfig
e n d e f
e n d e f
@ -85,6 +108,13 @@ define Package/libmpg123/install
$( 1) /usr/lib/
$( 1) /usr/lib/
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b o u t 1 2 3 / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) \
$( PKG_INSTALL_DIR) /usr/lib/libout123.so* \
$( 1) /usr/lib/
e n d e f
d e f i n e P a c k a g e / m p g 1 2 3 / i n s t a l l
d e f i n e P a c k a g e / m p g 1 2 3 / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) \
$( INSTALL_BIN) \
@ -99,4 +129,5 @@ define Package/mpg123/install
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,libmpg 123) )
$( eval $ ( call BuildPackage ,libmpg 123) )
$( eval $ ( call BuildPackage ,libout 123) )
$( eval $ ( call BuildPackage ,mpg 123) )
$( eval $ ( call BuildPackage ,mpg 123) )