This commit is contained in:
4fury-c3440d8
2020-12-13 09:56:29 +00:00
parent c3e440a411
commit f0cb39e2c0
8 changed files with 296 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "--enable-outputs \
--disable-visualizer \
--disable-clock \
--disable-static \
--with-taglib \
"
def setup():
autotools.configure(j)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "INSTALL", "NEWS")
@@ -0,0 +1,26 @@
From 399e0f47008b487df3505476c959b4f42d8bc1b1 Mon Sep 17 00:00:00 2001
From: Louis Sautier <sautier.louis@gmail.com>
Date: Sat, 9 May 2020 14:31:52 +0200
Subject: [PATCH] Fix build with GCC 10 by adding missing include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes the following error:
./mpdpp.h:438:15: error: ‘runtime_error’ is not a member of ‘std’
---
src/mpdpp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mpdpp.h b/src/mpdpp.h
index a2bb79eb..abd3666c 100644
--- a/src/mpdpp.h
+++ b/src/mpdpp.h
@@ -25,6 +25,7 @@
#include <exception>
#include <random>
#include <set>
+#include <stdexcept>
#include <vector>
#include <mpd/client.h>
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0"?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ncmpcpp</Name>
<Homepage>https://rybczak.net/ncmpcpp/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>multimedia.sound</PartOf>
<Summary>NCurses Music Player Client (Plus Plus).</Summary>
<Description>
ncmpcpp – featureful ncurses based MPD client inspired by ncmpc.
</Description>
<Archive sha1sum="bb604fe6c42f0f5f9547d5dc4d7d52d293399f42" type="tarbz2">
https://rybczak.net/ncmpcpp/stable/ncmpcpp-0.8.2.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>libmpdclient-devel</Dependency>
<Dependency>curl-devel</Dependency>
<!-- <Dependency>fftw3-devel</Dependency> -->
<Dependency>boost-devel</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">gcc10.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ncmpcpp</Name>
<RuntimeDependencies>
<Dependency>libmpdclient</Dependency>
<Dependency>mpd</Dependency>
<Dependency>curl</Dependency>
<Dependency>boost</Dependency>
<!-- <Dependency>fftw3</Dependency> -->
<Dependency>libgcc</Dependency>
<Dependency>taglib</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>readline</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-12-13</Date>
<Version>0.8.2</Version>
<Comment>0.9 release coming soon.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ncmpcpp</Name>
<Summary xml:lang="tr">Ncurses tabanlı MPD istemcisi</Summary>
<Description xml:lang="tr">Ncmpcpp; etiket düzenleyici, çalma listesi düzenleyici, şarkı sözü desteği vb. özellikleri olan bir MPD istemcisidir.</Description>
</Source>
</PISI>