extra/ncmpcpp to 0.9.2-17

This commit is contained in:
Kevin Mihelich 2024-04-02 23:22:45 +00:00
parent f1fd23d025
commit 800b059be1
2 changed files with 13 additions and 12 deletions

View file

@ -1,11 +1,12 @@
pkgbase = ncmpcpp pkgbase = ncmpcpp
pkgdesc = Almost exact clone of ncmpc with some new features pkgdesc = Almost exact clone of ncmpc with some new features
pkgver = 0.9.2 pkgver = 0.9.2
pkgrel = 16 pkgrel = 17
url = https://ncmpcpp.rybczak.net/ url = https://ncmpcpp.rybczak.net/
arch = x86_64 arch = x86_64
license = GPL-2.0-only license = GPL-2.0-only
makedepends = boost makedepends = boost
makedepends = git
depends = curl depends = curl
depends = libcurl.so depends = libcurl.so
depends = libmpdclient depends = libmpdclient
@ -27,11 +28,11 @@ pkgbase = ncmpcpp
depends = readline depends = readline
depends = libreadline.so depends = libreadline.so
depends = taglib depends = taglib
source = https://rybczak.net/ncmpcpp/stable/ncmpcpp-0.9.2.tar.bz2 source = git+https://github.com/ncmpcpp/ncmpcpp.git#tag=0.9.2
source = taglib-2.patch source = taglib-2.patch
sha512sums = bbcb3b50233e363412af3c1cf1c0118122733dc376759cd35dee79950f42e098a0402ff670684df91847b990b26022630c9a71192e462bd46e70628e31489742 sha512sums = e40b19318af5c191a9397fbd337a2e807d945ae06d6bc349c9555c58820f59afba70448b030541754870d30f0fe78630e028611e184c8b25368c734bc51a7c87
sha512sums = fff2987f193bb0d0423b32d81d79dda4c8dd451f701b587a3456867387697736381e4e09489ea852f648449c8a0ec9fbb386f74b7207249abf12dfd4a8f54f36 sha512sums = fff2987f193bb0d0423b32d81d79dda4c8dd451f701b587a3456867387697736381e4e09489ea852f648449c8a0ec9fbb386f74b7207249abf12dfd4a8f54f36
b2sums = 160597493b93bac790b8619881e8a1fcf0efce4a538e35f54f31b06f3ed66691f02b37198cca46b475b7296aebbc864cb62a4398c60bd1e43907f9907a9bc118 b2sums = babc1506eca6dc5bd48e58fabfd42502d33b506b2e600b7aa98126a6deb0d68e14dc692abb0ef5079e3ccf710648f0b82fe1b404303d932f2156104c479442ec
b2sums = 7e45e21e493d3da4039ac27f1f3158cdc244b6df369d7a452f770ac068ae2635d60a9ea19f166f3f6eaa5a766f25a6ed76edd83c8700c0f53b492b170b806320 b2sums = 7e45e21e493d3da4039ac27f1f3158cdc244b6df369d7a452f770ac068ae2635d60a9ea19f166f3f6eaa5a766f25a6ed76edd83c8700c0f53b492b170b806320
pkgname = ncmpcpp pkgname = ncmpcpp

View file

@ -10,7 +10,7 @@
pkgname=ncmpcpp pkgname=ncmpcpp
pkgver=0.9.2 pkgver=0.9.2
pkgrel=16 pkgrel=17
pkgdesc='Almost exact clone of ncmpc with some new features' pkgdesc='Almost exact clone of ncmpc with some new features'
url='https://ncmpcpp.rybczak.net/' url='https://ncmpcpp.rybczak.net/'
arch=('x86_64') arch=('x86_64')
@ -19,16 +19,16 @@ depends=('curl' 'libcurl.so' 'libmpdclient' 'libmpdclient.so' 'fftw' 'libfftw3.s
'libboost_filesystem.so' 'libboost_locale.so' 'libboost_program_options.so' 'libboost_filesystem.so' 'libboost_locale.so' 'libboost_program_options.so'
'libboost_thread.so' 'icu' 'libicui18n.so' 'libicuuc.so' 'libboost_thread.so' 'icu' 'libicui18n.so' 'libicuuc.so'
'glibc' 'gcc-libs' 'ncurses' 'libncursesw.so' 'readline' 'libreadline.so' 'taglib') 'glibc' 'gcc-libs' 'ncurses' 'libncursesw.so' 'readline' 'libreadline.so' 'taglib')
makedepends=('boost') makedepends=('boost' 'git')
source=(https://rybczak.net/ncmpcpp/stable/${pkgname}-${pkgver}.tar.bz2 source=(git+https://github.com/ncmpcpp/ncmpcpp.git#tag=${pkgver}
taglib-2.patch) taglib-2.patch)
sha512sums=('bbcb3b50233e363412af3c1cf1c0118122733dc376759cd35dee79950f42e098a0402ff670684df91847b990b26022630c9a71192e462bd46e70628e31489742' sha512sums=('e40b19318af5c191a9397fbd337a2e807d945ae06d6bc349c9555c58820f59afba70448b030541754870d30f0fe78630e028611e184c8b25368c734bc51a7c87'
'fff2987f193bb0d0423b32d81d79dda4c8dd451f701b587a3456867387697736381e4e09489ea852f648449c8a0ec9fbb386f74b7207249abf12dfd4a8f54f36') 'fff2987f193bb0d0423b32d81d79dda4c8dd451f701b587a3456867387697736381e4e09489ea852f648449c8a0ec9fbb386f74b7207249abf12dfd4a8f54f36')
b2sums=('160597493b93bac790b8619881e8a1fcf0efce4a538e35f54f31b06f3ed66691f02b37198cca46b475b7296aebbc864cb62a4398c60bd1e43907f9907a9bc118' b2sums=('babc1506eca6dc5bd48e58fabfd42502d33b506b2e600b7aa98126a6deb0d68e14dc692abb0ef5079e3ccf710648f0b82fe1b404303d932f2156104c479442ec'
'7e45e21e493d3da4039ac27f1f3158cdc244b6df369d7a452f770ac068ae2635d60a9ea19f166f3f6eaa5a766f25a6ed76edd83c8700c0f53b492b170b806320') '7e45e21e493d3da4039ac27f1f3158cdc244b6df369d7a452f770ac068ae2635d60a9ea19f166f3f6eaa5a766f25a6ed76edd83c8700c0f53b492b170b806320')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}
patch -p1 -i ../taglib-2.patch patch -p1 -i ../taglib-2.patch
autoreconf -fiv autoreconf -fiv
sed -e 's/CXXFLAGS=/CXXFLAGS+=/' \ sed -e 's/CXXFLAGS=/CXXFLAGS+=/' \
@ -39,7 +39,7 @@ prepare() {
} }
build() { build() {
cd ${pkgname}-${pkgver} cd ${pkgname}
# http://site.icu-project.org/download/61#TOC-Migration-Issues # http://site.icu-project.org/download/61#TOC-Migration-Issues
export CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1' export CPPFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
@ -60,7 +60,7 @@ build() {
} }
package() { package() {
cd ${pkgname}-${pkgver} cd ${pkgname}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
install -Dm 755 extras/artist_to_albumartist -t "${pkgdir}/usr/bin" install -Dm 755 extras/artist_to_albumartist -t "${pkgdir}/usr/bin"
} }