commit
58c1818a62
1 changed files with 25 additions and 16 deletions
|
@ -9,19 +9,18 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=moc
|
PKG_NAME:=moc
|
||||||
PKG_VERSION:=2.5.2
|
PKG_VERSION:=2.5.2
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://ftp.daper.net/pub/soft/moc/stable/
|
PKG_SOURCE_URL:=http://ftp.daper.net/pub/soft/moc/stable/
|
||||||
PKG_HASH:=f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08
|
PKG_HASH:=f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08
|
||||||
|
|
||||||
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
||||||
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
PKG_LICENSE:=GPL-2.0
|
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
include $(INCLUDE_DIR)/nls.mk
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
@ -29,33 +28,43 @@ include $(INCLUDE_DIR)/nls.mk
|
||||||
define Package/moc
|
define Package/moc
|
||||||
SECTION:=sound
|
SECTION:=sound
|
||||||
CATEGORY:=Sound
|
CATEGORY:=Sound
|
||||||
DEPENDS:=+libcurl $(ICONV_DEPENDS) +alsa-lib +libid3tag +libsamplerate +libncursesw +libffmpeg +libltdl +libmagic +libdb47
|
DEPENDS:=+libcurl $(ICONV_DEPENDS) +alsa-lib +libid3tag +libsamplerate +libmad +libfaad2 +libflac +libvorbis +libncursesw +libltdl +libmagic +libdb47
|
||||||
TITLE:=Music On Console
|
TITLE:=Music On Console
|
||||||
URL:=http://moc.daper.net/
|
URL:=https://moc.daper.net/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/moc/description
|
define Package/moc/description
|
||||||
MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.
|
MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS+=-D_GNU_SOURCE
|
|
||||||
|
|
||||||
TARGET_CPPFLAGS+=-P
|
TARGET_CPPFLAGS+=-P
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--without-speex \
|
|
||||||
--without-aac \
|
|
||||||
--without-flac \
|
|
||||||
--without-mp3 \
|
|
||||||
--without-musepack \
|
|
||||||
--without-rcc \
|
--without-rcc \
|
||||||
|
--without-oss \
|
||||||
|
--without-sndio \
|
||||||
|
--with-alsa \
|
||||||
|
--without-jack \
|
||||||
|
--with-magic \
|
||||||
|
--without-ncurses \
|
||||||
|
--with-ncursesw \
|
||||||
|
--with-samplerate \
|
||||||
|
--with-aac \
|
||||||
|
--without-ffmpeg \
|
||||||
|
--with-flac \
|
||||||
|
--without-modplug \
|
||||||
|
--with-mp3 \
|
||||||
|
--without-musepack \
|
||||||
|
--without-sidplay2 \
|
||||||
--without-sndfile \
|
--without-sndfile \
|
||||||
--without-vorbis \
|
--without-speex \
|
||||||
|
--without-timidity \
|
||||||
|
--with-vorbis \
|
||||||
--without-wavpack \
|
--without-wavpack \
|
||||||
$(if $(CONFIG_PACKAGE_libncursesw),--with-ncursesw --without-ncurses,--with-ncurses --without-ncursesw) \
|
--with-curl \
|
||||||
--with-bdb-dir="$(STAGING_DIR)/usr"
|
--with-bdb-dir="$(STAGING_DIR)/usr"
|
||||||
|
|
||||||
define Package/moc/install
|
define Package/moc/install
|
||||||
|
|
Loading…
Reference in a new issue