--- /dev/null
+# ChangeLog for dev-db/sqlitebrowser
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlitebrowser/ChangeLog,v 1.1 2006/12/18 14:19:57 drizzt Exp $
+
+*sqlitebrowser-1.3 (18 Dec 2006)
+
+ 18 Dec 2006; Timothy Redaelli <drizzt@gentoo.org>
+ +files/sqlitebrowser-1.3-externalsqlite.patch, +metadata.xml,
+ +sqlitebrowser-1.3.ebuild:
+ Initial commit wrt bug #96124.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX sqlitebrowser-1.3-externalsqlite.patch 1452 RMD160 6899b48e6a94d65971adc003406586a5f76a52cd SHA1 41ae256f437388398c80ad5190f98918c2e653fc SHA256 0f469eef5570659f4bd92ccedd9d111b0e1b4c24a2ffc876a6a09a6475ecffdc
+MD5 cddd3e9cac1b89e9376ac1b3bbb3d94a files/sqlitebrowser-1.3-externalsqlite.patch 1452
+RMD160 6899b48e6a94d65971adc003406586a5f76a52cd files/sqlitebrowser-1.3-externalsqlite.patch 1452
+SHA256 0f469eef5570659f4bd92ccedd9d111b0e1b4c24a2ffc876a6a09a6475ecffdc files/sqlitebrowser-1.3-externalsqlite.patch 1452
+DIST sqlitebrowser-1.3-src.tar.gz 563588 RMD160 884330dd595ec091f1aab885cb845dd19adeb189 SHA1 5defc7965e352bcaf8c763b76b2cfe11360b68f9 SHA256 10298d6ec7a615b856b11d89715c32ee7cd9076cfde81a3bef5e7cb0bf9d12d0
+EBUILD sqlitebrowser-1.3.ebuild 851 RMD160 45fc944d87bf901c620eec3ef4a42eb6dffff26b SHA1 1b451db1aa8ded6eb6c3cf18b39b099676602b28 SHA256 0d3778418469f093905003eaa9449cd454a1d5b1868580899cae4456ae09ab9b
+MD5 97aaebf1989e622acbbf4f73b0a6f975 sqlitebrowser-1.3.ebuild 851
+RMD160 45fc944d87bf901c620eec3ef4a42eb6dffff26b sqlitebrowser-1.3.ebuild 851
+SHA256 0d3778418469f093905003eaa9449cd454a1d5b1868580899cae4456ae09ab9b sqlitebrowser-1.3.ebuild 851
+MISC ChangeLog 426 RMD160 99ef0348245dbf080f79fde850bd22fbf69c2c75 SHA1 516cc777fada5151403da9b7c44a35d6c917b294 SHA256 33db6c0bc3e77aef305bfff52002f4686f22fdef733c8794571044678f1c9dd9
+MD5 7d3a64116fecfef0d8643265e10352cd ChangeLog 426
+RMD160 99ef0348245dbf080f79fde850bd22fbf69c2c75 ChangeLog 426
+SHA256 33db6c0bc3e77aef305bfff52002f4686f22fdef733c8794571044678f1c9dd9 ChangeLog 426
+MISC metadata.xml 614 RMD160 594074d057fe056dae2ae5fbf97cd926d5e2323d SHA1 19ce6ed83bc4ae5e358077f01af7caa309597c1d SHA256 d74930fd6877278736c1692a0cfd70bf9ff1918fe0a9762505d52f7026a85283
+MD5 a4971c4f5438fd44bb38f5975362d66d metadata.xml 614
+RMD160 594074d057fe056dae2ae5fbf97cd926d5e2323d metadata.xml 614
+SHA256 d74930fd6877278736c1692a0cfd70bf9ff1918fe0a9762505d52f7026a85283 metadata.xml 614
+MD5 10a197dc425758589129394d69708d2e files/digest-sqlitebrowser-1.3 265
+RMD160 bc24c479ef5564ca2abf13cc43222fbeeba3ae7e files/digest-sqlitebrowser-1.3 265
+SHA256 7c3c85b135a4d50e043ca8d9f12ce2e5482336f9ee478772f11fade3b4118576 files/digest-sqlitebrowser-1.3 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFhqOWGDyatLGpTbYRAiljAJ9vN54vwhwPy095wvDcjfG48xubdwCeJUg8
+o/EM/pVSSaHBIbsJin9iiHY=
+=k002
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 d4dc8c6a95d5f005e493f3a5a2a10491 sqlitebrowser-1.3-src.tar.gz 563588
+RMD160 884330dd595ec091f1aab885cb845dd19adeb189 sqlitebrowser-1.3-src.tar.gz 563588
+SHA256 10298d6ec7a615b856b11d89715c32ee7cd9076cfde81a3bef5e7cb0bf9d12d0 sqlitebrowser-1.3-src.tar.gz 563588
--- /dev/null
+diff -ur sqlbrowser_util.c sqlbrowser_util.c
+--- sqlbrowser_util.c 2006-12-18 14:42:33.000000000 +0100
++++ sqlbrowser_util.c 2006-12-18 14:44:28.000000000 +0100
+@@ -1,10 +1,9 @@
+ #include "sqlbrowser_util.h"
+-#include "sqlite_source/sqlite3.h"
++#include <sqlite3.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+
+-#include "sqlite_source/sqliteInt.h"
+
+ /*following routines extracted from shell.c for dump support*/
+
+diff -ur sqlbrowser_util.h sqlbrowser_util.h
+--- sqlbrowser_util.h 2006-12-18 14:46:34.000000000 +0100
++++ sqlbrowser_util.h 2006-12-18 14:45:58.000000000 +0100
+@@ -6,7 +6,7 @@
+ #endif
+
+ #include <ctype.h>
+-#include "sqlite_source/sqlite3.h"
++#include <sqlite3.h>
+ #include <stdio.h>
+
+
+diff -ur sqlitebrowser.pro sqlitebrowser.pro
+--- sqlitebrowser.pro 2006-12-18 14:42:33.000000000 +0100
++++ sqlitebrowser.pro 2006-12-18 14:43:57.000000000 +0100
+@@ -47,7 +47,7 @@
+ UI_DIR = .ui
+ MOC_DIR = .moc
+ OBJECTS_DIR = .obj
+- LIBS += ./sqlite_source/libsqlite_source.a
++ LIBS += -lsqlite3
+ }
+ win32 {
+ RC_FILE = winapp.rc
+diff -ur sqlitedb.h sqlitedb.h
+--- sqlitedb.h 2006-12-18 14:46:34.000000000 +0100
++++ sqlitedb.h 2006-12-18 14:46:22.000000000 +0100
+@@ -7,7 +7,7 @@
+ #include <qvaluelist.h>
+ #include <qobject.h>
+ #include "sqllogform.h"
+-#include "sqlite_source/sqlite3.h"
++#include <sqlite3.h>
+ #include "sqlitebrowsertypes.h"
+ /*#include "sqlite_source/sqlxtra_util.h"
+ #include "sqlite_source/encode.h"
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>drizzt@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+SQLite Database Browser is a freeware, public domain, open source visual tool
+used to create, design and edit database files compatible with SQLite. It is
+meant to be used for users and developers that want to create databases, edit
+and search data using a familiar spreadsheet-like interface, without the need to
+learn complicated SQL commands.
+</longdescription>
+</pkgmetadata>
+
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlitebrowser/sqlitebrowser-1.3.ebuild,v 1.1 2006/12/18 14:19:57 drizzt Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="SQLite Database Browser"
+HOMEPAGE="http://sqlitebrowser.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sqlitebrowser/${P}-src.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="=dev-db/sqlite-3*
+ $(qt_min_version 3.12)"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -r sqlite_source
+
+ sed -i 's/\r/\n/g' *.{cpp,h}
+ epatch "${FILESDIR}"/${P}-externalsqlite.patch
+}
+
+src_compile() {
+ qmake ${PN}.pro || die "qmake failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin sqlitebrowser || die "installing failed"
+}