Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
4b7215036b | |||
e65fadfba6 | |||
fd407094a2 |
30
.drone.yml
30
.drone.yml
|
@ -166,11 +166,8 @@ steps:
|
||||||
- apt-get install -qy build-essential cmake lsb-release
|
- apt-get install -qy build-essential cmake lsb-release
|
||||||
- apt-get install -qy libpoco-dev libjsoncpp-dev file
|
- apt-get install -qy libpoco-dev libjsoncpp-dev file
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake -DWITH_DOC=NO ..
|
|
||||||
- make package
|
|
||||||
- cmake -DWITH_DEB=YES -DWITH_DOC=NO ..
|
- cmake -DWITH_DEB=YES -DWITH_DOC=NO ..
|
||||||
- make package
|
- make package
|
||||||
- cp -v mastodon-cpp-${DRONE_TAG}_x86_64.tar.gz ..
|
|
||||||
- cp -v libmastodon-cpp_${DRONE_TAG}-0_stretch_amd64.deb ..
|
- cp -v libmastodon-cpp_${DRONE_TAG}-0_stretch_amd64.deb ..
|
||||||
volumes:
|
volumes:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
|
@ -189,16 +186,33 @@ steps:
|
||||||
- apt-get install -qy build-essential cmake lsb-release
|
- apt-get install -qy build-essential cmake lsb-release
|
||||||
- apt-get install -qy libpoco-dev libjsoncpp-dev file
|
- apt-get install -qy libpoco-dev libjsoncpp-dev file
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake -DWITH_DOC=NO ..
|
|
||||||
- make package
|
|
||||||
- cmake -DWITH_DEB=YES -DWITH_DOC=NO ..
|
- cmake -DWITH_DEB=YES -DWITH_DOC=NO ..
|
||||||
- make package
|
- make package
|
||||||
- cp -v mastodon-cpp-${DRONE_TAG}_x86_64.tar.gz ..
|
|
||||||
- cp -v libmastodon-cpp_${DRONE_TAG}-0_buster_amd64.deb ..
|
- cp -v libmastodon-cpp_${DRONE_TAG}-0_buster_amd64.deb ..
|
||||||
volumes:
|
volumes:
|
||||||
- name: debian-package-cache
|
- name: debian-package-cache
|
||||||
path: /var/cache/apt/archives
|
path: /var/cache/apt/archives
|
||||||
|
|
||||||
|
- name: Ubuntu bionic
|
||||||
|
image: ubuntu:bionic
|
||||||
|
pull: always
|
||||||
|
environment:
|
||||||
|
CXXFLAGS: -pipe -O2
|
||||||
|
LANG: C.utf8
|
||||||
|
commands:
|
||||||
|
- rm -f /etc/apt/apt.conf.d/docker-clean
|
||||||
|
- rm -f /var/cache/apt/archives/lock
|
||||||
|
- apt-get update -q
|
||||||
|
- apt-get install -qy build-essential cmake lsb-release
|
||||||
|
- apt-get install -qy libpoco-dev libjsoncpp-dev file
|
||||||
|
- rm -rf build && mkdir -p build && cd build
|
||||||
|
- cmake -DWITH_DEB=YES -DWITH_DOC=NO ..
|
||||||
|
- make package
|
||||||
|
- cp -v libmastodon-cpp_${DRONE_TAG}-0_bionic_amd64.deb ..
|
||||||
|
volumes:
|
||||||
|
- name: debian-package-cache
|
||||||
|
path: /var/cache/apt/archives
|
||||||
|
|
||||||
- name: CentOS 7
|
- name: CentOS 7
|
||||||
image: centos:7
|
image: centos:7
|
||||||
pull: always
|
pull: always
|
||||||
|
@ -216,8 +230,6 @@ steps:
|
||||||
- yum install -qy poco-devel openssl-devel doxygen rpm-build
|
- yum install -qy poco-devel openssl-devel doxygen rpm-build
|
||||||
- yum --enablerepo=epel install -qy cmake3 jsoncpp-devel
|
- yum --enablerepo=epel install -qy cmake3 jsoncpp-devel
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake3 -DWITH_EXAMPLES=NO -DWITH_TESTS=NO ..
|
|
||||||
- make package
|
|
||||||
- cmake3 -DWITH_RPM=YES -DWITH_DOC=NO ..
|
- cmake3 -DWITH_RPM=YES -DWITH_DOC=NO ..
|
||||||
- make package
|
- make package
|
||||||
- cp -v libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm ..
|
- cp -v libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm ..
|
||||||
|
@ -235,9 +247,9 @@ steps:
|
||||||
title: ${DRONE_TAG}
|
title: ${DRONE_TAG}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
files:
|
files:
|
||||||
- mastodon-cpp-${DRONE_TAG}_x86_64.tar.gz
|
|
||||||
- libmastodon-cpp_${DRONE_TAG}-0_stretch_amd64.deb
|
- libmastodon-cpp_${DRONE_TAG}-0_stretch_amd64.deb
|
||||||
- libmastodon-cpp_${DRONE_TAG}-0_buster_amd64.deb
|
- libmastodon-cpp_${DRONE_TAG}-0_buster_amd64.deb
|
||||||
|
- libmastodon-cpp_${DRONE_TAG}-0_bionic_amd64.deb
|
||||||
- libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm
|
- libmastodon-cpp-${DRONE_TAG}-0.x86_64.rpm
|
||||||
checksum:
|
checksum:
|
||||||
- sha256
|
- sha256
|
||||||
|
|
|
@ -9,7 +9,7 @@ endif()
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
project (mastodon-cpp
|
project (mastodon-cpp
|
||||||
VERSION 0.111.4
|
VERSION 0.111.5
|
||||||
LANGUAGES CXX)
|
LANGUAGES CXX)
|
||||||
|
|
||||||
# DESCRIPTION was introduced in version 3.9.
|
# DESCRIPTION was introduced in version 3.9.
|
||||||
|
|
|
@ -3,6 +3,15 @@
|
||||||
:project: mastodon-cpp
|
:project: mastodon-cpp
|
||||||
:uri-base: https://schlomp.space/tastytea/{project}
|
:uri-base: https://schlomp.space/tastytea/{project}
|
||||||
:uri-branch-main: {uri-base}/src/branch/master
|
:uri-branch-main: {uri-base}/src/branch/master
|
||||||
|
:uri-mastodonpp: https://schlomp.space/tastytea/mastodonpp
|
||||||
|
|
||||||
|
[IMPORTANT]
|
||||||
|
This project has become too complicated to maintain by myself and I can't find
|
||||||
|
the energy to add features. **You can find a complete rewrite, with cleaner and
|
||||||
|
much easier to understand code at link:{uri-mastodonpp}[mastodonpp].** I
|
||||||
|
recommend switching to it. You can still report bugs here and I will respond,
|
||||||
|
but I won't put too much work in it. If you want to take over maintainership,
|
||||||
|
get in touch.
|
||||||
|
|
||||||
*{project}* is a C++ wrapper for the Mastodon API. You submit an API call
|
*{project}* is a C++ wrapper for the Mastodon API. You submit an API call
|
||||||
and get the raw JSON that you can then transform into easy to use abstractions.
|
and get the raw JSON that you can then transform into easy to use abstractions.
|
||||||
|
|
Reference in New Issue
Block a user