Skip to content

Commit

Permalink
mpc: build with meson
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Heider <a.heider@gmail.com>
  • Loading branch information
dhewg committed Sep 21, 2019
1 parent 7df4386 commit 286eba2
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 797 deletions.
14 changes: 4 additions & 10 deletions sound/mpc/Makefile
Expand Up @@ -17,10 +17,13 @@ PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>

PKG_FIXUP:=autoreconf
PKG_BUILD_DEPENDS:=meson/host
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
include ../../devel/meson/meson.mk

MESON_ARGS+=-Diconv=false

define Package/mpc
SECTION:=sound
Expand All @@ -37,15 +40,6 @@ define Package/mpc/description
this is MPC
endef

CONFIGURE_ARGS+= --disable-iconv

# Newer sources require meson/ninja to build so...
# Use our hacked-up version of the mpc v0.28 autotools.
define Build/Prepare
$(call Build/Prepare/Default)
$(CP) ./autotools-files/* $(PKG_BUILD_DIR)/
endef

define Package/mpc/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mpc $(1)/usr/bin/
Expand Down
33 changes: 0 additions & 33 deletions sound/mpc/autotools-files/Makefile.am

This file was deleted.

61 changes: 0 additions & 61 deletions sound/mpc/autotools-files/config.h.in

This file was deleted.

177 changes: 0 additions & 177 deletions sound/mpc/autotools-files/configure.ac

This file was deleted.

65 changes: 0 additions & 65 deletions sound/mpc/autotools-files/m4/ax_append_compile_flags.m4

This file was deleted.

0 comments on commit 286eba2

Please sign in to comment.