public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libvpl-tools/
Date: Fri, 17 May 2024 14:13:24 +0000 (UTC)	[thread overview]
Message-ID: <1715955151.678da60b97e7eabf998ef28012a8c727cc7cf292.andrewammerlaan@gentoo> (raw)

commit:     678da60b97e7eabf998ef28012a8c727cc7cf292
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 13:40:29 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri May 17 14:12:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678da60b

media-libs/libvpl-tools: new package, add 1.0.0

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-libs/libvpl-tools/Manifest                  |  1 +
 media-libs/libvpl-tools/libvpl-tools-1.0.0.ebuild | 59 +++++++++++++++++++++++
 media-libs/libvpl-tools/metadata.xml              | 14 ++++++
 3 files changed, 74 insertions(+)

diff --git a/media-libs/libvpl-tools/Manifest b/media-libs/libvpl-tools/Manifest
new file mode 100644
index 000000000000..e89f4a223ae5
--- /dev/null
+++ b/media-libs/libvpl-tools/Manifest
@@ -0,0 +1 @@
+DIST libvpl-tools-1.0.0.tar.gz 1280283 BLAKE2B 67e2d0339893751a572c133ef34bbde05a254de1d460da3226088608e85aa253c585fe00d3edca05d629d65d0ddb8617c85e0cb87ff25b2cb56d85717834e959 SHA512 d4225eadbed4993a80461119db1175f196b271086d79be5312e74ac7c8d1395c9ba13149145d979441cd6958ef80c7a1755c37374091fa7b7ce7581df570ffb1

diff --git a/media-libs/libvpl-tools/libvpl-tools-1.0.0.ebuild b/media-libs/libvpl-tools/libvpl-tools-1.0.0.ebuild
new file mode 100644
index 000000000000..cf0f0cd65e7c
--- /dev/null
+++ b/media-libs/libvpl-tools/libvpl-tools-1.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Intel Video Processing Library tools"
+HOMEPAGE="https://github.com/intel/libvpl-tools/"
+SRC_URI="https://github.com/intel/libvpl-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="dri drm test vaapi wayland X"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+	dri? ( X drm )
+	X? ( vaapi )
+	wayland? ( drm )
+"
+
+RDEPEND="
+	x11-libs/libpciaccess
+	vaapi? ( media-libs/libva[X?,wayland?,drm(+)?] )
+	drm? ( x11-libs/libdrm )
+	wayland? (
+		dev-libs/wayland
+	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libxcb
+	)
+	!<media-libs/libvpl-2.11.0[tools]
+"
+DEPEND="${RDEPEND}
+	wayland? (
+		dev-libs/wayland-protocols
+	)
+"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=ON
+		-DBUILD_TESTS="$(usex test)"
+		-DTOOLS_ENABLE_X11="$(usex X)"
+		-DENABLE_WAYLAND="$(usex wayland)"
+		-DENABLE_X11="$(usex X)"
+		-DENABLE_DRI3="$(usex dri)"
+		-DENABLE_VA="$(usex vaapi)"
+		-DENABLE_DRM="$(usex drm)"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+		-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+	)
+	cmake_src_configure
+}

diff --git a/media-libs/libvpl-tools/metadata.xml b/media-libs/libvpl-tools/metadata.xml
new file mode 100644
index 000000000000..33d1f718149c
--- /dev/null
+++ b/media-libs/libvpl-tools/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>andrewammerlaan@gentoo.org</email>
+		<name>Andrew Ammerlaan</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">intel/libvpl-tools</remote-id>
+	</upstream>
+	<use>
+		<flag name="drm">Build with DRM support</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2024-05-17 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-17 14:13 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-17 18:47 [gentoo-commits] repo/gentoo:master commit in: media-libs/libvpl-tools/ Andrew Ammerlaan
2024-05-18 17:00 Andrew Ammerlaan
2024-07-05 11:57 Andrew Ammerlaan
2024-07-05 11:57 Andrew Ammerlaan
2024-09-29 15:02 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1715955151.678da60b97e7eabf998ef28012a8c727cc7cf292.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox