summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Järvinen <antti.jarvinen@katiska.org>2023-04-16 18:43:00 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-05-07 11:01:25 +0300
commit966e601dcb45ffe76cf6274800804bc420092c51 (patch)
tree38ac962e6cd970f2a41dd3ede3d03e2b7ac7ecd9 /net-p2p
parentmedia-video/motion: revbump due to previous init.d file update (diff)
downloadgentoo-966e601dcb45ffe76cf6274800804bc420092c51.tar.gz
gentoo-966e601dcb45ffe76cf6274800804bc420092c51.tar.bz2
gentoo-966e601dcb45ffe76cf6274800804bc420092c51.zip
net-p2p/classified-ads: add 0.16
Signed-off-by: Antti Järvinen <antti.jarvinen@katiska.org> Closes: https://github.com/gentoo/gentoo/pull/30619 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/classified-ads/Manifest2
-rw-r--r--net-p2p/classified-ads/classified-ads-0.16.ebuild84
2 files changed, 86 insertions, 0 deletions
diff --git a/net-p2p/classified-ads/Manifest b/net-p2p/classified-ads/Manifest
index 1f94507b6b58..cf15653a883f 100644
--- a/net-p2p/classified-ads/Manifest
+++ b/net-p2p/classified-ads/Manifest
@@ -1,6 +1,8 @@
DIST classified-ads-0.13.tar.gz 2656104 BLAKE2B d02f723d7371abc2a8c0a6bfde300c8a4f16e5fcc43a17c5d8b8cce4ab21371df82b734e5813ebded6672e8448b7e8ee19c68836926dcc7af1824bfa173de0ef SHA512 7b6114705ac5867223e4e74c13aad47a4a38c24cd5e062e50dd7c0a5829ff011151a93562b1a5ab37f04fe3d6a93258e9ca4845748bbb02db882818284fe4a3a
DIST classified-ads-0.14.tar.gz 2657632 BLAKE2B e3b405cb4c706a17158871b571a28f8a024b87e73e758858cec2387a7889ddf1ee5af2ce84b151d31bb5271991531380a2f177028022e2f5e28d7720926ebf8e SHA512 1d68c494f1f680b36fd8997183d222c8c4fd852cb4278947aed1744ba49d49d1cbb04ee06d6952ab22096c6d8b87b940c66d518cb26757fe03f17b3d1ce6dddb
DIST classified-ads-0.15.tar.gz 2657723 BLAKE2B 71d670d716aa8dd743a981fb29545117b3cdc68ac8777870182676c2a03ab7d86d3ec84ad30a283874f7d643e7776faabd1e2a481f2a265e677c07a52690bd40 SHA512 5d770b213db14fc33491223a880daae923b4dc60d2d75398bf4a272e28618a3d1198c1d949daf5e59de28b71f90627945bd9c39b96c44bfbb445d5d8f96ce15d
+DIST classified-ads-0.16.tar.gz 2712434 BLAKE2B 09d541a80c4d0a8adfde0a34ee781f1ed02dfe632280f1928fd55f1aa6486364a45b94f88d5e5e0804d3c91cb3e2f8e7fa6a8477dab629d68f15a441ee404bf3 SHA512 1ca9ca0d3282f2e8230320f02eb405fc10b30b6f2b5f89e25105d71b64ff1d38616e8a48e7faca25643af9ce507d56c4b42022e7c2b90efe5d8e6d23e927d044
DIST classified-ads-graphics-0.13.tar.gz 340476 BLAKE2B c9bac95f0e620a671959f0eb8c719cd70be5c9340ccb3bc3baa7eae669b5201d3127880b9006a4031e09be09e72754c8ec07824b3581e3af691c3944d5b32d21 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d
DIST classified-ads-graphics-0.14.tar.gz 340476 BLAKE2B c9bac95f0e620a671959f0eb8c719cd70be5c9340ccb3bc3baa7eae669b5201d3127880b9006a4031e09be09e72754c8ec07824b3581e3af691c3944d5b32d21 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d
DIST classified-ads-graphics-0.15.tar.gz 340476 BLAKE2B c9bac95f0e620a671959f0eb8c719cd70be5c9340ccb3bc3baa7eae669b5201d3127880b9006a4031e09be09e72754c8ec07824b3581e3af691c3944d5b32d21 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d
+DIST classified-ads-graphics-0.16.tar.gz 340476 BLAKE2B c9bac95f0e620a671959f0eb8c719cd70be5c9340ccb3bc3baa7eae669b5201d3127880b9006a4031e09be09e72754c8ec07824b3581e3af691c3944d5b32d21 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d
diff --git a/net-p2p/classified-ads/classified-ads-0.16.ebuild b/net-p2p/classified-ads/classified-ads-0.16.ebuild
new file mode 100644
index 000000000000..1118b25b2f7d
--- /dev/null
+++ b/net-p2p/classified-ads/classified-ads-0.16.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils virtualx xdg
+
+DESCRIPTION="Program for displaying classified advertisement items"
+HOMEPAGE="http://katiska.org/classified-ads/"
+SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz
+ -> classified-ads-${PV}.tar.gz
+ https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true
+ -> classified-ads-graphics-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-arch/bzip2
+ dev-lang/tcl:=
+ dev-lang/tk:=
+ dev-libs/openssl:0=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5[widgets]
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtwidgets:5
+ media-libs/opus
+ net-libs/libnatpmp
+ net-libs/miniupnpc:=
+ sys-apps/file
+ sys-libs/zlib
+ virtual/libintl"
+
+DEPEND="${RDEPEND}
+ test? ( dev-libs/libgcrypt:0
+ dev-qt/qttest:5
+ sys-devel/gdb:0 )"
+
+BDEPEND="sys-devel/gettext
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ # preprocessed graphics are unpacked into wrong directory
+ # so lets move them into correct location:
+ mv ../ui/* ui/ || die
+ default
+}
+
+src_configure() {
+ eqmake5 examplefiles.path=/usr/share/doc/${PF}/examples
+ if use test; then
+ cd testca || die
+ eqmake5
+ fi
+}
+
+src_compile() {
+ emake
+ if use doc; then
+ pushd doc > /dev/null || die
+ doxygen || die
+ popd > /dev/null || die
+ fi
+ if use test; then
+ emake -C testca
+ fi
+}
+
+src_test() {
+ # testca will return 0 if all unit tests pass
+ virtx ./testca/testca || die
+}
+
+src_install() {
+ docompress -x /usr/share/doc/
+ emake install INSTALL_ROOT="${D}" DESTDIR="${D}"
+ use doc && dodoc -r doc/doxygen.generated/html/.
+}