1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 16:05:20 +02:00

MPlayer: enable volume control via Ben volume keys

This commit is contained in:
kyak 2010-09-26 23:21:01 +04:00
parent 2d9742edc1
commit 7c7d365c6b
2 changed files with 8 additions and 1 deletions

View File

@ -41,15 +41,20 @@ CONFIGURE_ARGS := --target=mips \
--extra-ldflags="-L$(STAGING_DIR)/usr/lib/libiconv/lib" \ --extra-ldflags="-L$(STAGING_DIR)/usr/lib/libiconv/lib" \
--host-cc=gcc \ --host-cc=gcc \
--enable-fbdev \ --enable-fbdev \
--confdir=/usr/share/mplayer \
--enable-menu --enable-menu
define Package/MPlayer/install define Package/MPlayer/install
$(INSTALL_DIR) \ $(INSTALL_DIR) \
$(1)/usr/bin $(1)/usr/bin \
$(1)/usr/share/mplayer
$(INSTALL_BIN) \ $(INSTALL_BIN) \
$(PKG_BUILD_DIR)/mplayer \ $(PKG_BUILD_DIR)/mplayer \
$(1)/usr/bin/mplayer $(1)/usr/bin/mplayer
$(INSTALL_DATA) \
$(FILES_DIR)/input.conf \
$(1)/usr/share/mplayer
endef endef

2
mplayer/files/input.conf Normal file
View File

@ -0,0 +1,2 @@
F12 volume -1
F11 volume 1