Added megapixels
This commit is contained in:
		
							
								
								
									
										1
									
								
								media-video/megapixels/Manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								media-video/megapixels/Manifest
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					DIST megapixels-1.1.0.tar.gz 81513 BLAKE2B f7cd70532c69d0d9378dcb78e1e4d23749b858c9ac518e57d588d2a0ae5111a9f6d7c98021d4efe9dc14d7f37732fa74d324607afaab7181e4f0f319c1ff0be2 SHA512 bdad1e5e7124057d8fccef327ea0e0f27c0385990aa56c1bd254112f833d4608afc893cc881a7e3488285b590e52e76b72c5c2f9e3f825a13bd1d3cd4bd1d684
 | 
				
			||||||
							
								
								
									
										25
									
								
								media-video/megapixels/files/fix-preview-color.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								media-video/megapixels/files/fix-preview-color.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					From 055ff6e2669715550552206b4614832dc66eeb25 Mon Sep 17 00:00:00 2001
 | 
				
			||||||
 | 
					From: Benjamin Schaaf <ben.schaaf@gmail.com>
 | 
				
			||||||
 | 
					Date: Tue, 4 May 2021 23:40:45 +1000
 | 
				
			||||||
 | 
					Subject: [PATCH] Fix preview color
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					 data/debayer.frag | 2 +-
 | 
				
			||||||
 | 
					 1 file changed, 1 insertion(+), 1 deletion(-)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					diff --git a/data/debayer.frag b/data/debayer.frag
 | 
				
			||||||
 | 
					index 9a98c10..4244c2f 100644
 | 
				
			||||||
 | 
					--- a/data/debayer.frag
 | 
				
			||||||
 | 
					+++ b/data/debayer.frag
 | 
				
			||||||
 | 
					@@ -22,7 +22,7 @@ void main() {
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 	// Assume BGGR for now. Currently this just takes 3 of the four samples
 | 
				
			||||||
 | 
					 	// for each pixel, there's room here to do some better debayering.
 | 
				
			||||||
 | 
					-	vec3 color = vec3(samples.w, (samples.y + samples.w) / 2.0, samples.x);
 | 
				
			||||||
 | 
					+	vec3 color = vec3(samples.w, (samples.y + samples.z) / 2.0, samples.x);
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 	// Fast SRGB estimate. See https://mimosa-pudica.net/fast-gamma/
 | 
				
			||||||
 | 
					 	vec3 srgb_color = (vec3(1.138) * inversesqrt(color) - vec3(0.138)) * color;
 | 
				
			||||||
 | 
					-- 
 | 
				
			||||||
 | 
					2.30.2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										32
									
								
								media-video/megapixels/megapixels-1.1.0.ebuild
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								media-video/megapixels/megapixels-1.1.0.ebuild
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					# Copyright 1999-2021 Gentoo Authors
 | 
				
			||||||
 | 
					# Distributed under the terms of the GNU General Public License v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					EAPI=7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					inherit gnome2-utils meson xdg
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DESCRIPTION="A GTK3 camera application that knows how to deal with the media request api"
 | 
				
			||||||
 | 
					HOMEPAGE="https://git.sr.ht/~martijnbraam/megapixels"
 | 
				
			||||||
 | 
					SRC_URI="https://git.sr.ht/~martijnbraam/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LICENSE="GPL-3"
 | 
				
			||||||
 | 
					SLOT="0"
 | 
				
			||||||
 | 
					KEYWORDS="~amd64 ~arm64"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RDEPEND="
 | 
				
			||||||
 | 
						gui-libs/gtk
 | 
				
			||||||
 | 
						media-libs/tiff
 | 
				
			||||||
 | 
						media-gfx/zbar
 | 
				
			||||||
 | 
						media-libs/libepoxy
 | 
				
			||||||
 | 
						media-libs/libraw
 | 
				
			||||||
 | 
					"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pkg_postinst() {
 | 
				
			||||||
 | 
						xdg_pkg_postinst
 | 
				
			||||||
 | 
						gnome2_schemas_update
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pkg_postrm() {
 | 
				
			||||||
 | 
						xdg_pkg_postrm
 | 
				
			||||||
 | 
						gnome2_schemas_update
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										8
									
								
								media-video/megapixels/metadata.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								media-video/megapixels/metadata.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					<?xml version='1.0' encoding='UTF-8'?>
 | 
				
			||||||
 | 
					<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 | 
				
			||||||
 | 
					<pkgmetadata>
 | 
				
			||||||
 | 
						<maintainer type="person">
 | 
				
			||||||
 | 
							<email>marco@scardovi.com</email>
 | 
				
			||||||
 | 
							<name>Marco Scardovi</name>
 | 
				
			||||||
 | 
						</maintainer>
 | 
				
			||||||
 | 
					</pkgmetadata>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user