Tomas KaliberaUpdate packages.4cceab42 years agoHistory
37 lines · 1.3 KB · Text
RawDownload
# This file is part of MXE. See LICENSE.md for licensing information. PKG             := flac$(PKG)_WEBSITE  := https://www.xiph.org/flac/$(PKG)_DESCR    := Free Lossless Audio Codec$(PKG)_IGNORE   :=$(PKG)_VERSION  := 1.4.3$(PKG)_CHECKSUM := 6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70$(PKG)_SUBDIR   := flac-$($(PKG)_VERSION)$(PKG)_FILE     := flac-$($(PKG)_VERSION).tar.xz$(PKG)_URL      := https://downloads.xiph.org/releases/flac/$($(PKG)_FILE)$(PKG)_DEPS     := cc ogg $(BUILD)~nasm define $(PKG)_UPDATE    $(WGET) -q -O- 'https://downloads.xiph.org/releases/flac/' | \    $(SED) -n 's,.*<a href="flac-\([0-9][0-9.]*\)\.tar\.[gx]z">.*,\1,p' | \    $(SORT) -V | \    tail -1endef define $(PKG)_BUILD    cd '$(1)' && ./autogen.sh    $(if $(BUILD_STATIC), \        $(SED) -i 's/^\(Cflags:.*\)/\1 -DFLAC__NO_DLL/' \            '$(1)/src/libFLAC/flac.pc.in' \            '$(1)/src/libFLAC++/flac++.pc.in',)    cd '$(1)' && ./configure \        $(MXE_CONFIGURE_OPTS) \        --disable-doxygen-docs \        --disable-examples \        --disable-xmms-plugin \        --enable-cpplibs \        --enable-ogg \        --disable-oggtest    $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=    $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=endef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t