Merge branch 'master' of ssh://github.com/dvdmuckle/musikcube

This commit is contained in:
David Muckle 2017-12-16 19:06:07 -05:00
commit ed9e9cde5a
2 changed files with 11 additions and 1 deletions

View File

@ -9,7 +9,9 @@ jobs:
- run: apt-get install -y build-essential clang cmake libboost-thread1.58-dev libboost-system1.58-dev libboost-filesystem1.58-dev libboost-date-time1.58-dev libboost-atomic1.58-dev libboost-chrono1.58-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_DISTRO=xenial -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
- run: make -j2 && make package
- run: apt-get install -y ruby ruby-all-dev && gem install package_cloud -v 0.2.44
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- run: package_cloud push --skip-errors dvdmuckle/musikcube/ubuntu/xenial /root/debs/*.deb
- store_artifacts:
path: /root/debs/
build_ubuntu_artful:
@ -21,7 +23,9 @@ jobs:
- run: apt-get install -y build-essential clang cmake libboost-thread1.63-dev libboost-system1.63-dev libboost-filesystem1.63-dev libboost-date-time1.63-dev libboost-atomic1.63-dev libboost-chrono1.63-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_DISTRO=artful -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
- run: make -j2 && make package
- run: apt-get install -y ruby ruby-all-dev && gem install package_cloud -v 0.2.44
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- run: package_cloud push --skip-errors dvdmuckle/musikcube/ubuntu/artful /root/debs/*.deb
- store_artifacts:
path: /root/debs/
build_ubuntu_zesty:
@ -33,7 +37,9 @@ jobs:
- run: apt-get -y install build-essential clang cmake libboost-thread1.61-dev libboost-system1.61-dev libboost-filesystem1.61-dev libboost-date-time1.61-dev libboost-atomic1.61-dev libboost-chrono1.61-dev libogg-dev libvorbis-dev libflac-dev libfaad-dev libncursesw5-dev libasound2-dev libpulse-dev pulseaudio libmicrohttpd-dev libmp3lame-dev libcurl4-openssl-dev
- run: cmake -DGENERATE_DEB=1 -DDEB_ARCHITECTURE=amd64 -DDEB_DISTRO=zesty -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
- run: make -j2 && make package
- run: apt-get install -y ruby ruby-all-dev && gem install package_cloud -v 0.2.44
- run: mkdir -p /root/debs && mv /root/project/*.deb /root/debs/
- run: package_cloud push --skip-errors dvdmuckle/musikcube/ubuntu/zesty /root/debs/*.deb
- store_artifacts:
path: /root/debs/
build_fedora_26:
@ -45,7 +51,9 @@ jobs:
- run: dnf builddep -y musikcube.spec
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
- run: rpmbuild -ba -vv musikcube.spec
- run: dnf install -y ruby ruby-devel && gem install package_cloud -v 0.2.44
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
- run: package_cloud push --skip-errors dvdmuckle/musikcube/fedora/26 /root/rpms/*.rpm
- store_artifacts:
path: /root/rpms/
build_fedora_27:
@ -57,7 +65,9 @@ jobs:
- run: dnf builddep -y musikcube.spec
- run: mkdir -p /root/rpmbuild/SOURCES && spectool -g -R musikcube.spec
- run: rpmbuild -ba -vv musikcube.spec
- run: dnf install -y ruby ruby-devel && gem install package_cloud -v 0.2.44
- run: mkdir -p /root/rpms && mv /root/rpmbuild/RPMS/x86_64/*.rpm /root/rpms/
- run: package_cloud push --skip-errors dvdmuckle/musikcube/fedora/27 /root/rpms/*.rpm
- store_artifacts:
path: /root/rpms/

View File

@ -6,7 +6,7 @@ Version: %{version}
Release: %{build_timestamp}%{dist}
Summary: A cross-platform, terminal-based audio engine, library, player and server written in C++
Source0: https://github.com/clangen/musikcube/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
License: GPLv3
License: BSD-3-Clause
Packager: David Muckle <dvdmuckle@dvdmuckle.xyz>
BuildRequires: gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel make
Requires: boost libogg libvorbis flac ncurses zlib alsa-lib pulseaudio-libs libcurl libmicrohttpd lame