* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2017-06-03 19:36 Justin Lecher
0 siblings, 0 replies; 10+ messages in thread
From: Justin Lecher @ 2017-06-03 19:36 UTC (permalink / raw
To: gentoo-commits
commit: a9e72a0c87910addfaa4fd8e48a9db9b68c7aca2
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 3 18:54:56 2017 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun 3 19:36:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e72a0c
sci-chemistry/molsketch: Fix installation location
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=620494
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
.../molsketch/{molsketch-0.4.1.ebuild => molsketch-0.4.1-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-chemistry/molsketch/molsketch-0.4.1.ebuild b/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
similarity index 97%
rename from sci-chemistry/molsketch/molsketch-0.4.1.ebuild
rename to sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
index 1cd4ab221ee..c34e60a0106 100644
--- a/sci-chemistry/molsketch/molsketch-0.4.1.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
@@ -48,6 +48,7 @@ src_configure() {
-DOPENBABEL2_INCLUDE_DIR="${EPREFIX}/usr/include/openbabel-2.0"
-DCMAKE_DISABLE_FIND_PACKAGE_KDE4=ON
-DENABLE_TESTS=$(usex test "ON" "OFF")
+ -DMSK_INSTALL_PREFIX=/usr
)
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2020-05-20 23:06 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2020-05-20 23:06 UTC (permalink / raw
To: gentoo-commits
commit: e1054d38e18cc30baed0f4997b451e44851a5ab0
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 20 22:49:36 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 20 23:06:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1054d38
sci-chemistry/molsketch: Fix QA issues, switch to cmake.eclass, EAPI-7
Drop unused cmake vars
Drop unused multilib
Add missing xdg-utils and xdg_desktop_database_update
Fix indendation
No tests found
Replace defunct sed with cmake var.
Closes: https://bugs.gentoo.org/660272
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild | 42 +++++++++++------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild b/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
index 87dc43370de..5b997ba272b 100644
--- a/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.4.1-r1.ebuild
@@ -1,23 +1,18 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-CMAKE_MAKEFILE_GENERATOR=ninja
-
-inherit cmake-utils multilib qmake-utils
-
-MY_P=${P/m/M}-src
+inherit cmake qmake-utils xdg-utils
DESCRIPTION="A drawing tool for 2D molecular structures"
HOMEPAGE="http://molsketch.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/${PN}/Molsketch/Beryllium-7%20${PV}/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge/project/${PN}/Molsketch/Beryllium-7%20${PV}/${P^}-src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
+IUSE=""
DEPEND="
>=sci-chemistry/openbabel-2.2
@@ -26,35 +21,40 @@ DEPEND="
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
- "
+"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${MY_P%%-src}
+S="${WORKDIR}/${P^}"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
"${FILESDIR}"/${P}-more-quotes.patch
- )
+)
src_prepare() {
sed -e "/LIBRARY DESTINATION/ s/lib/$(get_libdir)/g" \
-i {obabeliface,libmolsketch/src}/CMakeLists.txt || die #351246
- sed -e "s:doc/molsketch:doc/${PF}:g" \
- -i molsketch/src/{CMakeLists.txt,mainwindow.cpp} || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
- -DOPENBABEL2_INCLUDE_DIR="${EPREFIX}/usr/include/openbabel-2.0"
- -DCMAKE_DISABLE_FIND_PACKAGE_KDE4=ON
- -DENABLE_TESTS=$(usex test "ON" "OFF")
+ -DOPENBABEL2_INCLUDE_DIR="${EPREFIX}"/usr/include/openbabel-2.0
-DMSK_INSTALL_PREFIX=/usr
+ -DMSK_INSTALL_DOCS="${EPREFIX}"/usr/share/doc/${PF}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dosym ${PN}-qt5 /usr/bin/${PN}
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2022-02-24 15:12 Andrew Ammerlaan
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2022-02-24 15:12 UTC (permalink / raw
To: gentoo-commits
commit: 83a73d4ebca119b5aa122d856f677aaec9390d06
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 15:12:15 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 15:12:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a73d4e
sci-chemistry/molsketch: add version 0.7.2
Closes: https://bugs.gentoo.org/652580
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/molsketch/Manifest | 1 +
sci-chemistry/molsketch/molsketch-0.7.2.ebuild | 37 ++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest
index 0393717709d3..adf2a2ef3279 100644
--- a/sci-chemistry/molsketch/Manifest
+++ b/sci-chemistry/molsketch/Manifest
@@ -1 +1,2 @@
DIST Molsketch-0.4.1-src.tar.gz 1499842 BLAKE2B 22584f012e838037f9e23c16da6c63984604002884d279b2b6012d80eb08af9ee18b4d364fa29327572854fccad34840f97413b29b487cfbeb6496a2a8003d17 SHA512 263b088c2b8d01c1f13802b18aea6f6784580fe1a806de45b0e1ecd9f29024350e01a611bdeed1891938acc733a42746203d345d3be13ebaf4c309413e86bf26
+DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034
diff --git a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
new file mode 100644
index 000000000000..e84950829ab1
--- /dev/null
+++ b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="A drawing tool for 2D molecular structures"
+HOMEPAGE="http://molsketch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/Molsketch/${P^}-src.tar.gz"
+S="${WORKDIR}/${P^}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="
+ >=sci-chemistry/openbabel-3
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ # fix the doc dir, this is relative to the install dir (i.e. /usr/)
+ -DMSK_INSTALL_DOCS="/share/doc/${PF}"
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2022-02-24 19:43 Andrew Ammerlaan
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2022-02-24 19:43 UTC (permalink / raw
To: gentoo-commits
commit: 68321276729ef5e930f7902815469cf48cf8b641
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 24 19:42:49 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 24 19:42:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68321276
sci-chemistry/molsketch: add some new deps required for new 0.7.2 version
Closes: https://bugs.gentoo.org/833999
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/molsketch/molsketch-0.7.2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
index e84950829ab1..7dee9f3ea943 100644
--- a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
@@ -16,8 +16,10 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
DEPEND="
>=sci-chemistry/openbabel-3
+ dev-qt/linguist-tools:5
dev-qt/qtcore:5
dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2022-06-09 7:02 Pacho Ramos
0 siblings, 0 replies; 10+ messages in thread
From: Pacho Ramos @ 2022-06-09 7:02 UTC (permalink / raw
To: gentoo-commits
commit: 1dc2424d40fd0f532f1e9cd04b1ca7ba44568a3b
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 9 07:02:19 2022 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Jun 9 07:02:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dc2424d
sci-chemistry/molsketch: Needs to be rebuilt with openbabel subslot changes
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
.../molsketch/{molsketch-0.7.2.ebuild => molsketch-0.7.2-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
similarity index 96%
rename from sci-chemistry/molsketch/molsketch-0.7.2.ebuild
rename to sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
index 7dee9f3ea943..a7c230db81f9 100644
--- a/sci-chemistry/molsketch/molsketch-0.7.2.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
DEPEND="
- >=sci-chemistry/openbabel-3
+ >=sci-chemistry/openbabel-3:=
dev-qt/linguist-tools:5
dev-qt/qtcore:5
dev-qt/qtgui:5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2022-07-21 12:22 Andrew Ammerlaan
0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2022-07-21 12:22 UTC (permalink / raw
To: gentoo-commits
commit: e8485fdcf99886c11ba262577c0fe64ad250fb63
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 12:21:41 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 12:21:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8485fdc
sci-chemistry/molsketch: do not rdep on linguist-tools
Closes: https://bugs.gentoo.org/836644
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
index a7c230db81f9..b35ceeca43b4 100644
--- a/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
@@ -16,7 +16,6 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
DEPEND="
>=sci-chemistry/openbabel-3:=
- dev-qt/linguist-tools:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
@@ -25,6 +24,7 @@ DEPEND="
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2025-03-17 15:39 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2025-03-17 15:39 UTC (permalink / raw
To: gentoo-commits
commit: ebfe32d3a51bddc1c69a889dd4f034eb8f73dbb6
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Mar 9 07:18:24 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:30:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebfe32d3
sci-chemistry/molsketch: update metadata adding github remote-id
remote-id : add https://github.com/hvennekate/Molsketch/
sourceforge is still available and up to date
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-chemistry/molsketch/metadata.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sci-chemistry/molsketch/metadata.xml b/sci-chemistry/molsketch/metadata.xml
index cc6c6d647153..3a34d01608a0 100644
--- a/sci-chemistry/molsketch/metadata.xml
+++ b/sci-chemistry/molsketch/metadata.xml
@@ -11,6 +11,7 @@
afterwards in high quality in a number of vector and bitmap formats.
</longdescription>
<upstream>
- <remote-id type="sourceforge">molsketch</remote-id>
+ <remote-id type="sourceforge">molsketch</remote-id><!-- old -->
+ <remote-id type="github">hvennekate/Molsketch</remote-id>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2025-03-17 15:39 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2025-03-17 15:39 UTC (permalink / raw
To: gentoo-commits
commit: e871cdc70f3faab0d84cc7ccc192a4bb2516c620
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Mar 9 07:19:22 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:30:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e871cdc7
sci-chemistry/molsketch: add 0.8.1 qt6
update HOMEPAGE
no longer doc files by upstream
add optionnal openbabel support
inchi support through openbabel interface is optional and checked only
at runtime
Closes: https://bugs.gentoo.org/913683
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41049
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-chemistry/molsketch/Manifest | 1 +
sci-chemistry/molsketch/metadata.xml | 3 +++
sci-chemistry/molsketch/molsketch-0.8.1.ebuild | 36 ++++++++++++++++++++++++++
3 files changed, 40 insertions(+)
diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest
index 3dd6281fb472..dfde0c0e8902 100644
--- a/sci-chemistry/molsketch/Manifest
+++ b/sci-chemistry/molsketch/Manifest
@@ -1 +1,2 @@
DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034
+DIST Molsketch-0.8.1-src.tar.gz 1852967 BLAKE2B 127ab637934a30a8682b4e15c5d07d8135f581e9311d485403e8d504d2b81cf2057e965be2eb2547d8caa0d9137122d053a7dd8e62272baa229bf26c20ee744c SHA512 c92f99276ff56f46a04f59218124ec3db911a8a8615632fe7642c1ab139cf083540da77b3a1c48176af0896bdd6ccadfd4ca5571e095f76fd96cf504ee3245fb
diff --git a/sci-chemistry/molsketch/metadata.xml b/sci-chemistry/molsketch/metadata.xml
index 3a34d01608a0..88fb2f8b4485 100644
--- a/sci-chemistry/molsketch/metadata.xml
+++ b/sci-chemistry/molsketch/metadata.xml
@@ -10,6 +10,9 @@
molecules quick and easily. Of course you're creation can be exported
afterwards in high quality in a number of vector and bitmap formats.
</longdescription>
+ <use>
+ <flag name="openbabel">Interface for <pkg>sci-chemistry/openbabel</pkg> to support many file formats. With inchi support at runtime, the wikiquery plugin is enabled.</flag>
+ </use>
<upstream>
<remote-id type="sourceforge">molsketch</remote-id><!-- old -->
<remote-id type="github">hvennekate/Molsketch</remote-id>
diff --git a/sci-chemistry/molsketch/molsketch-0.8.1.ebuild b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
new file mode 100644
index 000000000000..46531a609380
--- /dev/null
+++ b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Drawing tool for 2D molecular structures"
+HOMEPAGE="https://molsketch.sourceforge.io/ https://github.com/hvennekate/Molsketch/"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/Molsketch/${P^}-src.tar.gz"
+S="${WORKDIR}/${P^}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="openbabel"
+
+DEPEND="
+ dev-qt/qtbase:6[gui,network,widgets]
+ dev-qt/qtsvg:6
+ openbabel? ( >=sci-chemistry/openbabel-3:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-qt/qttools:6[linguist]"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DMSK_OBABELIFACE="$(usex openbabel)"
+ -DMSK_QT6=ON
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2025-03-17 15:39 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2025-03-17 15:39 UTC (permalink / raw
To: gentoo-commits
commit: 063f5535d93bdd9d2d0167d1b2f18d9628abc647
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 15:36:49 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:36:49 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063f5535
sci-chemistry/molsketch: mv openbabel[inchi] runtime info to optfeature
See also: https://github.com/gentoo/gentoo/pull/41049
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-chemistry/molsketch/metadata.xml | 2 +-
sci-chemistry/molsketch/molsketch-0.8.1.ebuild | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/molsketch/metadata.xml b/sci-chemistry/molsketch/metadata.xml
index 88fb2f8b4485..180494b54d2f 100644
--- a/sci-chemistry/molsketch/metadata.xml
+++ b/sci-chemistry/molsketch/metadata.xml
@@ -11,7 +11,7 @@
afterwards in high quality in a number of vector and bitmap formats.
</longdescription>
<use>
- <flag name="openbabel">Interface for <pkg>sci-chemistry/openbabel</pkg> to support many file formats. With inchi support at runtime, the wikiquery plugin is enabled.</flag>
+ <flag name="openbabel">Interface for <pkg>sci-chemistry/openbabel</pkg> to support many file formats</flag>
</use>
<upstream>
<remote-id type="sourceforge">molsketch</remote-id><!-- old -->
diff --git a/sci-chemistry/molsketch/molsketch-0.8.1.ebuild b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
index 46531a609380..c0580aff5233 100644
--- a/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
+++ b/sci-chemistry/molsketch/molsketch-0.8.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake xdg
+inherit cmake optfeature xdg
DESCRIPTION="Drawing tool for 2D molecular structures"
HOMEPAGE="https://molsketch.sourceforge.io/ https://github.com/hvennekate/Molsketch/"
@@ -34,3 +34,9 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ use openbabel && optfeature "wikiquery support through openbabel inchi interface" "sci-chemistry/openbabel[inchi]"
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/
@ 2025-03-17 15:39 Andreas Sturmlechner
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2025-03-17 15:39 UTC (permalink / raw
To: gentoo-commits
commit: 4265a01a18c69e5d5c02769c40ee2b443268467e
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 15:38:01 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 15:38:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4265a01a
sci-chemistry/molsketch: drop 0.7.2-r1
Closes: https://bugs.gentoo.org/913683
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-chemistry/molsketch/Manifest | 1 -
sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild | 39 -----------------------
2 files changed, 40 deletions(-)
diff --git a/sci-chemistry/molsketch/Manifest b/sci-chemistry/molsketch/Manifest
index dfde0c0e8902..7fae10a47975 100644
--- a/sci-chemistry/molsketch/Manifest
+++ b/sci-chemistry/molsketch/Manifest
@@ -1,2 +1 @@
-DIST Molsketch-0.7.2-src.tar.gz 1907992 BLAKE2B 6bd099d963f352e66f73741273e9dee17f2fb299aec32b053ca39aa731a27f6a73093f98a4dbde2b6a97b85015016d1136fa4ead5f564006991b83072009ee6a SHA512 5e06f177ed4e7e8457215e07b623b1d92fa111f696fd7a106b0a6e8c56cc9c7d953fc33e0c0955c19766599d41a82519db95e12c0c49d3e4d3392311af3cc034
DIST Molsketch-0.8.1-src.tar.gz 1852967 BLAKE2B 127ab637934a30a8682b4e15c5d07d8135f581e9311d485403e8d504d2b81cf2057e965be2eb2547d8caa0d9137122d053a7dd8e62272baa229bf26c20ee744c SHA512 c92f99276ff56f46a04f59218124ec3db911a8a8615632fe7642c1ab139cf083540da77b3a1c48176af0896bdd6ccadfd4ca5571e095f76fd96cf504ee3245fb
diff --git a/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild b/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
deleted file mode 100644
index 9c26861226c3..000000000000
--- a/sci-chemistry/molsketch/molsketch-0.7.2-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg
-
-DESCRIPTION="A drawing tool for 2D molecular structures"
-HOMEPAGE="http://molsketch.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/project/${PN}/Molsketch/${P^}-src.tar.gz"
-S="${WORKDIR}/${P^}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-DEPEND="
- >=sci-chemistry/openbabel-3:=
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtprintsupport:5
- dev-qt/qtsvg:5
- dev-qt/qtwidgets:5
-"
-RDEPEND="${DEPEND}"
-BDEPEND="dev-qt/linguist-tools:5"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.3.0-_DEFAULT_SOURCE.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- # fix the doc dir, this is relative to the install dir (i.e. /usr/)
- -DMSK_INSTALL_DOCS="/share/doc/${PF}"
- )
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-03-17 15:39 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 15:39 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molsketch/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2025-03-17 15:39 Andreas Sturmlechner
2025-03-17 15:39 Andreas Sturmlechner
2025-03-17 15:39 Andreas Sturmlechner
2022-07-21 12:22 Andrew Ammerlaan
2022-06-09 7:02 Pacho Ramos
2022-02-24 19:43 Andrew Ammerlaan
2022-02-24 15:12 Andrew Ammerlaan
2020-05-20 23:06 Andreas Sturmlechner
2017-06-03 19:36 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox