commit:     d1e04a52683cbd895f83ee2f7ba980e7398c09dc
Author:     Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Wed Jul 11 15:04:36 2018 +0000
Commit:     Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 10:09:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e04a52

x11-misc/obconf-qt: version update to 0.13.0

 x11-misc/obconf-qt/Manifest                |  1 +
 x11-misc/obconf-qt/metadata.xml            | 11 ++++---
 x11-misc/obconf-qt/obconf-qt-0.13.0.ebuild | 53 ++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+), 4 deletions(-)

diff --git a/x11-misc/obconf-qt/Manifest b/x11-misc/obconf-qt/Manifest
index 45b45e2f53a..3958c2a6cb6 100644
--- a/x11-misc/obconf-qt/Manifest
+++ b/x11-misc/obconf-qt/Manifest
@@ -1 +1,2 @@
+DIST obconf-qt-0.13.0.tar.xz 34348 BLAKE2B 
c44a79f4c70d07907ee4332ea75267b1b9c000371ee4d53b8db9eb9c624c6bd62a739413b8cf4038a514a1417ebbb8318c791bda2774d7420ac8a7b8b211d09f
 SHA512 
537c10e286311d39f3e69c2940f4267d7dd2e55888e1e50d6aeb3cad8f694fec7792ca30e258a69cfe0c5361acecd4232605e47e71e27fa53b25f4bb65a0d703
 DIST obconf-qt-0.9.0_p20150729.tar.gz 96660 BLAKE2B 
dea66b2bd4084ecd5936612bb52cee1395866d7b4b3b3f211abfa60bd5b4318cc6e31b04867dd600caec5347cb38bad5be854be1e1051bd232b4f4328a8d3121
 SHA512 
cb4318608fb49926212130de368b059af34c9731d5edf19fca4b05f583ec0d37ce7568f95a5a3f1533642503fd3c7f03fee65ca96796cbc0bb16e92f9890efe3

diff --git a/x11-misc/obconf-qt/metadata.xml b/x11-misc/obconf-qt/metadata.xml
index a40a83a9c6a..08d5c58e8bb 100644
--- a/x11-misc/obconf-qt/metadata.xml
+++ b/x11-misc/obconf-qt/metadata.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="project">
-    <email>l...@gentoo.org</email>
-    <name>LXQt</name>
-  </maintainer>
+       <maintainer type="project">
+               <email>l...@gentoo.org</email>
+               <name>LXQt</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">lxqt/obconf-qt</remote-id>
+       </upstream>
 </pkgmetadata>

diff --git a/x11-misc/obconf-qt/obconf-qt-0.13.0.ebuild 
b/x11-misc/obconf-qt/obconf-qt-0.13.0.ebuild
new file mode 100644
index 00000000000..ef705f4bba6
--- /dev/null
+++ b/x11-misc/obconf-qt/obconf-qt-0.13.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="Openbox window manager configuration tool"
+HOMEPAGE="https://lxqt.org/";
+
+if [[ ${PV} = *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/lxqt/${PN}.git";
+else
+       SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+RDEPEND="
+       dev-libs/glib:2
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtx11extras:5
+       x11-wm/openbox:3
+       x11-libs/libX11
+"
+DEPEND="${RDEPEND}
+       dev-qt/linguist-tools:5
+       >=dev-util/lxqt-build-tools-0.5.0
+       sys-apps/sed
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DPULL_TRANSLATIONS=OFF
+       )
+       cmake-utils_src_configure
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       gnome2_icon_cache_update
+}

Reply via email to