public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2018-05-07 15:27 Chí-Thanh Christopher Nguyễn
  0 siblings, 0 replies; 9+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2018-05-07 15:27 UTC (permalink / raw
  To: gentoo-commits

commit:     3f7470626a6568307063d72d86551fbf1b94d12a
Author:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Mon May  7 15:26:10 2018 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Mon May  7 15:26:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f747062

net-wireless/osmo-fl2k: initial commit

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-wireless/osmo-fl2k/Manifest               |  1 +
 net-wireless/osmo-fl2k/metadata.xml           |  8 +++++
 net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild | 48 +++++++++++++++++++++++++++
 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild  | 48 +++++++++++++++++++++++++++
 4 files changed, 105 insertions(+)

diff --git a/net-wireless/osmo-fl2k/Manifest b/net-wireless/osmo-fl2k/Manifest
new file mode 100644
index 00000000000..9c9acab7da8
--- /dev/null
+++ b/net-wireless/osmo-fl2k/Manifest
@@ -0,0 +1 @@
+DIST osmo-fl2k-0.1.1.tar.xz 59196 BLAKE2B 031b9bdf7f03f3e9c3bcb158bf5695b3771381d5cbabb94853580c57cf8a7bafcacba6168815b6ff46d6fb4e463ea6caff0e1d289692510801409d8b4cf28b72 SHA512 fb19c34919956970106fe7a69632e691f01caef3a1bc212501304f9d910dd08389f95b8d031b3336d009afc08744d846ea3bc349e1d9446bbfd13e11ec95ceff

diff --git a/net-wireless/osmo-fl2k/metadata.xml b/net-wireless/osmo-fl2k/metadata.xml
new file mode 100644
index 00000000000..1570f891c6a
--- /dev/null
+++ b/net-wireless/osmo-fl2k/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>radio@gentoo.org</email>
+		<name>Radio</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
new file mode 100644
index 00000000000..8125eb474ee
--- /dev/null
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils linux-info udev
+
+DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
+
+HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
+
+if [[ ${PV} == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
+else
+	KEYWORDS="~amd64"
+	SRC_URI="mirror://gentoo/${P}.tar.xz"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE="udev"
+
+DEPEND="virtual/libusb:1"
+RDEPEND="${DEPEND}
+	media-sound/sox
+	sys-apps/pv"
+
+# continguous memory allocator can optionally be used for zero-copy transfer
+# TODO: tell users to set CONFIG_CMA_SIZE_MBYTES or boot with cma=... parameter
+CONFIG_CHECK="~CMA ~DMA_CMA"
+
+src_configure() {
+	# udev rules use wrong filename and would go to wrong directory anyway
+	local mycmakeargs=(
+		-DLIB_INSTALL_DIR="/usr/$(get_libdir)"
+		-DINSTALL_UDEV_RULES=OFF
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	if use udev; then
+		udev_newrules ${PN}.rules 99-${PN}.rules
+	fi
+	cmake-utils_src_install
+}

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
new file mode 100644
index 00000000000..8125eb474ee
--- /dev/null
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils linux-info udev
+
+DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
+
+HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
+
+if [[ ${PV} == "9999" ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
+else
+	KEYWORDS="~amd64"
+	SRC_URI="mirror://gentoo/${P}.tar.xz"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+IUSE="udev"
+
+DEPEND="virtual/libusb:1"
+RDEPEND="${DEPEND}
+	media-sound/sox
+	sys-apps/pv"
+
+# continguous memory allocator can optionally be used for zero-copy transfer
+# TODO: tell users to set CONFIG_CMA_SIZE_MBYTES or boot with cma=... parameter
+CONFIG_CHECK="~CMA ~DMA_CMA"
+
+src_configure() {
+	# udev rules use wrong filename and would go to wrong directory anyway
+	local mycmakeargs=(
+		-DLIB_INSTALL_DIR="/usr/$(get_libdir)"
+		-DINSTALL_UDEV_RULES=OFF
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	if use udev; then
+		udev_newrules ${PN}.rules 99-${PN}.rules
+	fi
+	cmake-utils_src_install
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2018-05-18 20:15 Richard Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Farina @ 2018-05-18 20:15 UTC (permalink / raw
  To: gentoo-commits

commit:     9e906e19025cbfae204461b844cb638b77972923
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 20:15:09 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri May 18 20:15:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e906e19

net-wireless/osmo-fl2k: minor cleanup

use upstream snapshots to save effort
sox and pv are pdepend not rdepend

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 net-wireless/osmo-fl2k/Manifest               | 2 +-
 net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild | 6 +++---
 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild  | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-wireless/osmo-fl2k/Manifest b/net-wireless/osmo-fl2k/Manifest
index 9c9acab7da8..acd1b0033b7 100644
--- a/net-wireless/osmo-fl2k/Manifest
+++ b/net-wireless/osmo-fl2k/Manifest
@@ -1 +1 @@
-DIST osmo-fl2k-0.1.1.tar.xz 59196 BLAKE2B 031b9bdf7f03f3e9c3bcb158bf5695b3771381d5cbabb94853580c57cf8a7bafcacba6168815b6ff46d6fb4e463ea6caff0e1d289692510801409d8b4cf28b72 SHA512 fb19c34919956970106fe7a69632e691f01caef3a1bc212501304f9d910dd08389f95b8d031b3336d009afc08744d846ea3bc349e1d9446bbfd13e11ec95ceff
+DIST osmo-fl2k-0.1.1.tar.gz 68811 BLAKE2B 6c1b602b47d5e0816d93750e0470ed4530e587341f28e2e93c3aef634d7108b981cc4a96b758d72796316f15e4401ef746b91a983f374e63103ac76d8b7168c1 SHA512 55b384e18cfa5a1ab660860874cc6f6256b812ee867c863b6cd12c67cfc3517632469fc1ed6b83a35c956aa5371e1198634a52b292b109da828bee60c23f5140

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
index 8125eb474ee..5c0705ae872 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then
 	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
 else
 	KEYWORDS="~amd64"
-	SRC_URI="mirror://gentoo/${P}.tar.xz"
+	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
 
 LICENSE="GPL-2+"
@@ -23,8 +23,8 @@ SLOT="0"
 IUSE="udev"
 
 DEPEND="virtual/libusb:1"
-RDEPEND="${DEPEND}
-	media-sound/sox
+RDEPEND="${DEPEND}"
+PDEPEND="media-sound/sox
 	sys-apps/pv"
 
 # continguous memory allocator can optionally be used for zero-copy transfer

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index 8125eb474ee..5c0705ae872 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then
 	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
 else
 	KEYWORDS="~amd64"
-	SRC_URI="mirror://gentoo/${P}.tar.xz"
+	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
 fi
 
 LICENSE="GPL-2+"
@@ -23,8 +23,8 @@ SLOT="0"
 IUSE="udev"
 
 DEPEND="virtual/libusb:1"
-RDEPEND="${DEPEND}
-	media-sound/sox
+RDEPEND="${DEPEND}"
+PDEPEND="media-sound/sox
 	sys-apps/pv"
 
 # continguous memory allocator can optionally be used for zero-copy transfer


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2018-05-21 14:17 Richard Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Farina @ 2018-05-21 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     9d5547a722fdbe5c18962c31c50ddb6d640616f6
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon May 21 14:16:27 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon May 21 14:16:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5547a7

net-wireless/osmo-fl2k: fix bug #65094

which was introduced when I forgot how to test right

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild | 1 +
 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
index 5c0705ae872..a0e0eed61e3 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
@@ -15,6 +15,7 @@ if [[ ${PV} == "9999" ]]; then
 else
 	KEYWORDS="~amd64"
 	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/v${PV}"
 fi
 
 LICENSE="GPL-2+"

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index 5c0705ae872..a0e0eed61e3 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -15,6 +15,7 @@ if [[ ${PV} == "9999" ]]; then
 else
 	KEYWORDS="~amd64"
 	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/v${PV}"
 fi
 
 LICENSE="GPL-2+"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2018-06-28 16:15 Richard Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Richard Farina @ 2018-06-28 16:15 UTC (permalink / raw
  To: gentoo-commits

commit:     433fb3ec99fbb65cd5576141f60a7cc6931d1f22
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 28 16:14:59 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Jun 28 16:15:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433fb3ec

net-wireless/osmo-fl2k: fix build failure

works fine on gcc 6.4.0 but not 7.3.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild | 5 ++++-
 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild  | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
index a0e0eed61e3..0df5cfc8b4b 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit cmake-utils linux-info udev
+inherit cmake-utils flag-o-matic linux-info udev
 
 DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
 
@@ -38,6 +38,9 @@ src_configure() {
 		-DLIB_INSTALL_DIR="/usr/$(get_libdir)"
 		-DINSTALL_UDEV_RULES=OFF
 	)
+	#https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
+	replace-flags -O0 -O2
+	replace-flags -Os -O2
 	cmake-utils_src_configure
 }
 

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index a0e0eed61e3..17e694cb18e 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -38,6 +38,9 @@ src_configure() {
 		-DLIB_INSTALL_DIR="/usr/$(get_libdir)"
 		-DINSTALL_UDEV_RULES=OFF
 	)
+	#https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
+	replace-flags -O0 -O2
+	replace-flags -Os -O2
 	cmake-utils_src_configure
 }
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2020-10-31 11:11 David Seifert
  0 siblings, 0 replies; 9+ messages in thread
From: David Seifert @ 2020-10-31 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6181d3db0569b6425d88246fee8341385526a89c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 31 11:11:32 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 31 11:11:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6181d3db

net-wireless/osmo-fl2k: [QA] Inherit flag-o-matic.eclass explicitly

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index 17e694cb18e..148e9614ded 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-utils linux-info udev
+inherit cmake-utils flag-o-matic linux-info udev
 
 DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2022-03-17  0:51 Rick Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Rick Farina @ 2022-03-17  0:51 UTC (permalink / raw
  To: gentoo-commits

commit:     6b3fba66b43f3a0f2fe88d05bd45ad1c5d7ac27b
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 00:49:16 2022 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 00:50:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3fba66

net-wireless/osmo-fl2k: ebuild cleanup/updates

Fixes: https://bugs.gentoo.org/727984
Fixes: https://bugs.gentoo.org/835085
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 ...o-fl2k-0.1.1.ebuild => osmo-fl2k-0.1.1-r1.ebuild} | 20 +++++++++++---------
 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild         | 20 +++++++++++---------
 2 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild
similarity index 78%
rename from net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
rename to net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild
index 0df5cfc8b4b9..f8ab9250ade2 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit cmake-utils flag-o-matic linux-info udev
+inherit cmake flag-o-matic linux-info udev
 
 DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
-
 HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
 
 if [[ ${PV} == "9999" ]]; then
@@ -24,9 +23,9 @@ SLOT="0"
 IUSE="udev"
 
 DEPEND="virtual/libusb:1"
-RDEPEND="${DEPEND}"
-PDEPEND="media-sound/sox
-	sys-apps/pv"
+RDEPEND="${DEPEND}
+		media-sound/sox
+		sys-apps/pv"
 
 # continguous memory allocator can optionally be used for zero-copy transfer
 # TODO: tell users to set CONFIG_CMA_SIZE_MBYTES or boot with cma=... parameter
@@ -41,12 +40,15 @@ src_configure() {
 	#https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
 	replace-flags -O0 -O2
 	replace-flags -Os -O2
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
 	if use udev; then
 		udev_newrules ${PN}.rules 99-${PN}.rules
 	fi
-	cmake-utils_src_install
+	cmake_src_install
+	# https://bugs.gentoo.org/727984
+	# No obvious way to prevent build
+	find "${ED}" -name libosmo-fl2k.a -delete
 }

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index 148e9614dedc..f8ab9250ade2 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit cmake-utils flag-o-matic linux-info udev
+inherit cmake flag-o-matic linux-info udev
 
 DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
-
 HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
 
 if [[ ${PV} == "9999" ]]; then
@@ -24,9 +23,9 @@ SLOT="0"
 IUSE="udev"
 
 DEPEND="virtual/libusb:1"
-RDEPEND="${DEPEND}"
-PDEPEND="media-sound/sox
-	sys-apps/pv"
+RDEPEND="${DEPEND}
+		media-sound/sox
+		sys-apps/pv"
 
 # continguous memory allocator can optionally be used for zero-copy transfer
 # TODO: tell users to set CONFIG_CMA_SIZE_MBYTES or boot with cma=... parameter
@@ -41,12 +40,15 @@ src_configure() {
 	#https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
 	replace-flags -O0 -O2
 	replace-flags -Os -O2
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
 	if use udev; then
 		udev_newrules ${PN}.rules 99-${PN}.rules
 	fi
-	cmake-utils_src_install
+	cmake_src_install
+	# https://bugs.gentoo.org/727984
+	# No obvious way to prevent build
+	find "${ED}" -name libosmo-fl2k.a -delete
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2023-02-22 16:35 Rick Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Rick Farina @ 2023-02-22 16:35 UTC (permalink / raw
  To: gentoo-commits

commit:     d5a04450ecadf8fc3ad62391444ddde974c87378
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 16:05:19 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 16:35:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a04450

net-wireless/osmo-fl2k: ebuild qa

add udev_reload

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index f8ab9250ade2..04d502092441 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -52,3 +52,11 @@ src_install() {
 	# No obvious way to prevent build
 	find "${ED}" -name libosmo-fl2k.a -delete
 }
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2023-12-20 20:47 Rick Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Rick Farina @ 2023-12-20 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     054fd7bf64a2ca122519a29c9844e322472eae78
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 20:46:44 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 20:47:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=054fd7bf

net-wireless/osmo-fl2k: drop 0.1.1-r1

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/osmo-fl2k/Manifest                  |  1 -
 net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild | 54 ------------------------
 2 files changed, 55 deletions(-)

diff --git a/net-wireless/osmo-fl2k/Manifest b/net-wireless/osmo-fl2k/Manifest
index 9ec521c5c58a..3f2bc0faa161 100644
--- a/net-wireless/osmo-fl2k/Manifest
+++ b/net-wireless/osmo-fl2k/Manifest
@@ -1,2 +1 @@
-DIST osmo-fl2k-0.1.1.tar.gz 68811 BLAKE2B 6c1b602b47d5e0816d93750e0470ed4530e587341f28e2e93c3aef634d7108b981cc4a96b758d72796316f15e4401ef746b91a983f374e63103ac76d8b7168c1 SHA512 55b384e18cfa5a1ab660860874cc6f6256b812ee867c863b6cd12c67cfc3517632469fc1ed6b83a35c956aa5371e1198634a52b292b109da828bee60c23f5140
 DIST osmo-fl2k-0.2.0.tar.gz 73276 BLAKE2B c15613ec0bdc3ec28a55892a893e0bc8fc397ab916f66bbc50a04c2ae12ef749e9c78906d66c3499c3d5cf5b711d7742cec8ca014099f4815e9690643922f4d7 SHA512 3b419869edecd3b64ec26212007be379154b93470305d3f125b4723bbbafc012eba32a414ebd84c5e0e9019a8079f4c1ddea7d0e6d108cc8628ce0e5e3e8755a

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild
deleted file mode 100644
index f8ab9250ade2..000000000000
--- a/net-wireless/osmo-fl2k/osmo-fl2k-0.1.1-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic linux-info udev
-
-DESCRIPTION="turns FL2000-based USB 3.0 to VGA adapters into low cost DACs"
-HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
-
-if [[ ${PV} == "9999" ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
-else
-	KEYWORDS="~amd64"
-	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-	S="${WORKDIR}/v${PV}"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-
-IUSE="udev"
-
-DEPEND="virtual/libusb:1"
-RDEPEND="${DEPEND}
-		media-sound/sox
-		sys-apps/pv"
-
-# continguous memory allocator can optionally be used for zero-copy transfer
-# TODO: tell users to set CONFIG_CMA_SIZE_MBYTES or boot with cma=... parameter
-CONFIG_CHECK="~CMA ~DMA_CMA"
-
-src_configure() {
-	# udev rules use wrong filename and would go to wrong directory anyway
-	local mycmakeargs=(
-		-DLIB_INSTALL_DIR="/usr/$(get_libdir)"
-		-DINSTALL_UDEV_RULES=OFF
-	)
-	#https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
-	replace-flags -O0 -O2
-	replace-flags -Os -O2
-	cmake_src_configure
-}
-
-src_install() {
-	if use udev; then
-		udev_newrules ${PN}.rules 99-${PN}.rules
-	fi
-	cmake_src_install
-	# https://bugs.gentoo.org/727984
-	# No obvious way to prevent build
-	find "${ED}" -name libosmo-fl2k.a -delete
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/
@ 2023-12-20 20:47 Rick Farina
  0 siblings, 0 replies; 9+ messages in thread
From: Rick Farina @ 2023-12-20 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     04f21bc5e9ab20d7ee579d4afda1dcd5723d9b72
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 20:45:22 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 20:47:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f21bc5

net-wireless/osmo-fl2k: add 0.2.0

Migrate to new upstream git service.
Closes: https://bugs.gentoo.org/861959
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/osmo-fl2k/Manifest                                     | 1 +
 .../osmo-fl2k/{osmo-fl2k-9999.ebuild => osmo-fl2k-0.2.0.ebuild}     | 6 +++---
 net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild                        | 6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/net-wireless/osmo-fl2k/Manifest b/net-wireless/osmo-fl2k/Manifest
index acd1b0033b76..9ec521c5c58a 100644
--- a/net-wireless/osmo-fl2k/Manifest
+++ b/net-wireless/osmo-fl2k/Manifest
@@ -1 +1,2 @@
 DIST osmo-fl2k-0.1.1.tar.gz 68811 BLAKE2B 6c1b602b47d5e0816d93750e0470ed4530e587341f28e2e93c3aef634d7108b981cc4a96b758d72796316f15e4401ef746b91a983f374e63103ac76d8b7168c1 SHA512 55b384e18cfa5a1ab660860874cc6f6256b812ee867c863b6cd12c67cfc3517632469fc1ed6b83a35c956aa5371e1198634a52b292b109da828bee60c23f5140
+DIST osmo-fl2k-0.2.0.tar.gz 73276 BLAKE2B c15613ec0bdc3ec28a55892a893e0bc8fc397ab916f66bbc50a04c2ae12ef749e9c78906d66c3499c3d5cf5b711d7742cec8ca014099f4815e9690643922f4d7 SHA512 3b419869edecd3b64ec26212007be379154b93470305d3f125b4723bbbafc012eba32a414ebd84c5e0e9019a8079f4c1ddea7d0e6d108cc8628ce0e5e3e8755a

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-0.2.0.ebuild
similarity index 88%
copy from net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
copy to net-wireless/osmo-fl2k/osmo-fl2k-0.2.0.ebuild
index 04d502092441..4f95c0da4bf9 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-0.2.0.ebuild
@@ -10,11 +10,11 @@ HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
 
 if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
+	EGIT_REPO_URI="https://gitea.osmocom.org/sdr/osmo-fl2k"
 else
 	KEYWORDS="~amd64"
-	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-	S="${WORKDIR}/v${PV}"
+	SRC_URI="https://gitea.osmocom.org/sdr/osmo-fl2k/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}"
 fi
 
 LICENSE="GPL-2+"

diff --git a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
index 04d502092441..4f95c0da4bf9 100644
--- a/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
+++ b/net-wireless/osmo-fl2k/osmo-fl2k-9999.ebuild
@@ -10,11 +10,11 @@ HOMEPAGE="https://osmocom.org/projects/osmo-fl2k/wiki"
 
 if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
-	EGIT_REPO_URI="https://git.osmocom.org/osmo-fl2k"
+	EGIT_REPO_URI="https://gitea.osmocom.org/sdr/osmo-fl2k"
 else
 	KEYWORDS="~amd64"
-	SRC_URI="https://git.osmocom.org/osmo-fl2k/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-	S="${WORKDIR}/v${PV}"
+	SRC_URI="https://gitea.osmocom.org/sdr/osmo-fl2k/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}"
 fi
 
 LICENSE="GPL-2+"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-12-20 20:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 20:47 [gentoo-commits] repo/gentoo:master commit in: net-wireless/osmo-fl2k/ Rick Farina
  -- strict thread matches above, loose matches on Subject: below --
2023-12-20 20:47 Rick Farina
2023-02-22 16:35 Rick Farina
2022-03-17  0:51 Rick Farina
2020-10-31 11:11 David Seifert
2018-06-28 16:15 Richard Farina
2018-05-21 14:17 Richard Farina
2018-05-18 20:15 Richard Farina
2018-05-07 15:27 Chí-Thanh Christopher Nguyễn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox