summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/asio/Manifest1
-rw-r--r--dev-cpp/asio/asio-1.10.8.ebuild51
-rw-r--r--dev-cpp/atkmm/atkmm-2.28.2.ebuild16
-rw-r--r--dev-cpp/atkmm/atkmm-2.36.1.ebuild16
-rw-r--r--dev-cpp/cairomm/cairomm-1.14.3.ebuild18
-rw-r--r--dev-cpp/cairomm/cairomm-1.16.1.ebuild18
-rw-r--r--dev-cpp/glibmm/glibmm-2.66.1.ebuild18
-rw-r--r--dev-cpp/glibmm/glibmm-2.68.1.ebuild18
-rw-r--r--dev-cpp/gtkmm/gtkmm-3.24.5.ebuild16
-rw-r--r--dev-cpp/pangomm/pangomm-2.42.2.ebuild16
-rw-r--r--dev-cpp/pangomm/pangomm-2.48.1.ebuild16
11 files changed, 76 insertions, 128 deletions
diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest
index a34ccedd51e8..c2a2d86341cb 100644
--- a/dev-cpp/asio/Manifest
+++ b/dev-cpp/asio/Manifest
@@ -1,2 +1,3 @@
+DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
DIST asio-1.18.1.tar.bz2 1729219 BLAKE2B 3f020407403175ffb6777b855a38e708241499e0fc8f1389b367bac4faf1e14b94cdf45f3b5ba64e12303237c8a3f817f7b7c320e7a58d72be6b19e04022c681 SHA512 06b41869858b69bc523564d5b219f8ebc995ca862e989f65233778c7596143075662880b6c5dd2eb24c21ba6e68a450888ab07a6bc8585bb6ede9a738e1e27c0
DIST asio-1.18.2.tar.bz2 1743146 BLAKE2B 8db47419180095e4f05a63e4f414f33399e44f1dfb36299c70fef8bfef347f25df67ae78abf6b6b051e350b10099ec49e751b129bb1913dadf792e24048233a2 SHA512 ebe659f958b1813c4a843dce94a8f51d3a3b9f8e0237aa0f032009adaf85400b63b04ac8d664c9424397927d34d78206cbc646d921a520ed415c505f086628b1
diff --git a/dev-cpp/asio/asio-1.10.8.ebuild b/dev-cpp/asio/asio-1.10.8.ebuild
new file mode 100644
index 000000000000..ae58c5824c16
--- /dev/null
+++ b/dev-cpp/asio/asio-1.10.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2021 Liguros Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=7
+
+DESCRIPTION="Asynchronous Network Library"
+HOMEPAGE="http://think-async.com/Asio/ https://github.com/chriskohlhoff/asio"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc examples libressl ssl test"
+RESTRICT="!test? ( test )"
+# test searches for libssl during ./configure, and REQUIRED_USE is easier than
+# patching configure to not search for it with USE=-ssl
+REQUIRED_USE="test? ( ssl )"
+
+RDEPEND="dev-libs/boost:=
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ if ! use test; then
+ # Don't build nor install any examples or unittests
+ # since we don't have a script to run them
+ cat > src/Makefile.in <<-EOF || die
+ all:
+
+ install:
+
+ clean:
+ EOF
+ fi
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( doc/. )
+ default
+
+ if use examples; then
+ # Get rid of the object files
+ emake clean
+ dodoc -r src/examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-cpp/atkmm/atkmm-2.28.2.ebuild b/dev-cpp/atkmm/atkmm-2.28.2.ebuild
index d95e3c31d3d9..dac2af9232aa 100644
--- a/dev-cpp/atkmm/atkmm-2.28.2.ebuild
+++ b/dev-cpp/atkmm/atkmm-2.28.2.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1
+inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for the ATK library"
HOMEPAGE="https://www.gtkmm.org"
@@ -32,19 +32,7 @@ BDEPEND="
multilib_src_configure() {
local emesonargs=(
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc build-documentation)
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-multilib_src_test() {
- meson_src_test
-}
diff --git a/dev-cpp/atkmm/atkmm-2.36.1.ebuild b/dev-cpp/atkmm/atkmm-2.36.1.ebuild
index 612d8b1934c3..3c0496491391 100644
--- a/dev-cpp/atkmm/atkmm-2.36.1.ebuild
+++ b/dev-cpp/atkmm/atkmm-2.36.1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1
+inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for the ATK library"
HOMEPAGE="https://www.gtkmm.org"
@@ -32,19 +32,7 @@ BDEPEND="
multilib_src_configure() {
local emesonargs=(
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc build-documentation)
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-multilib_src_test() {
- meson_src_test
-}
diff --git a/dev-cpp/cairomm/cairomm-1.14.3.ebuild b/dev-cpp/cairomm/cairomm-1.14.3.ebuild
index e06b42ee964d..b526ba21b66b 100644
--- a/dev-cpp/cairomm/cairomm-1.14.3.ebuild
+++ b/dev-cpp/cairomm/cairomm-1.14.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit meson multilib-minimal
+inherit meson-multilib
DESCRIPTION="C++ bindings for the Cairo vector graphics library"
HOMEPAGE="https://cairographics.org/cairomm/"
@@ -36,22 +36,10 @@ BDEPEND="
multilib_src_configure() {
local emesonargs=(
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc build-documentation)
-Dbuild-examples=false
- -Dbuild-tests=$(usex test true false)
+ $(meson_use test build-tests)
-Dboost-shared=true
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-multilib_src_test() {
- meson_src_test
-}
diff --git a/dev-cpp/cairomm/cairomm-1.16.1.ebuild b/dev-cpp/cairomm/cairomm-1.16.1.ebuild
index 67a60abc4574..a2d8be8732dc 100644
--- a/dev-cpp/cairomm/cairomm-1.16.1.ebuild
+++ b/dev-cpp/cairomm/cairomm-1.16.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit meson multilib-minimal
+inherit meson-multilib
DESCRIPTION="C++ bindings for the Cairo vector graphics library"
HOMEPAGE="https://cairographics.org/cairomm/"
@@ -36,22 +36,10 @@ BDEPEND="
multilib_src_configure() {
local emesonargs=(
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc documentation)
-Dbuild-examples=false
- -Dbuild-tests=$(usex test true false)
+ $(meson_use test build-tests)
-Dboost-shared=true
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-multilib_src_test() {
- meson_src_test
-}
diff --git a/dev-cpp/glibmm/glibmm-2.66.1.ebuild b/dev-cpp/glibmm/glibmm-2.66.1.ebuild
index 009bfacfdd4d..32345c879df6 100644
--- a/dev-cpp/glibmm/glibmm-2.66.1.ebuild
+++ b/dev-cpp/glibmm/glibmm-2.66.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1
+inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for glib2"
HOMEPAGE="https://www.gtkmm.org"
@@ -46,21 +46,9 @@ multilib_src_configure() {
local emesonargs=(
-Dwarnings=min
-Dbuild-deprecated-api=true
- -Dbuild-documentation=$(usex doc true false)
- -Ddebug-refcounting=$(usex debug true false)
+ $(meson_native_use_bool doc build-documentation)
+ $(meson_use debug debug-refcounting)
-Dbuild-examples=false
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_test() {
- meson_src_test
-}
-
-multilib_src_install() {
- meson_src_install
-}
diff --git a/dev-cpp/glibmm/glibmm-2.68.1.ebuild b/dev-cpp/glibmm/glibmm-2.68.1.ebuild
index 74d52c4d5b0c..b35bdf0534bf 100644
--- a/dev-cpp/glibmm/glibmm-2.68.1.ebuild
+++ b/dev-cpp/glibmm/glibmm-2.68.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1
+inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for glib2"
HOMEPAGE="https://www.gtkmm.org"
@@ -44,21 +44,9 @@ multilib_src_configure() {
local emesonargs=(
-Dwarnings=min
-Dbuild-deprecated-api=true
- -Dbuild-documentation=$(usex doc true false)
- -Ddebug-refcounting=$(usex debug true false)
+ $(meson_native_use_bool doc build-documentation)
+ $(meson_use debug debug-refcounting)
-Dbuild-examples=false
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_test() {
- meson_src_test
-}
-
-multilib_src_install() {
- meson_src_install
-}
diff --git a/dev-cpp/gtkmm/gtkmm-3.24.5.ebuild b/dev-cpp/gtkmm/gtkmm-3.24.5.ebuild
index 31d2d429f691..4dc39c5bd209 100644
--- a/dev-cpp/gtkmm/gtkmm-3.24.5.ebuild
+++ b/dev-cpp/gtkmm/gtkmm-3.24.5.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1 virtualx
+inherit gnome.org meson-multilib python-any-r1 virtualx
DESCRIPTION="C++ interface for GTK+"
HOMEPAGE="https://www.gtkmm.org"
@@ -42,21 +42,13 @@ multilib_src_configure() {
local emesonargs=(
-Dbuild-atkmm-api=true
-Dbuild-demos=false
- -Dbuild-documentation=$(multilib_native_usex doc true false)
- -Dbuild-tests=$(usex test true false)
- -Dbuild-x11-api=$(usex X true false)
+ $(meson_native_use_bool doc build-documentation)
+ $(meson_use test build-tests)
+ $(meson_use X build-x11-api)
)
meson_src_configure
}
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
multilib_src_test() {
virtx meson_src_test
}
diff --git a/dev-cpp/pangomm/pangomm-2.42.2.ebuild b/dev-cpp/pangomm/pangomm-2.42.2.ebuild
index 66b5e949bc2c..ec88c26bb76f 100644
--- a/dev-cpp/pangomm/pangomm-2.42.2.ebuild
+++ b/dev-cpp/pangomm/pangomm-2.42.2.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1
+inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for pango"
HOMEPAGE="https://www.gtkmm.org"
@@ -33,19 +33,7 @@ BDEPEND="
multilib_src_configure() {
local emesonargs=(
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc build-documentation)
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-multilib_src_test() {
- meson_src_test
-}
diff --git a/dev-cpp/pangomm/pangomm-2.48.1.ebuild b/dev-cpp/pangomm/pangomm-2.48.1.ebuild
index 6860e1463bda..f5c3649a487a 100644
--- a/dev-cpp/pangomm/pangomm-2.48.1.ebuild
+++ b/dev-cpp/pangomm/pangomm-2.48.1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-inherit gnome.org meson multilib-minimal python-any-r1
+inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for pango"
HOMEPAGE="https://www.gtkmm.org"
@@ -33,19 +33,7 @@ BDEPEND="
multilib_src_configure() {
local emesonargs=(
- -Dbuild-documentation=$(multilib_native_usex doc true false)
+ $(meson_native_use_bool doc build-documentation)
)
meson_src_configure
}
-
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_install() {
- meson_src_install
-}
-
-multilib_src_test() {
- meson_src_test
-}