From 718246d6170637e061ece500b67020ffd66b405d Mon Sep 17 00:00:00 2001 From: Autumn Date: Sun, 19 Apr 2026 10:51:00 +0100 Subject: [dev-libs/smooth] make cairo a USE flag --- dev-libs/smooth/smooth-0.9.10-r1.ebuild | 47 +++++++++++++++++++++++++++++++++ dev-libs/smooth/smooth-0.9.10.ebuild | 34 ------------------------ 2 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 dev-libs/smooth/smooth-0.9.10-r1.ebuild delete mode 100644 dev-libs/smooth/smooth-0.9.10.ebuild (limited to 'dev-libs') diff --git a/dev-libs/smooth/smooth-0.9.10-r1.ebuild b/dev-libs/smooth/smooth-0.9.10-r1.ebuild new file mode 100644 index 0000000..abd18b0 --- /dev/null +++ b/dev-libs/smooth/smooth-0.9.10-r1.ebuild @@ -0,0 +1,47 @@ +# +# ~~~ dev-libs/smooth +# +# ~~~ a C++ class library +# + +# +# ~~~ metadata + +# portage info +EAPI=8 +SLOT=0 + +KEYWORDS="amd64" +IUSE="cairo" + +# info +HOMEPAGE="https://smooth-project.org/" +DESCRIPTION="The smooth C++ class library" +LICENSE="Artistic-2" + +# package data +SRC_URI="https://github.com/enzo1982/smooth/releases/download/v${PV}/${P}.tar.gz" + +# +# ~~~ dependencies + +# build-time dependencies +BDEPEND=" + app-arch/bzip2 + dev-libs/fribidi + dev-libs/libxml2 + media-libs/libjpeg-turbo + net-misc/curl + x11-libs/gtk+:3[X]" + +# +# ~~~ steps + +# compile +src_compile() { + if use cairo ; then + emake DESTDIR="${D}" BUILD_CAIRO="True" || die "emake failed" + else + emake DESTDIR="${D}" BUILD_CAIRO="True" || die "emake failed" + fi +} diff --git a/dev-libs/smooth/smooth-0.9.10.ebuild b/dev-libs/smooth/smooth-0.9.10.ebuild deleted file mode 100644 index 15c76d2..0000000 --- a/dev-libs/smooth/smooth-0.9.10.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# -# ~~~ dev-libs/smooth -# -# ~~~ a C++ class library -# - -# -# ~~~ metadata - -# portage info -EAPI=8 -SLOT=0 - -KEYWORDS="amd64" - -# info -HOMEPAGE="https://smooth-project.org/" -DESCRIPTION="The smooth C++ class library" -LICENSE="Artistic-2" - -# package data -SRC_URI="https://github.com/enzo1982/smooth/releases/download/v${PV}/${P}.tar.gz" - -# -# ~~~ dependencies - -# build-time dependencies -BDEPEND=" - app-arch/bzip2 - dev-libs/fribidi - dev-libs/libxml2 - media-libs/libjpeg-turbo - net-misc/curl - x11-libs/gtk+" -- cgit v1.3