--- /dev/null
+# ...
+
+EAPI="3"
+
+EGIT_REPO_URI="http://aptx.org/git/localmylist.git"
+EXPERIMENTAL="true"
+
+inherit git-2 qt4-r2
+
+DESCRIPTION="LocalMyList library"
+HOMEPAGE="http://aptx.org/gitweb/?p=localmylist.git;a=summary"
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="gui tools debug"
+
+# x11-libs/libqxt depends on gui/X even though it is not requird nor needed for this ebuild
+DEPEND="
+ >=x11-libs/qt-core-4.7
+ >=x11-libs/qt-sql-4.7[postgres]
+ >=app-anidbudpclient/anidbudpclient-9999
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ git-2_src_unpack
+}
+
+src_prepare() {
+ qt4-r2_src_prepare
+
+ if ! use gui ; then
+ echo "CONFIG+=nogui" >> ${S}/config.pri || die "Failed writing config.pri"
+ fi
+ if ! use tools ; then
+ echo "CONFIG+=notools" >> ${S}/config.pri || die "Failed writing config.pri"
+ fi
+
+ # Fix convenience header paths
+ find ${S}/include/ -type f | xargs sed -i 's,../../,,'
+}
+
+src_configure() {
+ eqmake4 -recursive
+}
+
+src_install() {
+ qt4-r2_src_install
+}