summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-05-19 14:07:31 -0400
committerMatt Turner <mattst88@gentoo.org>2023-05-19 14:08:43 -0400
commit4535fd68bd70e8251c153cdad0a2345badeea292 (patch)
tree2402892d5e79408520cc7fabf77145f575e44f87 /sys-apps/osinfo-db
parentapp-text/xournalpp: add github upstream metadata (diff)
downloadgentoo-4535fd68bd70e8251c153cdad0a2345badeea292.tar.gz
gentoo-4535fd68bd70e8251c153cdad0a2345badeea292.tar.bz2
gentoo-4535fd68bd70e8251c153cdad0a2345badeea292.zip
sys-apps/osinfo-db: Version bump to 20230518
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-apps/osinfo-db')
-rw-r--r--sys-apps/osinfo-db/Manifest1
-rw-r--r--sys-apps/osinfo-db/osinfo-db-20230518.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/osinfo-db/Manifest b/sys-apps/osinfo-db/Manifest
index 957214d41536..839bb76b6d4b 100644
--- a/sys-apps/osinfo-db/Manifest
+++ b/sys-apps/osinfo-db/Manifest
@@ -1 +1,2 @@
DIST osinfo-db-20230308.tar.xz 138760 BLAKE2B d4b6a2b80f1fd20c57da0f37d47fda30a7fa254f657d173086b3bc3d6cb9b955e1d8b5bd82312c1396c2e4f300ace13f4bdf46e3cec94da33af81f1bd3e73acd SHA512 d59effc4b36a47b95f03a881a392594cd82f0d4b406003288468e7e31be002db061af4674082af34f339a00835d245d7a38d3788e58b74e3cdf01a455b94b860
+DIST osinfo-db-20230518.tar.xz 142340 BLAKE2B d64a53fd4891b3f71d3e6470fc57dbd59d314f7eca6561d9b4a1985a24cd662a9fc35943b67f35f73a218028e16a2f15f3bc7b771fe1231508f2b76941a53c28 SHA512 16a275c8df9df8256b117896b749b060f7b63aa59e468d968fafdb68ee8654c73cd659c6b8bf36e91a0d5892d6d83a29d98b9fc77dd1286f8f25ffca289bba4e
diff --git a/sys-apps/osinfo-db/osinfo-db-20230518.ebuild b/sys-apps/osinfo-db/osinfo-db-20230518.ebuild
new file mode 100644
index 000000000000..82e86e48b879
--- /dev/null
+++ b/sys-apps/osinfo-db/osinfo-db-20230518.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="osinfo database files"
+HOMEPAGE="https://libosinfo.org/ https://gitlab.com/libosinfo/osinfo-db"
+SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.xz"
+S="${WORKDIR}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+BDEPEND="sys-apps/osinfo-db-tools"
+
+# we don't depend on intltool here, contrary to README, as the tarball already
+# contains the processed results with translations in XML files
+
+src_unpack() { :; }
+
+src_install() {
+ osinfo-db-import --root "${D}" --dir "/usr/share/osinfo" "${DISTDIR}/${A}"
+}