Skip to content

Commit

Permalink
linux/gentoo: update ebuilds to work with memento latest
Browse files Browse the repository at this point in the history
Make MeCab a use flag as well.
  • Loading branch information
ripose-jp committed Jul 2, 2024
1 parent a3a010d commit bd83099
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,28 @@ S="${WORKDIR}/Memento-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="mecab"

DEPEND="
dev-libs/libzip
app-text/mecab
app-dicts/mecab-ipadic
mecab? ( app-text/mecab )
mecab? ( app-dicts/mecab-ipadic )
dev-db/sqlite
media-video/mpv:=[libmpv]
dev-libs/json-c
>=dev-qt/qtcore-5.15.0:5
>=dev-qt/qtopengl-5.15.0:5
>=dev-qt/qtgui-5.15.0:5
>=dev-qt/qtx11extras-5.15.0:5
>=dev-qt/qtsvg-5.15.0:5
>=dev-qt/qtnetwork-5.15.0:5
>=dev-qt/qtdbus-5.15.0:5
>=dev-qt/qtconcurrent-5.15.0:5"
>=dev-qt/qtbase-6.7.0:6"
RDEPEND="
${DEPEND}
media-fonts/noto-cjk"
BDEPEND="
>=dev-util/cmake-3.14.0"
>=dev-build/cmake-3.15.0"

src_configure()
{
local mycmakeargs=(
"-DBUILD_SHARED_LIBS=OFF"
"-DRELEASE_BUILD=ON"
"-DMECAB_SUPPORT=$(use mecab && echo ON || echo OFF)"
)
cmake_src_configure
}
17 changes: 6 additions & 11 deletions linux/gentoo/memento-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,27 @@ EGIT_REPO_URI="https://github.com/ripose-jp/Memento.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="mecab"

DEPEND="
dev-libs/libzip
app-text/mecab
app-dicts/mecab-ipadic
mecab? ( app-text/mecab )
mecab? ( app-dicts/mecab-ipadic )
dev-db/sqlite
media-video/mpv:=[libmpv]
dev-libs/json-c
>=dev-qt/qtcore-5.15.0:5
>=dev-qt/qtopengl-5.15.0:5
>=dev-qt/qtgui-5.15.0:5
>=dev-qt/qtx11extras-5.15.0:5
>=dev-qt/qtsvg-5.15.0:5
>=dev-qt/qtnetwork-5.15.0:5
>=dev-qt/qtdbus-5.15.0:5
>=dev-qt/qtconcurrent-5.15.0:5"
>=dev-qt/qtbase-6.7.0:6"
RDEPEND="
${DEPEND}
media-fonts/noto-cjk"
BDEPEND="
>=dev-util/cmake-3.15.0"
>=dev-build/cmake-3.15.0"

src_configure()
{
local mycmakeargs=(
"-DBUILD_SHARED_LIBS=OFF"
"-DMECAB_SUPPORT=$(use mecab && echo ON || echo OFF)"
)
cmake_src_configure
}

0 comments on commit bd83099

Please sign in to comment.