This repository was archived by the owner on Mar 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from jtojnar/version
Use version declared in configure.ac
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
dnl Process this file with autoconf to produce a configure script. | ||
|
||
m4_define([plugin_version_major], [1]) | ||
m4_define([plugin_version_minor], [12]) | ||
m4_define([plugin_version], [plugin_version_major.plugin_version_minor]) | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([deadbeef-mpris2-plugin], [1.11], [[email protected]], [DeaDBeeF MPRIS2 Plugin], [https://github.com/Serranya/deadbeef-mpris2-plugin]) | ||
AC_INIT([deadbeef-mpris2-plugin], [plugin_version], [[email protected]], [DeaDBeeF MPRIS2 Plugin], [https://github.com/Serranya/deadbeef-mpris2-plugin]) | ||
AC_CONFIG_SRCDIR([src/mpris.c]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
|
@@ -18,6 +22,11 @@ AC_PROG_INSTALL | |
AC_PROG_LIBTOOL | ||
PKG_PROG_PKG_CONFIG | ||
|
||
AC_DEFINE(PLUGIN_VERSION_MAJOR, [plugin_version_major], | ||
[Define to the plug-in major version]) | ||
AC_DEFINE(PLUGIN_VERSION_MINOR, [plugin_version_minor], | ||
[Define to the plug-in minor version]) | ||
|
||
LT_INIT | ||
|
||
PKG_CHECK_MODULES([GLIB_DEPS], [glib-2.0], , AC_MSG_ERROR([glibc-2 is required for this package])) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters