[Buildroot] [PATCH 1/1] package/mpd: bump to version 0.19

Jörg Krause jkrause at posteo.de
Mon Oct 13 07:43:52 UTC 2014


Dear Thomas Petazzoni,

On 10/12/2014 09:40 PM, Thomas Petazzoni wrote:
> Dear Jörg Krause,
>
> On Sun, 12 Oct 2014 21:10:57 +0200, Jörg Krause wrote:
>
>> diff --git a/package/mpd/Config.in b/package/mpd/Config.in
>> index 8884464..c4a263a 100644
>> --- a/package/mpd/Config.in
>> +++ b/package/mpd/Config.in
>> @@ -1,12 +1,14 @@
>>   menuconfig BR2_PACKAGE_MPD
>>   	bool "mpd"
>> +	depends on BR2_LARGEFILE # boost
> Then the comment at the bottom of mpd's Config.in should be updated as
> well.
>

Done.

>> +config BR2_PACKAGE_MPD_ICU
>> +	bool "icu"
> "icu support", or "Unicode support"

Done.

>> +	default y
> Any reason to enable it by default?

Unicode support is enabled by default in mpd configure. It has to be 
disabled by the user. I just wanted to be consistent in the sense of the 
mpd configure file.

>> diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
>> index 932df08..b98043d 100644
>> --- a/package/mpd/mpd.mk
>> +++ b/package/mpd/mpd.mk
>> @@ -4,11 +4,11 @@
>>   #
>>   ################################################################################
>>   
>> -MPD_VERSION_MAJOR = 0.18
>> -MPD_VERSION = $(MPD_VERSION_MAJOR).16
>> +MPD_VERSION_MAJOR = 0.19
>> +MPD_VERSION = $(MPD_VERSION_MAJOR)
> The MPD_VERSION_MAJOR variable becomes a bit useless, but ok, we can
> believe that they will do some 0.19.x release in the future.

Yeah, I think so, too.

>
>>   MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz
>>   MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR)
>> -MPD_DEPENDENCIES = host-pkgconf libglib2
>> +MPD_DEPENDENCIES = host-pkgconf boost libglib2
>>   MPD_LICENSE = GPLv2+
>>   MPD_LICENSE_FILES = COPYING
>>   
>> @@ -175,6 +175,13 @@ else
>>   MPD_CONF_OPTS += --disable-ffmpeg
>>   endif
>>   
>> +# icu is enabled by default
>> +ifeq ($(BR2_PACKAGE_MPD_ICU),y)
>> +MPD_DEPENDENCIES += icu
> MPD_CONF_OPTS += --enable-icu

As described above, icu (unicode support) is enabled by default. But I 
will add this.

>
>> +else
>> +MPD_CONF_OPTS += --disable-icu
>> +endif
>> +
>>   define MPD_INSTALL_EXTRA_FILES
>>   	@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
>>   		$(INSTALL) -D package/mpd/mpd.conf \

Many thanks for the review!

Jörg



More information about the buildroot mailing list