public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/sonic-snap/
@ 2017-06-24 21:51 Andreas Hüttel
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Hüttel @ 2017-06-24 21:51 UTC (permalink / raw
  To: gentoo-commits

commit:     29a55234feb2ae2715401aec95897deac26f5e93
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 24 21:51:22 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 21:51:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a55234

media-video/sonic-snap: EAPI bump, bug 605728

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-video/sonic-snap/sonic-snap-1.7-r1.ebuild | 69 +++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild b/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
new file mode 100644
index 00000000000..753cb9d0be3
--- /dev/null
+++ b/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils linux-info multilib toolchain-funcs
+
+DESCRIPTION="Webcam app for sn9c10x based camera controllers (with optional MPEG4 support)"
+HOMEPAGE="http://www.stolk.org/sonic-snap/"
+SRC_URI="http://www.stolk.org/${PN}/downloads/${P}.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="mpeg"
+
+DEPEND="
+	x11-libs/fltk:1
+	mpeg? ( >=media-libs/libfame-0.9.1 )
+	sys-libs/zlib
+	x11-libs/libXdmcp
+	x11-libs/libXau
+	x11-libs/libXrender
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXft
+"
+RDEPEND="${DEPEND}"
+
+CONFIG_CHECK="~USB_SN9C102"
+ERROR_USB_SN9C102="Please make sure the SN9C1xx PC Camera Controller driver is \
+enabled, under V4L USB devices, as a module in your kernel."
+
+src_prepare() {
+	# fix bad assumptions
+	sed -i \
+		-e "s|\$(HOME)/include|/usr/include|" \
+		-e "s|\$(HOME)/lib|/usr/$(get_libdir)|" \
+		-e "s|CFLAGS=|CFLAGS= ${CXXFLAGS} |" \
+		-e "s|LFLAGS=|LFLAGS= ${LDFLAGS} |" \
+		-e "s/g++-4.0 -O3/$(tc-getCXX)/" \
+		Makefile || die
+
+	use mpeg || sed -i -e "s?USE_FAME=1?USE_FAME=0?g" Makefile || die
+
+	default
+}
+
+src_compile() {
+	make || die '"make" failed.'
+}
+
+src_install() {
+	dodir /usr/bin
+	make DESTDIR="${D}" install || die '"make install" failed.'
+
+	dodoc ChangeLog README
+	doman debian/sonic-snap.1
+}
+
+pkg_postinst() {
+	elog
+	elog "This driver is V4L v2 only, so V4L v1 apps will not work."
+	elog "Finally, only a few image sensors are supported, eg, PAS106B"
+	elog "so (check dmesg or /var/log/messages for USB device info when"
+	elog "you plug the cam in)."
+	elog
+	elog "Now try sonic-snap-gui /dev/videoX (where X is 0, 1 , etc)."
+	elog
+}


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

* [gentoo-commits] repo/gentoo:master commit in: media-video/sonic-snap/
@ 2017-12-02 13:03 David Seifert
  0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2017-12-02 13:03 UTC (permalink / raw
  To: gentoo-commits

commit:     05b127d93814b63cafc1d82a1234f06ec8b1aefc
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Fri Dec  1 19:25:21 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 13:02:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b127d9

media-video/sonic-snap: Remove old (EAPI3)

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-video/sonic-snap/sonic-snap-1.7.ebuild | 65 ----------------------------
 1 file changed, 65 deletions(-)

diff --git a/media-video/sonic-snap/sonic-snap-1.7.ebuild b/media-video/sonic-snap/sonic-snap-1.7.ebuild
deleted file mode 100644
index 48a5f418008..00000000000
--- a/media-video/sonic-snap/sonic-snap-1.7.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="3"
-inherit eutils linux-info multilib toolchain-funcs
-
-DESCRIPTION="Webcam app for sn9c10x based camera controllers (with optional MPEG4 support)"
-HOMEPAGE="http://www.stolk.org/sonic-snap/"
-SRC_URI="http://www.stolk.org/${PN}/downloads/${P}.tar.gz"
-
-LICENSE="GPL-1"
-SLOT="0"
-KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="mpeg"
-
-DEPEND="x11-libs/fltk:1
-	mpeg? ( >=media-libs/libfame-0.9.1 )
-	sys-libs/zlib
-	x11-libs/libXdmcp
-	x11-libs/libXau
-	x11-libs/libXrender
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXft"
-
-CONFIG_CHECK="~USB_SN9C102"
-ERROR_USB_SN9C102="Please make sure the SN9C1xx PC Camera Controller driver is \
-enabled, under V4L USB devices, as a module in your kernel."
-
-src_prepare() {
-	# fix bad assumptions
-	sed -i \
-		-e "s|\$(HOME)/include|/usr/include|" \
-		-e "s|\$(HOME)/lib|/usr/$(get_libdir)|" \
-		-e "s|CFLAGS=|CFLAGS= ${CXXFLAGS} |" \
-		-e "s|LFLAGS=|LFLAGS= ${LDFLAGS} |" \
-		-e "s/g++-4.0 -O3/$(tc-getCXX)/" \
-		Makefile
-
-	use mpeg || sed -i -e "s?USE_FAME=1?USE_FAME=0?g" Makefile
-}
-
-src_compile() {
-	make || die '"make" failed.'
-}
-
-src_install() {
-	dodir /usr/bin
-	make DESTDIR="${D}" install || die '"make install" failed.'
-
-	dodoc ChangeLog README
-	doman debian/sonic-snap.1
-}
-
-pkg_postinst() {
-
-	elog
-	elog "This driver is V4L v2 only, so V4L v1 apps will not work."
-	elog "Finally, only a few image sensors are supported, eg, PAS106B"
-	elog "so (check dmesg or /var/log/messages for USB device info when"
-	elog "you plug the cam in)."
-	elog
-	elog "Now try sonic-snap-gui /dev/videoX (where X is 0, 1 , etc)."
-	elog
-}


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

* [gentoo-commits] repo/gentoo:master commit in: media-video/sonic-snap/
@ 2022-03-10 21:12 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-03-10 21:12 UTC (permalink / raw
  To: gentoo-commits

commit:     853cbb8559035f52752765cead290ad2015ed02d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 05:19:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 21:10:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=853cbb85

media-video/sonic-snap: [QA] fix UnusedInherits (multilib)

get_libdir has been built-in since EAPI 6

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/sonic-snap/sonic-snap-1.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild b/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
index 58e5b52ded2a..aa33db7cb88a 100644
--- a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
+++ b/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit linux-info multilib toolchain-funcs
+inherit linux-info toolchain-funcs
 
 DESCRIPTION="Webcam app for sn9c10x based camera controllers (with optional MPEG4 support)"
 HOMEPAGE="http://www.stolk.org/sonic-snap/"


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

* [gentoo-commits] repo/gentoo:master commit in: media-video/sonic-snap/
@ 2023-12-24 23:07 Conrad Kostecki
  0 siblings, 0 replies; 4+ messages in thread
From: Conrad Kostecki @ 2023-12-24 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e96682a05e747f4442d9e896981d5cde11c8e7f6
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Dec 22 17:54:54 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 23:06:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96682a0

media-video/sonic-snap: EAPI8, fix #453456,#740520

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/453456
Closes: https://bugs.gentoo.org/740520
Closes: https://github.com/gentoo/gentoo/pull/34425
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-video/sonic-snap/sonic-snap-1.7-r1.ebuild | 28 +++++++++++--------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild b/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
index aa33db7cb88a..0d703945f44d 100644
--- a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
+++ b/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
 inherit linux-info toolchain-funcs
 
 DESCRIPTION="Webcam app for sn9c10x based camera controllers (with optional MPEG4 support)"
-HOMEPAGE="http://www.stolk.org/sonic-snap/"
-SRC_URI="http://www.stolk.org/${PN}/downloads/${P}.tar.gz"
+HOMEPAGE="https://www.stolk.org/sonic-snap/"
+SRC_URI="https://www.stolk.org/${PN}/downloads/${P}.tar.gz"
 
 LICENSE="GPL-1"
 SLOT="0"
@@ -14,15 +15,15 @@ KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="mpeg"
 
 DEPEND="
-	x11-libs/fltk:1
-	mpeg? ( >=media-libs/libfame-0.9.1 )
 	sys-libs/zlib
-	x11-libs/libXdmcp
-	x11-libs/libXau
-	x11-libs/libXrender
+	x11-libs/fltk:1
 	x11-libs/libX11
+	x11-libs/libXau
+	x11-libs/libXdmcp
 	x11-libs/libXext
 	x11-libs/libXft
+	x11-libs/libXrender
+	mpeg? ( >=media-libs/libfame-0.9.1 )
 "
 RDEPEND="${DEPEND}"
 
@@ -37,6 +38,7 @@ src_prepare() {
 		-e "s|\$(HOME)/lib|/usr/$(get_libdir)|" \
 		-e "s|CFLAGS=|CFLAGS= ${CXXFLAGS} |" \
 		-e "s|LFLAGS=|LFLAGS= ${LDFLAGS} |" \
+		-e "s|g++-4.0 -O3 -o|$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o|" \
 		-e "s/g++-4.0 -O3/$(tc-getCXX)/" \
 		Makefile || die
 
@@ -45,15 +47,9 @@ src_prepare() {
 	default
 }
 
-src_compile() {
-	make || die '"make" failed.'
-}
-
 src_install() {
 	dodir /usr/bin
-	make DESTDIR="${D}" install || die '"make install" failed.'
-
-	dodoc ChangeLog README
+	default
 	doman debian/sonic-snap.1
 }
 


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

end of thread, other threads:[~2023-12-24 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-10 21:12 [gentoo-commits] repo/gentoo:master commit in: media-video/sonic-snap/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2023-12-24 23:07 Conrad Kostecki
2017-12-02 13:03 David Seifert
2017-06-24 21:51 Andreas Hüttel

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