mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
@@ -1,9 +0,0 @@
|
||||
config BR2_PACKAGE_GMU
|
||||
bool "gmu"
|
||||
default y
|
||||
select BR2_PACKAGE_SDL
|
||||
help
|
||||
A multi-format music player
|
||||
|
||||
|
||||
https://github.com/jhe2/gmu
|
||||
@@ -1,38 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# gmu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GMU_VERSION = v1.0-funkey-s
|
||||
GMU_SITE_METHOD = git
|
||||
GMU_SITE = https://github.com/DrUm78/gmu.git
|
||||
GMU_LICENSE = GPL-2.1+
|
||||
GMU_LICENSE_FILES = LICENSE
|
||||
|
||||
GMU_DEPENDENCIES = sdl
|
||||
|
||||
define GMU_BUILD_CMDS
|
||||
(cd $(@D); \
|
||||
sed -i -e 's|rm -rf|#rm -rf|g' package; \
|
||||
sed -i -e 's|make -f Makefile.funkey clean|#make -f Makefile.funkey clean|g' package; \
|
||||
chmod +x package; \
|
||||
./package \
|
||||
)
|
||||
endef
|
||||
|
||||
define GMU_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/bin/gmu/decoders
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/bin/gmu/frontends
|
||||
$(INSTALL) -m 0755 $(@D)/opk/gmu $(TARGET_DIR)/usr/bin/gmu
|
||||
$(INSTALL) -m 0755 $(@D)/opk/decoders/* $(TARGET_DIR)/usr/bin/gmu/decoders
|
||||
$(INSTALL) -m 0755 $(@D)/opk/frontends/* $(TARGET_DIR)/usr/bin/gmu/frontends
|
||||
endef
|
||||
|
||||
define GMU_CREATE_OPK
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/local/share/OPKs/Applications
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(GMU_PKGDIR)/opk $(TARGET_DIR)/usr/local/share/OPKs/Applications/gmu_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
|
||||
endef
|
||||
GMU_POST_INSTALL_TARGET_HOOKS += GMU_CREATE_OPK
|
||||
|
||||
$(eval $(generic-package))
|
||||
@@ -1,6 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=GMU
|
||||
Comment=A multi-format music player
|
||||
Exec=/usr/bin/gmu/gmu.dge
|
||||
Icon=gmu
|
||||
Categories=applications
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user