Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Personal Overlay
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Canek Peláez Valdés
Personal Overlay
Commits
8283489c
Commit
8283489c
authored
6 years ago
by
Canek Peláez Valdés
Browse files
Options
Downloads
Patches
Plain Diff
media-sound/mlm: Use meson.eclass.
parent
eed2aab5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
media-sound/mlm/mlm-9999.ebuild
+13
-30
13 additions, 30 deletions
media-sound/mlm/mlm-9999.ebuild
with
13 additions
and
30 deletions
media-sound/mlm/mlm-9999.ebuild
+
13
−
30
View file @
8283489c
# Copyright 2013 Canek Peláez
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI
=
"5"
GCONF_DEBUG
=
"no"
EAPI
=
6
VALA_MIN_API_VERSION
=
${
VALA_MIN_API_VERSION
:-
0
.32
}
VALA_MAX_API_VERSION
=
${
VALA_MAX_API_VERSION
:-
0
.34
}
inherit g
nome2-utils git-r3 ninja-utils
vala
inherit g
it-r3 gnome2-utils meson
vala
DESCRIPTION
=
"Music Library Maintainer"
HOMEPAGE
=
"https://aztlan.fciencias.unam.mx/gitlab/canek/mlm"
...
...
@@ -26,48 +24,33 @@ RDEPEND="
dev-libs/libgee:0.8
>=media-libs/libid3tag-0.15
"
DEPEND
=
"
${
RDEPEND
}
DEPEND
=
"
${
RDEPEND
}
$(
vala_depend
)
sys-devel/m4
sys-devel/m4
"
src_configure
()
{
# Common args
local
mesonargs
=(
--buildtype
plain
--libdir
"
$(
get_libdir
)
"
--localstatedir
"
${
EPREFIX
}
/var/lib"
--prefix
"
${
EPREFIX
}
/usr"
--sysconfdir
"
${
EPREFIX
}
/etc"
)
BUILD_DIR
=
"
${
BUILD_DIR
:-${
WORKDIR
}
/
${
P
}
-build
}
"
set
--
meson
"
${
mesonargs
[@]
}
"
"
$@
"
\
"
${
EMESON_SOURCE
:-${
S
}}
"
"
${
BUILD_DIR
}
"
echo
"
$@
"
"
$@
"
||
die
src_prepare
()
{
default
vala_src_prepare
}
src_co
mpil
e
()
{
eninja
-C
"
${
BUILD_DIR
}
"
src_co
nfigur
e
()
{
meson_src_configure
}
src_install
()
{
DESTDIR
=
"
${
D
}
"
eninja
-C
"
${
BUILD_DIR
}
"
install
einstalldocs
meson_src_install
}
pkg_preinst
()
{
gnome2_icon_savelist
gnome2_schemas_savelist
}
pkg_postinst
()
{
gnome2_icon_cache_update
gnome2_schemas_update
xdg_desktop_database_update
}
pkg_postrm
()
{
gnome2_icon_cache_update
gnome2_schemas_update
xdg_desktop_database_update
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment