diff options
Diffstat (limited to 'trinity-base/noatun-plugins')
-rw-r--r-- | trinity-base/noatun-plugins/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/noatun-plugins/noatun-plugins-14.0.11.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/trinity-base/noatun-plugins/Manifest b/trinity-base/noatun-plugins/Manifest index b3c1e9eb..1c6a5a76 100644 --- a/trinity-base/noatun-plugins/Manifest +++ b/trinity-base/noatun-plugins/Manifest @@ -1 +1,2 @@ +DIST tdeaddons-trinity-14.0.11.tar.xz 1462752 BLAKE2B 97ed650fd07b71869b72abaa44ef87986a395c2d332207c32973c09fc006a6f6d1f8049bfd3b424d3fe61b378f367a46b4fbd336b7fd964264a152a5a8880dff SHA512 d490748c9cb05e7d2c22cbe5c260579e54095822f3878b69f9bd9ec4d95960e2161ede46f61c28cdc0834dc66f08d382b751da253a9db4b969c0a429cf219d25 DIST tdeaddons-trinity-14.0.8.tar.xz 1461068 BLAKE2B a093a5ec49b5d2bdf2787053be8b1e6a96265169afbd1f9ea5748a6c5ec789733c7c7fb46a1b99fa6d4b0fa4427e15366017bd1572dddee4df4d8fd0c5151add SHA512 a07703f6ca9637398ba70203a8a891256321ad06daf07a806e31bbc82033e6b5fce79a35f7cef1049ca6cb8e2390f2ac805de389bd01a3aaf3fe250c59e2abed diff --git a/trinity-base/noatun-plugins/noatun-plugins-14.0.11.ebuild b/trinity-base/noatun-plugins/noatun-plugins-14.0.11.ebuild new file mode 100644 index 00000000..d553e22a --- /dev/null +++ b/trinity-base/noatun-plugins/noatun-plugins-14.0.11.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Copyright 2021 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +TRINITY_NEED_ARTS="optional" +TRINITY_MODULE_NAME="tdeaddons" +TRINITY_MODULE_TYPE="core" +inherit trinity-meta-2 db-use + +DESCRIPTION="Various plugins for Noatun" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~x86" +fi +IUSE="sdl berkdb" + +COMMON_DEPEND=" + ~trinity-base/noatun-${PV} + berkdb? ( =sys-libs/db-4*:= ) +" +DEPEND="${COMMON_DEPEND} + sdl? ( media-libs/libsdl ) +" +RDEPEND="${COMMON_DEPEND} + sdl? ( media-libs/libsdl[X] ) +" + +src_configure() { + local mycmakeargs=( + -DWITH_SDL="$(usex sdl)" + ) + + if use berkdb; then + local mycmakeargs+=( + -DWITH_BERKELEY_DB=ON + -DBERKELEY_DB_LIBS="$(db_libname)" + -DBERKELEY_DB_INCLUDE_DIRS="${ROOT}$(db_includedir)" + ) + else + local mycmakeargs+=( + -DWITH_BERKELEY_DB=OFF + ) + fi + + trinity-meta-2_src_configure +} |