diff options
Diffstat (limited to 'dev-db/sqlitebrowser')
-rw-r--r-- | dev-db/sqlitebrowser/Manifest | 5 | ||||
-rw-r--r-- | dev-db/sqlitebrowser/metadata.xml | 43 | ||||
-rw-r--r-- | dev-db/sqlitebrowser/sqlitebrowser-3.12.1.ebuild | 67 | ||||
-rw-r--r-- | dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild | 67 |
4 files changed, 169 insertions, 13 deletions
diff --git a/dev-db/sqlitebrowser/Manifest b/dev-db/sqlitebrowser/Manifest index 8540a5621b69..1515619e1b13 100644 --- a/dev-db/sqlitebrowser/Manifest +++ b/dev-db/sqlitebrowser/Manifest @@ -1,4 +1,7 @@ AUX sqlitebrowser-3.11.1-unbundle.patch 3194 BLAKE2B b2015e90e7f79409fb16d0490081634c47208956a53f4c24aeec3fa217dd165b1fec2bc51b818b82f39fae55a3ca7bb9a79dc58746781e1622707e0b051e845c SHA512 b0082e6373d54a2aee87b84f0194a91139f535da0c7d741e68458e05a6c7e6a46c1b027e8cf0dff455de0cf2c484d2be51bc829bdbedb2169c8fa44d553afd95 DIST sqlitebrowser-3.11.1.tar.gz 2523481 BLAKE2B c9a92b93795050605aa938cf5c73493b7d887b386da77b4cee206becd70779f00ab39c7a105772cdbe925ebedcfe0277b6ebe7898383db87454e19b050001253 SHA512 31f5315fd66d14fde16b58fe6522da937068c42e21f60aa15c3c04a1318ecac09f68143df108b83204cdc70ec8bac617a8ae196df9b5524690f837d7e7728916 +DIST sqlitebrowser-3.12.1.tar.gz 3990525 BLAKE2B 9cccd48c83e1953091508f5760b3004c4690791cacc5784286e6ce5220a6e55e761d736d8fbbb135e419beba12def89f63a3d37d6c7e0281f50392f07bf25357 SHA512 f0a62958008693606d9ab04b0413fa10705c7b45fb970c218d8f1adfe8ca01895a6470f369ded6cb7a9338c27385838b8d57c89b5855b4050ce9bec0d69626d1 EBUILD sqlitebrowser-3.11.1-r1.ebuild 1420 BLAKE2B 2c7d13d4d011bd56cbfac596bd30dcb6d8c8252958be8a481dcacf59e1d16d2b1fb92f6b721a52506d685f51af193a42ce164340314c600f24430199fbdbf444 SHA512 3c9a8d829c49fcdf4f18c0ff2d48f9c4ce281110671101ac306edf1d60586759a6ae40cd0e05e244bfbb3bef6a86f1db6e7c6673fd1951ef665f34ee8fd1865e -MISC metadata.xml 659 BLAKE2B bf5f352f0227c1408cd9c0720fea6b7bf35e6f843f4e1f6fb3e340d3e7e5ddc09843484da6c54254345cde615993acaeba50027f44f33e0134ac05414e80e8ca SHA512 defe9a90cbcdee9750f9a5dffb8620445efd4d855fa789bad01d80151f4e64676245c2a51670c7418d2e19faa72bf26f4322c3953d610933a5b479985acedca2 +EBUILD sqlitebrowser-3.12.1.ebuild 1303 BLAKE2B 9c1f5eaa7fc2fcf8a73a53aa3b452d266ee5171e8597f23f0265c94e4b05ca84cc6dfed45ad971f0bcb81ebf5a7c3faad765fcda3721c1ccc271d4ba8c9251e4 SHA512 0eed5940ea60d165662c6770dc3a22ca4f82ca3d89b98ddcd92d77ea7c9baa5faba0e7d6dd23b65fd39e330422147c65f1cac4518f12f12336c532089634653a +EBUILD sqlitebrowser-9999.ebuild 1303 BLAKE2B 9c1f5eaa7fc2fcf8a73a53aa3b452d266ee5171e8597f23f0265c94e4b05ca84cc6dfed45ad971f0bcb81ebf5a7c3faad765fcda3721c1ccc271d4ba8c9251e4 SHA512 0eed5940ea60d165662c6770dc3a22ca4f82ca3d89b98ddcd92d77ea7c9baa5faba0e7d6dd23b65fd39e330422147c65f1cac4518f12f12336c532089634653a +MISC metadata.xml 1477 BLAKE2B bd6a9d3483ae98cfe02d1d7cc0167d86e50935247063e63c428e92846e035c50757145957ed16ab5bbb979620121973e207f2d341f46cdc25bc2fdfae3dd89ba SHA512 6199dd425d9b960e403cd80155aaa6aa7f146f4dc1113e03969f5721880df426ddf082ae27cd5c0413b68a2a8d9f7385cda00008064ae7c56e9203f053df8063 diff --git a/dev-db/sqlitebrowser/metadata.xml b/dev-db/sqlitebrowser/metadata.xml index 45409a91f1e5..92f71ab68770 100644 --- a/dev-db/sqlitebrowser/metadata.xml +++ b/dev-db/sqlitebrowser/metadata.xml @@ -1,15 +1,34 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + <pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> -SQLite Database Browser is a freeware, public domain, open source visual tool -used to create, design and edit database files compatible with SQLite. It is -meant to be used for users and developers that want to create databases, edit -and search data using a familiar spreadsheet-like interface, without the need to -learn complicated SQL commands. -</longdescription> - <upstream> - <remote-id type="github">sqlitebrowser/sqlitebrowser</remote-id> - </upstream> + <maintainer type="person"> + <email>beatussum@protonmail.com</email> + <name>Mattéo Rossillol‑‑Laruelle</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + DB Browser for SQLite (DB4S) is a freeware, public domain, open source + visual tool used to create, design and edit database files compatible + with SQLite. It is meant to be used for users and developers that want + to create databases, edit and search data using a familiar + spreadsheet-like interface, without the need to learn complicated SQL + commands. + </longdescription> + <longdescription lang="fr"> + DB Browser for SQLite (DB4S) est un outil graphique, gratuit et open + source permettant de créer, concevoir et éditer toute base de données + compatible avec SQLite. Celui-ci est à déstination des utilisateurs et + des développeurs qui veulent créer des base de données et interragir + avec ces dernières, tout en utilisant une interface semblable à celle + d'un tableur, et, de ce fait, ne pas être contraint à apprendre des + commandes SQL complexes. + </longdescription> + <upstream> + <bugs-to>https://github.com/sqlitebrowser/sqlitebrowser/issues/</bugs-to> + <remote-id type="github">sqlitebrowser/sqlitebrowser</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.12.1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.12.1.ebuild new file mode 100644 index 000000000000..d094723adf0a --- /dev/null +++ b/dev-db/sqlitebrowser/sqlitebrowser-3.12.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg + +DESCRIPTION="A light GUI editor for SQLite databases" +HOMEPAGE="https://sqlitebrowser.org/" + +if [[ "${PV}" = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+ MPL-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-editors/qhexedit2 + dev-db/sqlite:3 + dev-libs/qcustomplot + >=dev-qt/qtconcurrent-5.5:5 + >=dev-qt/qtcore-5.5:5 + >=dev-qt/qtgui-5.5:5 + >=dev-qt/qtnetwork-5.5:5[ssl] + >=dev-qt/qtprintsupport-5.5:5 + >=dev-qt/qtwidgets-5.5:5 + >=dev-qt/qtxml-5.5:5 + >=x11-libs/qscintilla-2.8.10:= +" + +BDEPEND=" + >=dev-qt/linguist-tools-5.5:5 + test? ( >=dev-qt/qttest-5.5:5 ) +" + +RDEPEND=" + ${DEPEND} + >=dev-qt/qtsvg-5.5:5 +" + +src_prepare() { + cmake_src_prepare + + if ! use test; then + sed -i CMakeLists.txt \ + -e "/find_package/ s/ Test//" \ + -e "/set/ s/ Qt5::Test//" \ + || die "Cannot remove Qt Test from CMake dependencies" + fi +} + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTING=$(usex test) + -DFORCE_INTERNAL_QCUSTOMPLOT=OFF + -DFORCE_INTERNAL_QHEXEDIT=OFF + ) + + cmake_src_configure +} diff --git a/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild new file mode 100644 index 000000000000..d094723adf0a --- /dev/null +++ b/dev-db/sqlitebrowser/sqlitebrowser-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg + +DESCRIPTION="A light GUI editor for SQLite databases" +HOMEPAGE="https://sqlitebrowser.org/" + +if [[ "${PV}" = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+ MPL-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-editors/qhexedit2 + dev-db/sqlite:3 + dev-libs/qcustomplot + >=dev-qt/qtconcurrent-5.5:5 + >=dev-qt/qtcore-5.5:5 + >=dev-qt/qtgui-5.5:5 + >=dev-qt/qtnetwork-5.5:5[ssl] + >=dev-qt/qtprintsupport-5.5:5 + >=dev-qt/qtwidgets-5.5:5 + >=dev-qt/qtxml-5.5:5 + >=x11-libs/qscintilla-2.8.10:= +" + +BDEPEND=" + >=dev-qt/linguist-tools-5.5:5 + test? ( >=dev-qt/qttest-5.5:5 ) +" + +RDEPEND=" + ${DEPEND} + >=dev-qt/qtsvg-5.5:5 +" + +src_prepare() { + cmake_src_prepare + + if ! use test; then + sed -i CMakeLists.txt \ + -e "/find_package/ s/ Test//" \ + -e "/set/ s/ Qt5::Test//" \ + || die "Cannot remove Qt Test from CMake dependencies" + fi +} + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTING=$(usex test) + -DFORCE_INTERNAL_QCUSTOMPLOT=OFF + -DFORCE_INTERNAL_QHEXEDIT=OFF + ) + + cmake_src_configure +} |