]> Some of my projects - anidbudpclient-overlay.git/commitdiff
Add Qt6 ebuilds master
authorAPTX <redacted>
Sat, 7 Mar 2026 02:39:01 +0000 (11:39 +0900)
committerAPTX <redacted>
Sat, 7 Mar 2026 03:59:26 +0000 (12:59 +0900)
app-anidbudpclient/anidbudpclient/anidbudpclient-9999-r4.ebuild [new file with mode: 0644]
app-anidbudpclient/localmylist/localmylist-9999-r3.ebuild [new file with mode: 0644]

diff --git a/app-anidbudpclient/anidbudpclient/anidbudpclient-9999-r4.ebuild b/app-anidbudpclient/anidbudpclient/anidbudpclient-9999-r4.ebuild
new file mode 100644 (file)
index 0000000..d8be698
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+EGIT_REPO_URI="https://tyo.aptx.org/git/anidbudpclient.git"
+EXPERIMENTAL="true"
+
+inherit git-r3 cmake
+
+DESCRIPTION="AniDBUdpClient library"
+HOMEPAGE="https://tyo.aptx.org/gitweb/?p=anidbudpclient.git;a=summary"
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+renameparser +encryption"
+DEPEND="
+       >=dev-qt/qtbase-6.10:6[network]
+       >=dev-qt/qtdeclarative-6.10:6
+       >=dev-qt/qtscxml-6.10:6
+       renameparser? ( app-anidbudpclient/aucqjsenginefunction )
+       encryption? (  >=app-crypt/qca-2.3.10[ssl] )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DWITH_RENAMEPARSER="$(usex renameparser)"
+               -DWITH_ENCRYPTION="$(usex encryption)"
+       )
+       cmake_src_configure
+}
diff --git a/app-anidbudpclient/localmylist/localmylist-9999-r3.ebuild b/app-anidbudpclient/localmylist/localmylist-9999-r3.ebuild
new file mode 100644 (file)
index 0000000..74da4c2
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+EGIT_REPO_URI="https://aptx.org/git/localmylist.git"
+EXPERIMENTAL="true"
+
+inherit git-r3 cmake desktop xdg-utils
+
+DESCRIPTION="LocalMyList library"
+HOMEPAGE="https://aptx.org/gitweb/?p=localmylist.git;a=summary"
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+anidbudpclient gui daemon tools"
+
+DEPEND="
+       >=dev-qt/qtbase-6.10:6[network,postgres]
+       gui? ( >=dev-qt/qtbase-6.10:6[gui,widgets] )
+       app-anidbudpclient/aucqjsenginefunction
+       anidbudpclient? ( >=app-anidbudpclient/anidbudpclient-9999-r4[renameparser] )
+       dev-libs/boost
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DWITH_ANIDBUDPCLIENT="$(usex anidbudpclient)"
+               -DWITH_GUI="$(usex gui)"
+               -DWITH_ANIONI="$(usex daemon)"
+               -DWITH_TOOLS="$(usex tools)"
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+
+       if use daemon ; then
+               newinitd "${FILESDIR}"/anioni.initd anioni
+               newconfd "${FILESDIR}"/anioni.confd anioni
+       fi
+
+       if use gui ; then
+               domenu "${S}/localmylist-management/share/localmylist-management.desktop"
+               for icon_path in ${S}/localmylist-management/share/icons/*
+               do
+                       local icon="${icon_path##*/}"
+                       local filename="${icon%%.*}"
+                       local size="${filename##*_}"
+                       newicon -s $size "$icon_path" "localmylist-management.${icon##*.}"
+               done
+       fi
+}
+
+pkg_postinst() {
+       xdg_mimeinfo_database_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_mimeinfo_database_update
+       xdg_desktop_database_update
+}